FreeBSD/Linux Kernel Cross Reference
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) */
Cache object: 9cd15267189f7945a117253d63c284d6
|