FreeBSD/Linux Kernel Cross Reference
sys/dev/spibus/spi.h
1 /* $FreeBSD: releng/10.1/sys/dev/spibus/spi.h 239626 2012-08-23 22:38:37Z imp $ */
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: 97728969da6cf362637d01c8b01be613
|