/drivers/input/misc/ |
D | ad714x-i2c.c | 36 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_write() 37 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_i2c_write() 39 error = i2c_master_send(client, (u8 *)chip->xfer_buf, in ad714x_i2c_write() 40 2 * sizeof(*chip->xfer_buf)); in ad714x_i2c_write() 56 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_read() 58 error = i2c_master_send(client, (u8 *)chip->xfer_buf, in ad714x_i2c_read() 59 sizeof(*chip->xfer_buf)); in ad714x_i2c_read() 61 error = i2c_master_recv(client, (u8 *)chip->xfer_buf, in ad714x_i2c_read() 62 len * sizeof(*chip->xfer_buf)); in ad714x_i2c_read() 70 data[i] = be16_to_cpu(chip->xfer_buf[i]); in ad714x_i2c_read()
|
D | ad714x-spi.c | 45 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | in ad714x_spi_read() 47 xfer[0].tx_buf = &chip->xfer_buf[0]; in ad714x_spi_read() 48 xfer[0].len = sizeof(chip->xfer_buf[0]); in ad714x_spi_read() 51 xfer[1].rx_buf = &chip->xfer_buf[1]; in ad714x_spi_read() 52 xfer[1].len = sizeof(chip->xfer_buf[1]) * len; in ad714x_spi_read() 62 data[i] = be16_to_cpu(chip->xfer_buf[i + 1]); in ad714x_spi_read() 73 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | reg); in ad714x_spi_write() 74 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_spi_write() 76 error = spi_write(spi, (u8 *)chip->xfer_buf, in ad714x_spi_write() 77 2 * sizeof(*chip->xfer_buf)); in ad714x_spi_write()
|
D | ad714x.h | 45 __be16 xfer_buf[16] ____cacheline_aligned; member
|
/drivers/input/touchscreen/ |
D | cyttsp_spi.c | 43 static int cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, in cyttsp_spi_xfer() argument 49 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() 50 u8 *rd_buf = &xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() 128 static int cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_read_block_data() argument 131 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_RD_OP, addr, data, in cyttsp_spi_read_block_data() 135 static int cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_write_block_data() argument 138 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, (void *)data, in cyttsp_spi_write_block_data()
|
D | cyttsp4_spi.c | 46 static int cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, in cyttsp_spi_xfer() argument 52 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() 130 static int cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_read_block_data() argument 135 rc = cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, NULL, 0); in cyttsp_spi_read_block_data() 139 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_RD_OP, addr, data, in cyttsp_spi_read_block_data() 143 static int cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_write_block_data() argument 146 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, (void *)data, in cyttsp_spi_write_block_data()
|
D | cyttsp_i2c_common.c | 36 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_i2c_read_block_data() argument 66 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_i2c_write_block_data() argument 77 .buf = xfer_buf, in cyttsp_i2c_write_block_data() 82 xfer_buf[0] = addr_lo; in cyttsp_i2c_write_block_data() 83 memcpy(&xfer_buf[1], values, length); in cyttsp_i2c_write_block_data()
|
D | cyttsp_core.h | 115 int (*write)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 117 int (*read)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 141 u8 xfer_buf[] ____cacheline_aligned; member 148 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, 150 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr,
|
D | cyttsp4_core.h | 364 u8 *xfer_buf; member 372 int (*write)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 374 int (*read)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 454 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read() 460 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write() 466 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, 468 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr,
|
D | cyttsp_core.c | 87 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 105 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
|
D | cyttsp4_core.c | 2020 cd->xfer_buf = kzalloc(xfer_buf_size, GFP_KERNEL); in cyttsp4_probe() 2021 if (!cd->xfer_buf) { in cyttsp4_probe() 2116 kfree(cd->xfer_buf); in cyttsp4_probe()
|
/drivers/net/ieee802154/ |
D | cc2520.c | 311 struct spi_transfer xfer_buf = { in cc2520_write_ram() local 323 spi_message_add_tail(&xfer_buf, &msg); in cc2520_write_ram() 390 struct spi_transfer xfer_buf = { in cc2520_write_txfifo() local 398 spi_message_add_tail(&xfer_buf, &msg); in cc2520_write_txfifo() 427 struct spi_transfer xfer_buf = { in cc2520_read_rxfifo() local 434 spi_message_add_tail(&xfer_buf, &msg); in cc2520_read_rxfifo()
|
/drivers/usb/dwc2/ |
D | hcd.c | 100 dev_dbg(hsotg->dev, " xfer_buf: %p\n", chan->xfer_buf); in dwc2_dump_channel_info() 617 chan->xfer_buf = urb->setup_packet; in dwc2_hc_init_xfer() 645 chan->xfer_buf = hsotg->status_buf; in dwc2_hc_init_xfer() 672 chan->xfer_buf = urb->buf; in dwc2_hc_init_xfer() 673 chan->xfer_buf += frame_desc->offset + in dwc2_hc_init_xfer() 829 chan->xfer_buf = (u8 *)urb->buf + urb->actual_length; in dwc2_assign_and_init_hc() 1898 dev_dbg(hsotg->dev, " xfer_buf: %p\n", chan->xfer_buf); in dwc2_hcd_dump_state()
|
D | hcd.h | 133 u8 *xfer_buf; member
|
D | hcd_intr.c | 192 dwc2_read_packet(hsotg, chan->xfer_buf, bcnt); in dwc2_rx_fifo_level_intr() 196 chan->xfer_buf += bcnt; in dwc2_rx_fifo_level_intr()
|
D | core.c | 1279 u32 *data_buf = (u32 *)chan->xfer_buf; in dwc2_hc_write_packet() 1308 chan->xfer_buf += byte_count; in dwc2_hc_write_packet()
|