xfers 13 drivers/base/regmap/regmap-i3c.c struct i3c_priv_xfer xfers[] = { xfers 21 drivers/base/regmap/regmap-i3c.c return i3c_device_do_priv_xfers(i3c, xfers, 1); xfers 30 drivers/base/regmap/regmap-i3c.c struct i3c_priv_xfer xfers[2]; xfers 32 drivers/base/regmap/regmap-i3c.c xfers[0].rnw = false; xfers 33 drivers/base/regmap/regmap-i3c.c xfers[0].len = reg_size; xfers 34 drivers/base/regmap/regmap-i3c.c xfers[0].data.out = reg; xfers 36 drivers/base/regmap/regmap-i3c.c xfers[1].rnw = true; xfers 37 drivers/base/regmap/regmap-i3c.c xfers[1].len = val_size; xfers 38 drivers/base/regmap/regmap-i3c.c xfers[1].data.in = val; xfers 40 drivers/base/regmap/regmap-i3c.c return i3c_device_do_priv_xfers(i3c, xfers, 2); xfers 239 drivers/firmware/arm_scpi.c struct scpi_xfer *xfers; xfers 880 drivers/firmware/arm_scpi.c struct scpi_xfer *xfers; xfers 882 drivers/firmware/arm_scpi.c xfers = devm_kcalloc(dev, MAX_SCPI_XFERS, sizeof(*xfers), GFP_KERNEL); xfers 883 drivers/firmware/arm_scpi.c if (!xfers) xfers 886 drivers/firmware/arm_scpi.c ch->xfers = xfers; xfers 887 drivers/firmware/arm_scpi.c for (i = 0; i < MAX_SCPI_XFERS; i++, xfers++) { xfers 888 drivers/firmware/arm_scpi.c init_completion(&xfers->done); xfers 889 drivers/firmware/arm_scpi.c list_add_tail(&xfers->node, &ch->xfers_list); xfers 1507 drivers/gpu/drm/drm_edid.c unsigned char xfers = segment ? 3 : 2; xfers 1541 drivers/gpu/drm/drm_edid.c ret = i2c_transfer(adapter, &msgs[3 - xfers], xfers); xfers 1548 drivers/gpu/drm/drm_edid.c } while (ret != xfers && --retries); xfers 1550 drivers/gpu/drm/drm_edid.c return ret == xfers ? 0 : -1; xfers 32 drivers/i3c/device.c struct i3c_priv_xfer *xfers, xfers 41 drivers/i3c/device.c if (!xfers[i].len || !xfers[i].data.in) xfers 46 drivers/i3c/device.c ret = i3c_dev_do_priv_xfers_locked(dev->desc, xfers, nxfers); xfers 19 drivers/i3c/internals.h struct i3c_priv_xfer *xfers, xfers 2076 drivers/i3c/master.c struct i2c_msg *xfers, int nxfers) xfers 2083 drivers/i3c/master.c if (!xfers || !master || nxfers <= 0) xfers 2090 drivers/i3c/master.c addr = xfers[0].addr; xfers 2092 drivers/i3c/master.c if (addr != xfers[i].addr) xfers 2101 drivers/i3c/master.c ret = master->ops->i2c_xfers(dev, xfers, nxfers); xfers 2538 drivers/i3c/master.c struct i3c_priv_xfer *xfers, xfers 2547 drivers/i3c/master.c if (!master || !xfers) xfers 2553 drivers/i3c/master.c return master->ops->priv_xfers(dev, xfers, nxfers); xfers 727 drivers/i3c/master/i3c-master-cdns.c struct i3c_priv_xfer *xfers, xfers 736 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].len > CMD0_FIFO_PL_LEN_MAX) xfers 752 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].rnw) xfers 753 drivers/i3c/master/i3c-master-cdns.c rxslots += DIV_ROUND_UP(xfers[i].len, 4); xfers 755 drivers/i3c/master/i3c-master-cdns.c txslots += DIV_ROUND_UP(xfers[i].len, 4); xfers 768 drivers/i3c/master/i3c-master-cdns.c u32 pl_len = xfers[i].len; xfers 773 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].rnw) { xfers 775 drivers/i3c/master/i3c-master-cdns.c ccmd->rx_buf = xfers[i].data.in; xfers 776 drivers/i3c/master/i3c-master-cdns.c ccmd->rx_len = xfers[i].len; xfers 779 drivers/i3c/master/i3c-master-cdns.c ccmd->tx_buf = xfers[i].data.out; xfers 780 drivers/i3c/master/i3c-master-cdns.c ccmd->tx_len = xfers[i].len; xfers 800 drivers/i3c/master/i3c-master-cdns.c xfers[i].err = cdns_i3c_cmd_get_err(&cdns_xfer->cmds[i]); xfers 808 drivers/i3c/master/i3c-master-cdns.c const struct i2c_msg *xfers, int nxfers) xfers 820 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].len > CMD0_FIFO_PL_LEN_MAX) xfers 823 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].flags & I2C_M_RD) xfers 824 drivers/i3c/master/i3c-master-cdns.c nrxwords += DIV_ROUND_UP(xfers[i].len, 4); xfers 826 drivers/i3c/master/i3c-master-cdns.c ntxwords += DIV_ROUND_UP(xfers[i].len, 4); xfers 840 drivers/i3c/master/i3c-master-cdns.c ccmd->cmd0 = CMD0_FIFO_DEV_ADDR(xfers[i].addr) | xfers 841 drivers/i3c/master/i3c-master-cdns.c CMD0_FIFO_PL_LEN(xfers[i].len) | xfers 844 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].flags & I2C_M_TEN) xfers 847 drivers/i3c/master/i3c-master-cdns.c if (xfers[i].flags & I2C_M_RD) { xfers 849 drivers/i3c/master/i3c-master-cdns.c ccmd->rx_buf = xfers[i].buf; xfers 850 drivers/i3c/master/i3c-master-cdns.c ccmd->rx_len = xfers[i].len; xfers 852 drivers/i3c/master/i3c-master-cdns.c ccmd->tx_buf = xfers[i].buf; xfers 853 drivers/i3c/master/i3c-master-cdns.c ccmd->tx_len = xfers[i].len; xfers 67 drivers/iio/adc/max1118.c struct spi_transfer xfers[] = { xfers 94 drivers/iio/adc/max1118.c ret = spi_sync_transfer(spi, xfers + 1, 2); xfers 96 drivers/iio/adc/max1118.c ret = spi_sync_transfer(spi, xfers, 3); xfers 137 drivers/iio/dac/ad5761.c struct spi_transfer xfers[] = { xfers 154 drivers/iio/dac/ad5761.c ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); xfers 122 drivers/iio/dac/ad5791.c struct spi_transfer xfers[] = { xfers 140 drivers/iio/dac/ad5791.c ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); xfers 95 drivers/iio/gyro/adxrs450.c struct spi_transfer xfers[] = { xfers 115 drivers/iio/gyro/adxrs450.c ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); xfers 169 drivers/iio/gyro/adxrs450.c struct spi_transfer xfers[] = { xfers 185 drivers/iio/gyro/adxrs450.c ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers)); xfers 209 drivers/iio/gyro/adxrs450.c struct spi_transfer xfers = { xfers 221 drivers/iio/gyro/adxrs450.c ret = spi_sync_transfer(st->us, &xfers, 1); xfers 35 drivers/iio/imu/adis.c struct spi_transfer xfers[] = { xfers 80 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[0], &msg); xfers 103 drivers/iio/imu/adis.c xfers[size].cs_change = 0; xfers 106 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[i], &msg); xfers 135 drivers/iio/imu/adis.c struct spi_transfer xfers[] = { xfers 175 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[0], &msg); xfers 182 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[1], &msg); xfers 187 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[2], &msg); xfers 188 drivers/iio/imu/adis.c spi_message_add_tail(&xfers[3], &msg); xfers 75 drivers/input/joystick/psxpad-spi.c struct spi_transfer xfers = { xfers 82 drivers/input/joystick/psxpad-spi.c err = spi_sync_transfer(pad->spi, &xfers, 1); xfers 666 drivers/spi/spi-loopback-test.c struct spi_transfer *xfers = test->transfers; xfers 682 drivers/spi/spi-loopback-test.c if (xfers[i].rx_buf) xfers 683 drivers/spi/spi-loopback-test.c memset(xfers[i].rx_buf, SPI_TEST_PATTERN_UNWRITTEN, xfers 684 drivers/spi/spi-loopback-test.c xfers[i].len); xfers 686 drivers/spi/spi-loopback-test.c tx_buf = (u8 *)xfers[i].tx_buf; xfers 690 drivers/spi/spi-loopback-test.c for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) { xfers 277 drivers/spi/spi-mem.c struct spi_transfer xfers[4] = { }; xfers 322 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = tmpbuf; xfers 323 drivers/spi/spi-mem.c xfers[xferpos].len = sizeof(op->cmd.opcode); xfers 324 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->cmd.buswidth; xfers 325 drivers/spi/spi-mem.c spi_message_add_tail(&xfers[xferpos], &msg); xfers 336 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = tmpbuf + 1; xfers 337 drivers/spi/spi-mem.c xfers[xferpos].len = op->addr.nbytes; xfers 338 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->addr.buswidth; xfers 339 drivers/spi/spi-mem.c spi_message_add_tail(&xfers[xferpos], &msg); xfers 346 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; xfers 347 drivers/spi/spi-mem.c xfers[xferpos].len = op->dummy.nbytes; xfers 348 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->dummy.buswidth; xfers 349 drivers/spi/spi-mem.c spi_message_add_tail(&xfers[xferpos], &msg); xfers 356 drivers/spi/spi-mem.c xfers[xferpos].rx_buf = op->data.buf.in; xfers 357 drivers/spi/spi-mem.c xfers[xferpos].rx_nbits = op->data.buswidth; xfers 359 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = op->data.buf.out; xfers 360 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->data.buswidth; xfers 363 drivers/spi/spi-mem.c xfers[xferpos].len = op->data.nbytes; xfers 364 drivers/spi/spi-mem.c spi_message_add_tail(&xfers[xferpos], &msg); xfers 2897 drivers/spi/spi.c struct spi_transfer *xfer = *xferp, *xfers; xfers 2909 drivers/spi/spi.c xfers = srt->inserted_transfers; xfers 2924 drivers/spi/spi.c xfers[0].len = min_t(size_t, maxsize, xfer[0].len); xfers 2929 drivers/spi/spi.c if (xfers[i].rx_buf) xfers 2930 drivers/spi/spi.c xfers[i].rx_buf += offset; xfers 2931 drivers/spi/spi.c if (xfers[i].rx_dma) xfers 2932 drivers/spi/spi.c xfers[i].rx_dma += offset; xfers 2933 drivers/spi/spi.c if (xfers[i].tx_buf) xfers 2934 drivers/spi/spi.c xfers[i].tx_buf += offset; xfers 2935 drivers/spi/spi.c if (xfers[i].tx_dma) xfers 2936 drivers/spi/spi.c xfers[i].tx_dma += offset; xfers 2939 drivers/spi/spi.c xfers[i].len = min(maxsize, xfers[i].len - offset); xfers 2945 drivers/spi/spi.c *xferp = &xfers[count - 1]; xfers 77 drivers/staging/iio/meter/ade7854-spi.c struct spi_transfer xfers[] = { xfers 95 drivers/staging/iio/meter/ade7854-spi.c ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); xfers 133 drivers/staging/iio/resolver/ad2s1210.c struct spi_transfer xfers[] = { xfers 150 drivers/staging/iio/resolver/ad2s1210.c ret = spi_sync_transfer(st->sdev, xfers, 2); xfers 293 include/linux/i3c/device.h struct i3c_priv_xfer *xfers, xfers 442 include/linux/i3c/master.h struct i3c_priv_xfer *xfers, xfers 447 include/linux/i3c/master.h const struct i2c_msg *xfers, int nxfers); xfers 521 include/linux/i3c/master.h const struct i2c_msg *xfers, xfers 949 include/linux/spi/spi.h struct spi_transfer *xfers, unsigned int num_xfers) xfers 955 include/linux/spi/spi.h spi_message_add_tail(&xfers[i], m); xfers 1117 include/linux/spi/spi.h spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers, xfers 1122 include/linux/spi/spi.h spi_message_init_with_transfers(&msg, xfers, num_xfers); xfers 143 tools/virtio/vringh_test.c unsigned long xfers = 0, notifies = 0, receives = 0; xfers 195 tools/virtio/vringh_test.c while (xfers < NUM_XFERS) { xfers 271 tools/virtio/vringh_test.c xfers++; xfers 327 tools/virtio/vringh_test.c while (xfers < NUM_XFERS) { xfers 331 tools/virtio/vringh_test.c bool output = !(xfers % 2); xfers 343 tools/virtio/vringh_test.c dbuf = data + (xfers % (RINGSIZE + 1)); xfers 346 tools/virtio/vringh_test.c *dbuf = xfers; xfers 350 tools/virtio/vringh_test.c switch ((xfers / sizeof(*dbuf)) % 4) { xfers 378 tools/virtio/vringh_test.c __kmalloc_fake = indirects + (xfers % RINGSIZE) * 4; xfers 401 tools/virtio/vringh_test.c xfers++; xfers 406 tools/virtio/vringh_test.c while (finished != xfers) {