Home
last modified time | relevance | path

Searched refs:SPI_IOC_MAGIC (Results 1 – 2 of 2) sorted by relevance

/external/kernel-headers/original/uapi/linux/spi/
Dspidev.h32 #define SPI_IOC_MAGIC 'k' macro
98 #define SPI_IOC_MESSAGE(N) _IOW(SPI_IOC_MAGIC, 0, char[SPI_MSGSIZE(N)])
102 #define SPI_IOC_RD_MODE _IOR(SPI_IOC_MAGIC, 1, __u8)
103 #define SPI_IOC_WR_MODE _IOW(SPI_IOC_MAGIC, 1, __u8)
106 #define SPI_IOC_RD_LSB_FIRST _IOR(SPI_IOC_MAGIC, 2, __u8)
107 #define SPI_IOC_WR_LSB_FIRST _IOW(SPI_IOC_MAGIC, 2, __u8)
110 #define SPI_IOC_RD_BITS_PER_WORD _IOR(SPI_IOC_MAGIC, 3, __u8)
111 #define SPI_IOC_WR_BITS_PER_WORD _IOW(SPI_IOC_MAGIC, 3, __u8)
114 #define SPI_IOC_RD_MAX_SPEED_HZ _IOR(SPI_IOC_MAGIC, 4, __u32)
115 #define SPI_IOC_WR_MAX_SPEED_HZ _IOW(SPI_IOC_MAGIC, 4, __u32)
[all …]
/external/rust/crates/nix/test/sys/
Dtest_ioctl.rs17 const SPI_IOC_MAGIC: u8 = b'k'; constant
19 ioctl_write_buf!(writebuf_test_consts, SPI_IOC_MAGIC, SPI_IOC_MESSAGE, u8);
285 … ioctl_write_buf!(spi_ioc_message, super::SPI_IOC_MAGIC, super::SPI_IOC_MESSAGE, spi_ioc_transfer);