Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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()
495 (struct spi_ioc_transfer __user *)arg, &n_ioc); in spidev_ioctl()
519 struct spi_ioc_transfer __user *u_ioc; in spidev_compat_ioc_message()
524 struct spi_ioc_transfer *ioc; in spidev_compat_ioc_message()
[all …]
/linux-6.1.9/tools/spi/
Dspidev_fdx.c51 struct spi_ioc_transfer xfer[2]; in do_msg()
Dspidev_test.c122 struct spi_ioc_transfer tr = { in transfer()