1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __SPI_SH_MSIOF_H__ 3 #define __SPI_SH_MSIOF_H__ 4 5 enum { 6 MSIOF_SPI_HOST, 7 MSIOF_SPI_TARGET, 8 }; 9 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; 19 }; 20 21 #endif /* __SPI_SH_MSIOF_H__ */ 22