Searched refs:SPI_IOC_MAGIC (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/include/linux/spi/ |
D | spidev.h | 50 #define SPI_IOC_MAGIC 'k' macro 110 #define SPI_IOC_MESSAGE(N) _IOW(SPI_IOC_MAGIC, 0, char[SPI_MSGSIZE(N)]) 114 #define SPI_IOC_RD_MODE _IOR(SPI_IOC_MAGIC, 1, __u8) 115 #define SPI_IOC_WR_MODE _IOW(SPI_IOC_MAGIC, 1, __u8) 118 #define SPI_IOC_RD_LSB_FIRST _IOR(SPI_IOC_MAGIC, 2, __u8) 119 #define SPI_IOC_WR_LSB_FIRST _IOW(SPI_IOC_MAGIC, 2, __u8) 122 #define SPI_IOC_RD_BITS_PER_WORD _IOR(SPI_IOC_MAGIC, 3, __u8) 123 #define SPI_IOC_WR_BITS_PER_WORD _IOW(SPI_IOC_MAGIC, 3, __u8) 126 #define SPI_IOC_RD_MAX_SPEED_HZ _IOR(SPI_IOC_MAGIC, 4, __u32) 127 #define SPI_IOC_WR_MAX_SPEED_HZ _IOW(SPI_IOC_MAGIC, 4, __u32)
|
/linux-3.4.99/drivers/spi/ |
D | spidev.c | 319 if (_IOC_TYPE(cmd) != SPI_IOC_MAGIC) in spidev_ioctl()
|