Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __SPI_SH_MSIOF_H__
0003 #define __SPI_SH_MSIOF_H__
0004 
0005 enum {
0006     MSIOF_SPI_MASTER,
0007     MSIOF_SPI_SLAVE,
0008 };
0009 
0010 struct sh_msiof_spi_info {
0011     int tx_fifo_override;
0012     int rx_fifo_override;
0013     u16 num_chipselect;
0014     int mode;
0015     unsigned int dma_tx_id;
0016     unsigned int dma_rx_id;
0017     u32 dtdl;
0018     u32 syncdl;
0019 };
0020 
0021 #endif /* __SPI_SH_MSIOF_H__ */