]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
8051effc MD |
2 | #ifndef __SPI_SH_MSIOF_H__ |
3 | #define __SPI_SH_MSIOF_H__ | |
4 | ||
cf9e4784 HN |
5 | enum { |
6 | MSIOF_SPI_MASTER, | |
7 | MSIOF_SPI_SLAVE, | |
8 | }; | |
9 | ||
8051effc MD |
10 | struct sh_msiof_spi_info { |
11 | int tx_fifo_override; | |
12 | int rx_fifo_override; | |
13 | u16 num_chipselect; | |
cf9e4784 | 14 | int mode; |
b0d0ce8b GU |
15 | unsigned int dma_tx_id; |
16 | unsigned int dma_rx_id; | |
3110628d YS |
17 | u32 dtdl; |
18 | u32 syncdl; | |
8051effc MD |
19 | }; |
20 | ||
21 | #endif /* __SPI_SH_MSIOF_H__ */ |