xref: /linux-6.15/include/linux/spi/sh_msiof.h (revision d19cd4bb)
1 #ifndef __SPI_SH_MSIOF_H__
2 #define __SPI_SH_MSIOF_H__
3 
4 enum {
5 	MSIOF_SPI_MASTER,
6 	MSIOF_SPI_SLAVE,
7 };
8 
9 struct sh_msiof_spi_info {
10 	int tx_fifo_override;
11 	int rx_fifo_override;
12 	u16 num_chipselect;
13 	int mode;
14 	unsigned int dma_tx_id;
15 	unsigned int dma_rx_id;
16 	u32 dtdl;
17 	u32 syncdl;
18 };
19 
20 #endif /* __SPI_SH_MSIOF_H__ */
21