Home
last modified time | relevance | path

Searched refs:spi_ioc_transfer (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/include/uapi/linux/spi/
Dspidev.h70 struct spi_ioc_transfer { struct
96 ((((N)*(sizeof (struct spi_ioc_transfer))) < (1 << _IOC_SIZEBITS)) \
97 ? ((N)*(sizeof (struct spi_ioc_transfer))) : 0)
/linux-5.19.10/drivers/spi/
Dspidev.c201 struct spi_ioc_transfer *u_xfers, unsigned n_xfers) in spidev_message()
206 struct spi_ioc_transfer *u_tmp; in spidev_message()
321 static struct spi_ioc_transfer *
322 spidev_get_ioc_message(unsigned int cmd, struct spi_ioc_transfer __user *u_ioc, in spidev_get_ioc_message()
334 if ((tmp % sizeof(struct spi_ioc_transfer)) != 0) in spidev_get_ioc_message()
336 *n_ioc = tmp / sizeof(struct spi_ioc_transfer); in spidev_get_ioc_message()
352 struct spi_ioc_transfer *ioc; in spidev_ioctl()
484 (struct spi_ioc_transfer __user *)arg, &n_ioc); in spidev_ioctl()
508 struct spi_ioc_transfer __user *u_ioc; in spidev_compat_ioc_message()
513 struct spi_ioc_transfer *ioc; in spidev_compat_ioc_message()
[all …]
/linux-5.19.10/tools/spi/
Dspidev_fdx.c51 struct spi_ioc_transfer xfer[2]; in do_msg()
Dspidev_test.c122 struct spi_ioc_transfer tr = { in transfer()