mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
357 B
21 lines
357 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#ifndef __SPI_SH_MSIOF_H__ |
|
#define __SPI_SH_MSIOF_H__ |
|
|
|
enum { |
|
MSIOF_SPI_MASTER, |
|
MSIOF_SPI_SLAVE, |
|
}; |
|
|
|
struct sh_msiof_spi_info { |
|
int tx_fifo_override; |
|
int rx_fifo_override; |
|
u16 num_chipselect; |
|
int mode; |
|
unsigned int dma_tx_id; |
|
unsigned int dma_rx_id; |
|
u32 dtdl; |
|
u32 syncdl; |
|
}; |
|
|
|
#endif /* __SPI_SH_MSIOF_H__ */
|
|
|