]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/dev/spibus/spi.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / dev / spibus / spi.h
1 /* $FreeBSD$ */
2
3 struct spi_command {
4         void    *tx_cmd;
5         uint32_t tx_cmd_sz;
6         void    *rx_cmd;
7         uint32_t rx_cmd_sz;
8         void    *tx_data;
9         uint32_t tx_data_sz;
10         void    *rx_data;
11         uint32_t rx_data_sz;
12 };
13
14 #define SPI_CHIP_SELECT_HIGH    0x1             /* Chip select high (else low) */