/linux-4.1.27/drivers/input/touchscreen/ |
D | ad7879-spi.c | 34 struct spi_transfer *xfers; in ad7879_spi_xfer() local 41 xfers = spi_data = kzalloc(sizeof(*xfers) * (count + 2), GFP_KERNEL); in ad7879_spi_xfer() 57 ++xfers; in ad7879_spi_xfer() 58 xfers[0].tx_buf = command; in ad7879_spi_xfer() 59 xfers[0].len = 2; in ad7879_spi_xfer() 60 spi_message_add_tail(&xfers[0], &msg); in ad7879_spi_xfer() 61 ++xfers; in ad7879_spi_xfer() 65 xfers[idx].rx_buf = &rx_buf[idx]; in ad7879_spi_xfer() 67 xfers[idx].tx_buf = &tx_buf[idx]; in ad7879_spi_xfer() 68 xfers[idx].len = 2; in ad7879_spi_xfer() [all …]
|
/linux-4.1.27/drivers/staging/iio/accel/ |
D | lis3l02dq_ring.c | 60 struct spi_transfer *xfers; in lis3l02dq_read_all() local 64 xfers = kcalloc(bitmap_weight(indio_dev->active_scan_mask, in lis3l02dq_read_all() 66 sizeof(*xfers), GFP_KERNEL); in lis3l02dq_read_all() 67 if (!xfers) in lis3l02dq_read_all() 75 xfers[j].tx_buf = st->tx + 2*j; in lis3l02dq_read_all() 79 xfers[j].rx_buf = rx_array + j*2; in lis3l02dq_read_all() 80 xfers[j].bits_per_word = 8; in lis3l02dq_read_all() 81 xfers[j].len = 2; in lis3l02dq_read_all() 82 xfers[j].cs_change = 1; in lis3l02dq_read_all() 86 xfers[j].tx_buf = st->tx + 2*j; in lis3l02dq_read_all() [all …]
|
D | lis3l02dq_core.c | 110 struct spi_transfer xfers[] = { { in lis3l02dq_spi_write_reg_s16() local 128 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in lis3l02dq_spi_write_reg_s16() 141 struct spi_transfer xfers[] = { { in lis3l02dq_read_reg_s16() local 161 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in lis3l02dq_read_reg_s16()
|
D | adis16220_core.c | 104 struct spi_transfer xfers[] = { in adis16220_capture_buffer_read() local 145 xfers[1].len = count; in adis16220_capture_buffer_read() 147 ret = spi_sync_transfer(st->adis.spi, xfers, ARRAY_SIZE(xfers)); in adis16220_capture_buffer_read()
|
/linux-4.1.27/drivers/staging/iio/meter/ |
D | ade7854-spi.c | 131 struct spi_transfer xfers[] = { in ade7854_spi_read_reg_8() local 149 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ade7854_spi_read_reg_8() 169 struct spi_transfer xfers[] = { in ade7854_spi_read_reg_16() local 186 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ade7854_spi_read_reg_16() 206 struct spi_transfer xfers[] = { in ade7854_spi_read_reg_24() local 224 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ade7854_spi_read_reg_24() 244 struct spi_transfer xfers[] = { in ade7854_spi_read_reg_32() local 262 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ade7854_spi_read_reg_32()
|
D | ade7758_core.c | 52 struct spi_transfer xfers[] = { in ade7758_spi_write_reg_16() local 65 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7758_spi_write_reg_16() 78 struct spi_transfer xfers[] = { in ade7758_spi_write_reg_24() local 92 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7758_spi_write_reg_24() 105 struct spi_transfer xfers[] = { in ade7758_spi_read_reg_8() local 124 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7758_spi_read_reg_8() 144 struct spi_transfer xfers[] = { in ade7758_spi_read_reg_16() local 165 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7758_spi_read_reg_16() 186 struct spi_transfer xfers[] = { in ade7758_spi_read_reg_24() local 207 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7758_spi_read_reg_24()
|
D | ade7759.c | 108 struct spi_transfer xfers[] = { in ade7759_spi_read_reg_40() local 121 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7759_spi_read_reg_40()
|
D | ade7754.c | 108 struct spi_transfer xfers[] = { in ade7754_spi_read_reg_24() local 123 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7754_spi_read_reg_24()
|
D | ade7753.c | 108 struct spi_transfer xfers[] = { in ade7753_spi_read_reg_24() local 123 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in ade7753_spi_read_reg_24()
|
/linux-4.1.27/drivers/iio/common/st_sensors/ |
D | st_sensors_spi.c | 34 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.1.27/drivers/iio/imu/ |
D | adis.c | 36 struct spi_transfer xfers[] = { in adis_write_reg() local 75 spi_message_add_tail(&xfers[0], &msg); in adis_write_reg() 96 xfers[size].cs_change = 0; in adis_write_reg() 99 spi_message_add_tail(&xfers[i], &msg); in adis_write_reg() 128 struct spi_transfer xfers[] = { in adis_read_reg() local 162 spi_message_add_tail(&xfers[0], &msg); in adis_read_reg() 169 spi_message_add_tail(&xfers[1], &msg); in adis_read_reg() 173 spi_message_add_tail(&xfers[2], &msg); in adis_read_reg() 174 spi_message_add_tail(&xfers[3], &msg); in adis_read_reg()
|
/linux-4.1.27/drivers/iio/gyro/ |
D | adxrs450.c | 96 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.1.27/tools/virtio/ |
D | vringh_test.c | 142 unsigned long xfers = 0, notifies = 0, receives = 0; in parallel_test() local 194 while (xfers < NUM_XFERS) { in parallel_test() 270 xfers++; in parallel_test() 325 while (xfers < NUM_XFERS) { in parallel_test() 329 bool output = !(xfers % 2); in parallel_test() 341 dbuf = data + (xfers % (RINGSIZE + 1)); in parallel_test() 344 *dbuf = xfers; in parallel_test() 348 switch ((xfers / sizeof(*dbuf)) % 4) { in parallel_test() 376 __kmalloc_fake = indirects + (xfers % RINGSIZE) * 4; in parallel_test() 399 xfers++; in parallel_test() [all …]
|
/linux-4.1.27/drivers/iio/accel/ |
D | kxsd9.c | 99 struct spi_transfer xfers[] = { in kxsd9_read() local 114 ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); in kxsd9_read()
|
/linux-4.1.27/include/linux/spi/ |
D | spi.h | 722 struct spi_transfer *xfers, unsigned int num_xfers) in spi_message_init_with_transfers() argument 728 spi_message_add_tail(&xfers[i], m); in spi_message_init_with_transfers() 837 spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers, in spi_sync_transfer() argument 842 spi_message_init_with_transfers(&msg, xfers, num_xfers); in spi_sync_transfer()
|
/linux-4.1.27/drivers/iio/dac/ |
D | ad5791.c | 123 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.1.27/Documentation/networking/ |
D | ray_cs.txt | 131 linux. If you want to watch ftp xfers, or do similar things, you
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_edid.c | 1157 unsigned char xfers = segment ? 3 : 2; in drm_do_probe_ddc_edid() local 1191 ret = i2c_transfer(adapter, &msgs[3 - xfers], xfers); in drm_do_probe_ddc_edid() 1198 } while (ret != xfers && --retries); in drm_do_probe_ddc_edid() 1200 return ret == xfers ? 0 : -1; in drm_do_probe_ddc_edid()
|
/linux-4.1.27/Documentation/usb/ |
D | WUSB-Design-overview.txt | 388 For OUT xfers, there is an array of segments, one URB for each, another 394 For IN xfers, we only issue URBs for the segments we want to read and 397 *URB mapping into xfers*
|