/linux-6.3-rc2/drivers/input/misc/ |
A D | ad714x-i2c.c | 21 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_write() 22 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_i2c_write() 24 error = i2c_master_send(client, (u8 *)chip->xfer_buf, in ad714x_i2c_write() 25 2 * sizeof(*chip->xfer_buf)); in ad714x_i2c_write() 41 chip->xfer_buf[0] = cpu_to_be16(reg); in ad714x_i2c_read() 43 error = i2c_master_send(client, (u8 *)chip->xfer_buf, in ad714x_i2c_read() 44 sizeof(*chip->xfer_buf)); in ad714x_i2c_read() 46 error = i2c_master_recv(client, (u8 *)chip->xfer_buf, in ad714x_i2c_read() 47 len * sizeof(*chip->xfer_buf)); in ad714x_i2c_read() 55 data[i] = be16_to_cpu(chip->xfer_buf[i]); in ad714x_i2c_read()
|
A D | ad714x-spi.c | 30 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | in ad714x_spi_read() 32 xfer[0].tx_buf = &chip->xfer_buf[0]; in ad714x_spi_read() 33 xfer[0].len = sizeof(chip->xfer_buf[0]); in ad714x_spi_read() 36 xfer[1].rx_buf = &chip->xfer_buf[1]; in ad714x_spi_read() 37 xfer[1].len = sizeof(chip->xfer_buf[1]) * len; in ad714x_spi_read() 47 data[i] = be16_to_cpu(chip->xfer_buf[i + 1]); in ad714x_spi_read() 58 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | reg); in ad714x_spi_write() 59 chip->xfer_buf[1] = cpu_to_be16(data); in ad714x_spi_write() 61 error = spi_write(spi, (u8 *)chip->xfer_buf, in ad714x_spi_write() 62 2 * sizeof(*chip->xfer_buf)); in ad714x_spi_write()
|
A D | atmel_captouch.c | 74 u8 xfer_buf[8] ____cacheline_aligned; member 91 if (len > sizeof(capdev->xfer_buf) - 2) in atmel_read() 94 capdev->xfer_buf[0] = reg; in atmel_read() 95 capdev->xfer_buf[1] = len; in atmel_read() 99 msg[0].buf = capdev->xfer_buf; in atmel_read() 104 msg[1].buf = capdev->xfer_buf; in atmel_read() 111 if (capdev->xfer_buf[0] != reg) { in atmel_read() 114 capdev->xfer_buf[0], reg); in atmel_read() 118 memcpy(data, &capdev->xfer_buf[2], len); in atmel_read()
|
A D | ad714x.h | 45 __be16 xfer_buf[16] ____cacheline_aligned; member
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | cyttsp_i2c_common.c | 26 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_i2c_read_block_data() argument 56 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_i2c_write_block_data() argument 67 .buf = xfer_buf, in cyttsp_i2c_write_block_data() 72 xfer_buf[0] = addr_lo; in cyttsp_i2c_write_block_data() 73 memcpy(&xfer_buf[1], values, length); in cyttsp_i2c_write_block_data()
|
A D | cyttsp4_spi.c | 36 static int cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, in cyttsp_spi_xfer() argument 42 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() 120 static int cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_read_block_data() argument 125 rc = cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, NULL, 0); in cyttsp_spi_read_block_data() 129 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_RD_OP, addr, data, in cyttsp_spi_read_block_data() 133 static int cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_write_block_data() argument 136 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, (void *)data, in cyttsp_spi_write_block_data()
|
A D | cyttsp_spi.c | 35 static int cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, in cyttsp_spi_xfer() argument 41 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() 42 u8 *rd_buf = &xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() 120 static int cyttsp_spi_read_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_read_block_data() argument 123 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_RD_OP, addr, data, in cyttsp_spi_read_block_data() 127 static int cyttsp_spi_write_block_data(struct device *dev, u8 *xfer_buf, in cyttsp_spi_write_block_data() argument 130 return cyttsp_spi_xfer(dev, xfer_buf, CY_SPI_WR_OP, addr, (void *)data, in cyttsp_spi_write_block_data()
|
A D | cyttsp_core.h | 101 int (*write)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 103 int (*read)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 134 u8 xfer_buf[] ____cacheline_aligned; member 140 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, 142 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr,
|
A D | cyttsp4_core.h | 340 u8 *xfer_buf; member 348 int (*write)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 350 int (*read)(struct device *dev, u8 *xfer_buf, u16 addr, u8 length, 430 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read() 436 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write() 442 int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr, 444 int cyttsp_i2c_read_block_data(struct device *dev, u8 *xfer_buf, u16 addr,
|
A D | hideep.c | 167 u8 xfer_buf[HIDEEP_XFER_BUF_SIZE] __aligned(4); member 181 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_w_mem() 208 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_r_mem() 463 struct pgm_packet *packet_r = (void *)ts->xfer_buf; in hideep_program_nvm() 512 struct pgm_packet *packet_r = (void *)ts->xfer_buf; in hideep_verify_nvm() 720 (void *)&ts->xfer_buf[HIDEEP_TOUCH_EVENT_INDEX]; in hideep_parse_and_report() 721 const u8 *keys = &ts->xfer_buf[HIDEEP_KEY_EVENT_INDEX]; in hideep_parse_and_report() 722 int touch_count = ts->xfer_buf[0]; in hideep_parse_and_report() 723 int key_count = ts->xfer_buf[1] & 0x0f; in hideep_parse_and_report() 724 int lpm_count = ts->xfer_buf[1] & 0xf0; in hideep_parse_and_report() [all …]
|
A D | cyttsp_core.c | 85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
|
A D | cyttsp4_core.c | 2036 cd->xfer_buf = kzalloc(xfer_buf_size, GFP_KERNEL); in cyttsp4_probe() 2037 if (!cd->xfer_buf) { in cyttsp4_probe() 2131 kfree(cd->xfer_buf); in cyttsp4_probe()
|
/linux-6.3-rc2/drivers/firmware/ |
A D | ti_sci.c | 46 u8 *xfer_buf; member 556 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_set_device_state() 919 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_cmd_set_device_resets() 1000 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_set_clock_state() 1304 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_cmd_clk_set_parent() 1594 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_cmd_clk_set_freq() 1702 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_cmd_core_reboot() 1895 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_manage_irq() 2122 resp = (struct ti_sci_msg_hdr *)xfer->xfer_buf; in ti_sci_cmd_rm_ring_cfg() 3411 if (!xfer->xfer_buf) in ti_sci_probe() [all …]
|
/linux-6.3-rc2/drivers/media/tuners/ |
A D | mt2060.c | 87 u8 *xfer_buf; in mt2060_writeregs() local 93 xfer_buf = kmalloc(16, GFP_KERNEL); in mt2060_writeregs() 94 if (!xfer_buf) in mt2060_writeregs() 97 msg.buf = xfer_buf; in mt2060_writeregs() 102 xfer_buf[0] = buf[0] + len - 1 - rem; in mt2060_writeregs() 103 memcpy(&xfer_buf[1], &buf[1 + len - 1 - rem], val_len); in mt2060_writeregs() 112 kfree(xfer_buf); in mt2060_writeregs()
|
/linux-6.3-rc2/drivers/input/joystick/ |
A D | pxrc.c | 127 void *xfer_buf; in pxrc_probe() local 151 xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); in pxrc_probe() 152 if (!xfer_buf) in pxrc_probe() 165 xfer_buf, xfer_size, pxrc_usb_irq, pxrc, 1); in pxrc_probe()
|
/linux-6.3-rc2/drivers/input/rmi4/ |
A D | rmi_spi.c | 58 struct spi_transfer *xfer_buf; in rmi_spi_manage_pools() local 96 xfer_buf = devm_kcalloc(&spi->dev, in rmi_spi_manage_pools() 100 if (!xfer_buf) in rmi_spi_manage_pools() 103 rmi_spi->rx_xfers = xfer_buf; in rmi_spi_manage_pools() 104 rmi_spi->tx_xfers = &xfer_buf[rmi_spi->rx_xfer_count]; in rmi_spi_manage_pools()
|
/linux-6.3-rc2/drivers/net/ieee802154/ |
A D | adf7242.c | 370 struct spi_transfer xfer_buf = { in adf7242_write_fbuf() local 377 spi_message_add_tail(&xfer_buf, &msg); in adf7242_write_fbuf() 402 struct spi_transfer xfer_buf = { in adf7242_read_fbuf() local 409 spi_message_add_tail(&xfer_buf, &msg); in adf7242_read_fbuf() 507 struct spi_transfer xfer_buf = { }; in adf7242_upload_firmware() local 521 spi_message_add_tail(&xfer_buf, &msg); in adf7242_upload_firmware() 526 xfer_buf.len = (i >= PRAM_PAGESIZE) ? PRAM_PAGESIZE : i; in adf7242_upload_firmware() 527 xfer_buf.tx_buf = &data[page * PRAM_PAGESIZE]; in adf7242_upload_firmware()
|
A D | cc2520.c | 317 struct spi_transfer xfer_buf = { in cc2520_write_ram() local 329 spi_message_add_tail(&xfer_buf, &msg); in cc2520_write_ram() 396 struct spi_transfer xfer_buf = { in cc2520_write_txfifo() local 404 spi_message_add_tail(&xfer_buf, &msg); in cc2520_write_txfifo() 433 struct spi_transfer xfer_buf = { in cc2520_read_rxfifo() local 440 spi_message_add_tail(&xfer_buf, &msg); in cc2520_read_rxfifo()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-qcom-qspi.c | 375 const void *xfer_buf = ctrl->xfer.tx_buf; in pio_write() local 391 byte_buf = xfer_buf; in pio_write() 408 word_buf = xfer_buf; in pio_write()
|
/linux-6.3-rc2/drivers/usb/dwc2/ |
A D | hcd.c | 434 dev_dbg(hsotg->dev, " xfer_buf: %p\n", chan->xfer_buf); in dwc2_dump_channel_info() 1100 u32 *data_buf = (u32 *)chan->xfer_buf; in dwc2_hc_write_packet() 1127 chan->xfer_buf += byte_count; in dwc2_hc_write_packet() 2339 chan->xfer_buf = urb->setup_packet; in dwc2_hc_init_xfer() 2366 chan->xfer_buf = hsotg->status_buf; in dwc2_hc_init_xfer() 2392 chan->xfer_buf = urb->buf; in dwc2_hc_init_xfer() 2393 chan->xfer_buf += frame_desc->offset + in dwc2_hc_init_xfer() 2613 chan->xfer_buf = (u8 *)urb->buf + urb->actual_length; in dwc2_assign_and_init_hc() 3885 dev_dbg(hsotg->dev, " xfer_buf: %p\n", chan->xfer_buf); in dwc2_hcd_dump_state()
|
A D | hcd.h | 107 u8 *xfer_buf; member
|
A D | hcd_intr.c | 189 dwc2_read_packet(hsotg, chan->xfer_buf, bcnt); in dwc2_rx_fifo_level_intr() 193 chan->xfer_buf += bcnt; in dwc2_rx_fifo_level_intr()
|
/linux-6.3-rc2/drivers/scsi/aacraid/ |
A D | aachba.c | 1672 struct aac_srb_unit *srbu, void *xfer_buf, int xfer_len) in aac_send_safw_bmic_cmd() argument 1700 addr = dma_map_single(&dev->pdev->dev, xfer_buf, xfer_len, in aac_send_safw_bmic_cmd()
|