Home
last modified time | relevance | path

Searched refs:xfers (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/iio/common/st_sensors/
Dst_sensors_spi.c34 struct spi_transfer xfers[] = { in st_sensors_spi_read() local
53 err = spi_sync_transfer(to_spi_device(dev), xfers, ARRAY_SIZE(xfers)); in st_sensors_spi_read()
84 struct spi_transfer xfers = { in st_sensors_spi_write_byte() local
94 err = spi_sync_transfer(to_spi_device(dev), &xfers, 1); in st_sensors_spi_write_byte()
/linux-4.19.296/drivers/iio/imu/
Dadis.c36 struct spi_transfer xfers[] = { in adis_write_reg() local
75 spi_message_add_tail(&xfers[0], &msg); in adis_write_reg()
98 xfers[size].cs_change = 0; in adis_write_reg()
101 spi_message_add_tail(&xfers[i], &msg); in adis_write_reg()
130 struct spi_transfer xfers[] = { in adis_read_reg() local
164 spi_message_add_tail(&xfers[0], &msg); in adis_read_reg()
171 spi_message_add_tail(&xfers[1], &msg); in adis_read_reg()
176 spi_message_add_tail(&xfers[2], &msg); in adis_read_reg()
177 spi_message_add_tail(&xfers[3], &msg); in adis_read_reg()
/linux-4.19.296/drivers/iio/gyro/
Dadxrs450.c96 struct spi_transfer xfers[] = { in adxrs450_spi_read_reg_16() local
116 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in adxrs450_spi_read_reg_16()
170 struct spi_transfer xfers[] = { in adxrs450_spi_sensor_data() local
186 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in adxrs450_spi_sensor_data()
210 struct spi_transfer xfers = { in adxrs450_spi_initial() local
222 ret = spi_sync_transfer(st->us, &xfers, 1); in adxrs450_spi_initial()
/linux-4.19.296/drivers/iio/adc/
Dmax1118.c75 struct spi_transfer xfers[] = { in max1118_read() local
102 ret = spi_sync_transfer(spi, xfers + 1, 2); in max1118_read()
104 ret = spi_sync_transfer(spi, xfers, 3); in max1118_read()
/linux-4.19.296/drivers/iio/dac/
Dad5761.c138 struct spi_transfer xfers[] = { in _ad5761_spi_read() local
155 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in _ad5761_spi_read()
Dad5791.c123 struct spi_transfer xfers[] = { in ad5791_spi_read() local
141 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ad5791_spi_read()
/linux-4.19.296/include/linux/spi/
Dspi.h923 struct spi_transfer *xfers, unsigned int num_xfers) in spi_message_init_with_transfers() argument
929 spi_message_add_tail(&xfers[i], m); in spi_message_init_with_transfers()
1069 spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers, in spi_sync_transfer() argument
1074 spi_message_init_with_transfers(&msg, xfers, num_xfers); in spi_sync_transfer()