]> asedeno.scripts.mit.edu Git - linux.git/blob - include/linux/spi/sh_msiof.h
Merge branch 'parisc-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux.git] / include / linux / spi / sh_msiof.h
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_MASTER,
7         MSIOF_SPI_SLAVE,
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__ */