Linux 4.19-rc7
[linux-2.6/btrfs-unstable.git] / include / linux / spi / sh_msiof.h
blobdc2a0cbd210df085bdc53f8ebdc54bfc20da677c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __SPI_SH_MSIOF_H__
3 #define __SPI_SH_MSIOF_H__
5 enum {
6 MSIOF_SPI_MASTER,
7 MSIOF_SPI_SLAVE,
8 };
10 struct sh_msiof_spi_info {
11 int tx_fifo_override;
12 int rx_fifo_override;
13 u16 num_chipselect;
14 int mode;
15 unsigned int dma_tx_id;
16 unsigned int dma_rx_id;
17 u32 dtdl;
18 u32 syncdl;
21 #endif /* __SPI_SH_MSIOF_H__ */