/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | cmd_v2.c | 93 struct hci_xfer *xfer, in hci_cmd_v2_prep_private_xfer() argument 97 u8 *data = xfer->data; in hci_cmd_v2_prep_private_xfer() 98 unsigned int data_len = xfer->data_len; in hci_cmd_v2_prep_private_xfer() 99 bool rnw = xfer->rnw; in hci_cmd_v2_prep_private_xfer() 101 xfer->cmd_tid = hci_get_tid(); in hci_cmd_v2_prep_private_xfer() 104 xfer->cmd_desc[0] = in hci_cmd_v2_prep_private_xfer() 106 CMD_U0_TID(xfer->cmd_tid) | in hci_cmd_v2_prep_private_xfer() 111 xfer->cmd_desc[1] = in hci_cmd_v2_prep_private_xfer() 113 xfer->cmd_desc[2] = 0; in hci_cmd_v2_prep_private_xfer() 114 xfer->cmd_desc[3] = 0; in hci_cmd_v2_prep_private_xfer() [all …]
|
H A D | cmd_v1.c | 146 static void fill_data_bytes(struct hci_xfer *xfer, u8 *data, in fill_data_bytes() argument 149 xfer->cmd_desc[1] = 0; in fill_data_bytes() 152 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_4(data[3]); in fill_data_bytes() 155 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_3(data[2]); in fill_data_bytes() 158 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_2(data[1]); in fill_data_bytes() 161 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_1(data[0]); in fill_data_bytes() 167 xfer->data = NULL; in fill_data_bytes() 171 struct hci_xfer *xfer, in hci_cmd_v1_prep_ccc() argument 176 u8 *data = xfer->data; in hci_cmd_v1_prep_ccc() 177 unsigned int data_len = xfer->data_len; in hci_cmd_v1_prep_ccc() [all …]
|
H A D | core.c | 192 struct hci_xfer *xfer; in i3c_hci_send_ccc_cmd() local 202 xfer = hci_alloc_xfer(nxfers); in i3c_hci_send_ccc_cmd() 203 if (!xfer) in i3c_hci_send_ccc_cmd() 207 xfer->data = NULL; in i3c_hci_send_ccc_cmd() 208 xfer->data_len = 0; in i3c_hci_send_ccc_cmd() 209 xfer->rnw = false; in i3c_hci_send_ccc_cmd() 210 hci->cmd->prep_ccc(hci, xfer, I3C_BROADCAST_ADDR, in i3c_hci_send_ccc_cmd() 212 xfer++; in i3c_hci_send_ccc_cmd() 216 xfer[i].data = ccc->dests[i].payload.data; in i3c_hci_send_ccc_cmd() 217 xfer[i].data_len = ccc->dests[i].payload.len; in i3c_hci_send_ccc_cmd() [all …]
|
/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 504 struct scmi_xfer *xfer) in scmi_xfer_token_set() argument 516 next_token = (xfer->transfer_id & (MSG_TOKEN_MAX - 1)); in scmi_xfer_token_set() 542 xfer->hdr.seq = (u16)xfer_id; in scmi_xfer_token_set() 554 struct scmi_xfer *xfer) in scmi_xfer_token_clear() argument 556 clear_bit(xfer->hdr.seq, minfo->xfer_alloc_table); in scmi_xfer_token_clear() 572 scmi_xfer_inflight_register_unlocked(struct scmi_xfer *xfer, in scmi_xfer_inflight_register_unlocked() argument 576 set_bit(xfer->hdr.seq, minfo->xfer_alloc_table); in scmi_xfer_inflight_register_unlocked() 577 hash_add(minfo->pending_xfers, &xfer->node, xfer->hdr.seq); in scmi_xfer_inflight_register_unlocked() 578 xfer->pending = true; in scmi_xfer_inflight_register_unlocked() 595 static int scmi_xfer_inflight_register(struct scmi_xfer *xfer, in scmi_xfer_inflight_register() argument [all …]
|
H A D | msg.c | 33 static size_t msg_command_size(struct scmi_xfer *xfer) in msg_command_size() argument 35 return sizeof(struct scmi_msg_payld) + xfer->tx.len; in msg_command_size() 45 static size_t msg_response_size(struct scmi_xfer *xfer) in msg_response_size() argument 47 return sizeof(struct scmi_msg_payld) + sizeof(__le32) + xfer->rx.len; in msg_response_size() 56 static void msg_tx_prepare(struct scmi_msg_payld *msg, struct scmi_xfer *xfer) in msg_tx_prepare() argument 58 msg->msg_header = cpu_to_le32(pack_scmi_header(&xfer->hdr)); in msg_tx_prepare() 59 if (xfer->tx.buf) in msg_tx_prepare() 60 memcpy(msg->msg_payload, xfer->tx.buf, xfer->tx.len); in msg_tx_prepare() 83 size_t len, struct scmi_xfer *xfer) in msg_fetch_response() argument 87 xfer->hdr.status = le32_to_cpu(msg->msg_payload[0]); in msg_fetch_response() [all …]
|
H A D | raw_mode.c | 206 struct scmi_xfer *xfer; member 336 scmi_xfer_raw_waiter_get(struct scmi_raw_mode_info *raw, struct scmi_xfer *xfer, in scmi_xfer_raw_waiter_get() argument 349 xfer->async_done = &rw->async_response; in scmi_xfer_raw_waiter_get() 353 rw->xfer = xfer; in scmi_xfer_raw_waiter_get() 363 if (rw->xfer) { in scmi_xfer_raw_waiter_put() 364 rw->xfer->async_done = NULL; in scmi_xfer_raw_waiter_put() 365 rw->xfer = NULL; in scmi_xfer_raw_waiter_put() 379 trace_scmi_xfer_response_wait(rw->xfer->transfer_id, rw->xfer->hdr.id, in scmi_xfer_raw_waiter_enqueue() 380 rw->xfer->hdr.protocol_id, in scmi_xfer_raw_waiter_enqueue() 381 rw->xfer->hdr.seq, in scmi_xfer_raw_waiter_enqueue() [all …]
|
H A D | shmem.c | 89 struct scmi_xfer *xfer, in shmem_tx_prepare() argument 123 iowrite32(xfer->hdr.poll_completion ? 0 : SCMI_SHMEM_FLAG_INTR_ENABLED, in shmem_tx_prepare() 125 iowrite32(sizeof(shmem->msg_header) + xfer->tx.len, &shmem->length); in shmem_tx_prepare() 126 iowrite32(pack_scmi_header(&xfer->hdr), &shmem->msg_header); in shmem_tx_prepare() 127 if (xfer->tx.buf) in shmem_tx_prepare() 128 copy_toio(shmem->msg_payload, xfer->tx.buf, xfer->tx.len); in shmem_tx_prepare() 137 struct scmi_xfer *xfer, in shmem_fetch_response() argument 142 xfer->hdr.status = ioread32(shmem->msg_payload); in shmem_fetch_response() 144 xfer->rx.len = min_t(size_t, xfer->rx.len, len > 8 ? len - 8 : 0); in shmem_fetch_response() 147 copy_fromio(xfer->rx.buf, shmem->msg_payload + 4, xfer->rx.len); in shmem_fetch_response() [all …]
|
/linux/drivers/iio/imu/ |
H A D | adis_buffer.c | 36 adis->xfer = kcalloc(2, sizeof(*adis->xfer), GFP_KERNEL); in adis_update_scan_mode_burst() 37 if (!adis->xfer) in adis_update_scan_mode_burst() 42 kfree(adis->xfer); in adis_update_scan_mode_burst() 43 adis->xfer = NULL; in adis_update_scan_mode_burst() 51 adis->xfer[0].tx_buf = tx; in adis_update_scan_mode_burst() 52 adis->xfer[0].bits_per_word = 8; in adis_update_scan_mode_burst() 53 adis->xfer[0].len = 2; in adis_update_scan_mode_burst() 55 adis->xfer[0].speed_hz = adis->data->burst_max_speed_hz; in adis_update_scan_mode_burst() 56 adis->xfer[1].rx_buf = adis->buffer; in adis_update_scan_mode_burst() 57 adis->xfer[1].bits_per_word = 8; in adis_update_scan_mode_burst() [all …]
|
/linux/drivers/spi/ |
H A D | spi-axi-spi-engine.c | 151 struct spi_transfer *xfer) in spi_engine_gen_xfer() argument 155 if (xfer->bits_per_word <= 8) in spi_engine_gen_xfer() 156 len = xfer->len; in spi_engine_gen_xfer() 157 else if (xfer->bits_per_word <= 16) in spi_engine_gen_xfer() 158 len = xfer->len / 2; in spi_engine_gen_xfer() 160 len = xfer->len / 4; in spi_engine_gen_xfer() 166 if (xfer->tx_buf) in spi_engine_gen_xfer() 168 if (xfer->rx_buf) in spi_engine_gen_xfer() 224 struct spi_transfer *xfer; in spi_engine_precompile_message() local 226 list_for_each_entry(xfer, &msg->transfers, transfer_list) { in spi_engine_precompile_message() [all …]
|
H A D | spi.c | 314 struct spi_transfer *xfer, in spi_statistics_add_transfer_stats() argument 317 int l2len = min(fls(xfer->len), SPI_STATISTICS_HISTO_SIZE) - 1; in spi_statistics_add_transfer_stats() 330 u64_stats_add(&stats->bytes, xfer->len); in spi_statistics_add_transfer_stats() 331 if (spi_valid_txbuf(msg, xfer)) in spi_statistics_add_transfer_stats() 332 u64_stats_add(&stats->bytes_tx, xfer->len); in spi_statistics_add_transfer_stats() 333 if (spi_valid_rxbuf(msg, xfer)) in spi_statistics_add_transfer_stats() 334 u64_stats_add(&stats->bytes_rx, xfer->len); in spi_statistics_add_transfer_stats() 1235 struct spi_transfer *xfer; in __spi_map_msg() local 1256 list_for_each_entry(xfer, &msg->transfers, transfer_list) { in __spi_map_msg() 1260 if (!ctlr->can_dma(ctlr, msg->spi, xfer)) in __spi_map_msg() [all …]
|
H A D | spi-slave-mt27xx.c | 164 struct spi_transfer *xfer) in mtk_spi_slave_fifo_transfer() argument 172 if (xfer->rx_buf) in mtk_spi_slave_fifo_transfer() 174 if (xfer->tx_buf) in mtk_spi_slave_fifo_transfer() 178 cnt = xfer->len / 4; in mtk_spi_slave_fifo_transfer() 179 if (xfer->tx_buf) in mtk_spi_slave_fifo_transfer() 181 xfer->tx_buf, cnt); in mtk_spi_slave_fifo_transfer() 183 remainder = xfer->len % 4; in mtk_spi_slave_fifo_transfer() 184 if (xfer->tx_buf && remainder > 0) { in mtk_spi_slave_fifo_transfer() 186 memcpy(®_val, xfer->tx_buf + cnt * 4, remainder); in mtk_spi_slave_fifo_transfer() 201 struct spi_transfer *xfer) in mtk_spi_slave_dma_transfer() argument [all …]
|
H A D | spi-rockchip.c | 198 struct spi_transfer *xfer; /* Store xfer temporarily */ member 384 struct spi_transfer *xfer) in rockchip_spi_prepare_irq() argument 386 rs->tx = xfer->tx_buf; in rockchip_spi_prepare_irq() 387 rs->rx = xfer->rx_buf; in rockchip_spi_prepare_irq() 388 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq() 389 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq() 453 struct spi_controller *ctlr, struct spi_transfer *xfer) in rockchip_spi_prepare_dma() argument 459 rs->tx = xfer->tx_buf; in rockchip_spi_prepare_dma() 460 rs->rx = xfer->rx_buf; in rockchip_spi_prepare_dma() 463 if (xfer->rx_buf) { in rockchip_spi_prepare_dma() [all …]
|
H A D | spi-loopback-test.c | 445 struct spi_transfer *xfer; in spi_test_dump_message() local 458 list_for_each_entry(xfer, &msg->transfers, transfer_list) { in spi_test_dump_message() 459 dev_info(&spi->dev, " spi_transfer@%pK\n", xfer); in spi_test_dump_message() 460 dev_info(&spi->dev, " len: %i\n", xfer->len); in spi_test_dump_message() 461 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf); in spi_test_dump_message() 462 if (dump_data && xfer->tx_buf) in spi_test_dump_message() 464 xfer->tx_buf, in spi_test_dump_message() 465 xfer->len); in spi_test_dump_message() 467 dev_info(&spi->dev, " rx_buf: %pK\n", xfer->rx_buf); in spi_test_dump_message() 468 if (dump_data && xfer->rx_buf) in spi_test_dump_message() [all …]
|
/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 362 dw_edma_device_transfer(struct dw_edma_transfer *xfer) in dw_edma_device_transfer() argument 364 struct dw_edma_chan *chan = dchan2dw_edma_chan(xfer->dchan); in dw_edma_device_transfer() 365 enum dma_transfer_direction dir = xfer->direction; in dw_edma_device_transfer() 414 if (xfer->type == EDMA_XFER_CYCLIC) { in dw_edma_device_transfer() 415 if (!xfer->xfer.cyclic.len || !xfer->xfer.cyclic.cnt) in dw_edma_device_transfer() 417 } else if (xfer->type == EDMA_XFER_SCATTER_GATHER) { in dw_edma_device_transfer() 418 if (xfer->xfer.sg.len < 1) in dw_edma_device_transfer() 420 } else if (xfer->type == EDMA_XFER_INTERLEAVED) { in dw_edma_device_transfer() 421 if (!xfer->xfer.il->numf || xfer->xfer.il->frame_size < 1) in dw_edma_device_transfer() 423 if (!xfer->xfer.il->src_inc || !xfer->xfer.il->dst_inc) in dw_edma_device_transfer() [all …]
|
/linux/include/trace/events/ |
H A D | spi.h | 174 #define spi_valid_txbuf(msg, xfer) \ argument 175 (xfer->tx_buf && xfer->tx_buf != msg->spi->controller->dummy_tx) 176 #define spi_valid_rxbuf(msg, xfer) \ argument 177 (xfer->rx_buf && xfer->rx_buf != msg->spi->controller->dummy_rx) 181 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer), 183 TP_ARGS(msg, xfer), 188 __field( struct spi_transfer *, xfer ) 191 spi_valid_rxbuf(msg, xfer) ? 192 (xfer->len < 64 ? xfer->len : 64) : 0) 194 spi_valid_txbuf(msg, xfer) ? [all …]
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 120 struct spi_transfer *xfer = &kss->spi_xfer1; in ks8851_wrreg16_spi() local 128 xfer->tx_buf = txb; in ks8851_wrreg16_spi() 129 xfer->rx_buf = NULL; in ks8851_wrreg16_spi() 130 xfer->len = 4; in ks8851_wrreg16_spi() 151 struct spi_transfer *xfer; in ks8851_rdreg() local 161 xfer = kss->spi_xfer2; in ks8851_rdreg() 163 xfer->tx_buf = txb; in ks8851_rdreg() 164 xfer->rx_buf = NULL; in ks8851_rdreg() 165 xfer->len = 2; in ks8851_rdreg() 167 xfer++; in ks8851_rdreg() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | spilib.c | 151 static struct spi_transfer *get_next_xfer(struct spi_transfer *xfer, in get_next_xfer() argument 154 if (xfer == list_last_entry(&msg->transfers, struct spi_transfer, in get_next_xfer() 158 return list_next_entry(xfer, transfer_list); in get_next_xfer() 167 struct spi_transfer *xfer; in gb_spi_operation_create() local 178 xfer = spi->first_xfer; in gb_spi_operation_create() 184 spi->last_xfer = xfer; in gb_spi_operation_create() 186 if (!xfer->tx_buf && !xfer->rx_buf) { in gb_spi_operation_create() 188 "bufferless transfer, length %u\n", xfer->len); in gb_spi_operation_create() 196 if (xfer->tx_buf) { in gb_spi_operation_create() 197 len = xfer->len - spi->tx_xfer_offset; in gb_spi_operation_create() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-cgbc.c | 179 static unsigned int cgbc_i2c_xfer_to_cmd(struct cgbc_i2c_transfer xfer, u8 *cmd) in cgbc_i2c_xfer_to_cmd() argument 183 cmd[i++] = CGBC_I2C_CMD_START | xfer.bus_id; in cgbc_i2c_xfer_to_cmd() 185 cmd[i] = (xfer.start) ? CGBC_I2C_START : 0x00; in cgbc_i2c_xfer_to_cmd() 186 if (xfer.stop) in cgbc_i2c_xfer_to_cmd() 188 cmd[i++] |= (xfer.start) ? xfer.write + 1 : xfer.write; in cgbc_i2c_xfer_to_cmd() 190 cmd[i++] = (xfer.last_ack) ? (xfer.read | CGBC_I2C_LAST_ACK) : xfer.read; in cgbc_i2c_xfer_to_cmd() 192 if (xfer.start) in cgbc_i2c_xfer_to_cmd() 193 cmd[i++] = xfer.addr; in cgbc_i2c_xfer_to_cmd() 195 if (xfer.write > 0) in cgbc_i2c_xfer_to_cmd() 196 memcpy(&cmd[i], &xfer.data, xfer.write); in cgbc_i2c_xfer_to_cmd() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | nwl-dsi.c | 112 struct nwl_dsi_transfer *xfer; member 368 struct nwl_dsi_transfer *xfer = dsi->xfer; in nwl_dsi_read_packet() local 370 u8 *payload = xfer->msg->rx_buf; in nwl_dsi_read_packet() 376 xfer->status = 0; in nwl_dsi_read_packet() 378 if (xfer->rx_word_count == 0) { in nwl_dsi_read_packet() 385 xfer->status = err; in nwl_dsi_read_packet() 390 if (channel != xfer->msg->channel) { in nwl_dsi_read_packet() 393 xfer->cmd, channel, xfer->msg->channel); in nwl_dsi_read_packet() 394 xfer->status = -EINVAL; in nwl_dsi_read_packet() 401 if (xfer->msg->rx_len > 1) { in nwl_dsi_read_packet() [all …]
|
H A D | samsung-dsim.c | 1089 struct samsung_dsim_transfer *xfer) in samsung_dsim_send_to_fifo() argument 1092 struct mipi_dsi_packet *pkt = &xfer->packet; in samsung_dsim_send_to_fifo() 1093 const u8 *payload = pkt->payload + xfer->tx_done; in samsung_dsim_send_to_fifo() 1094 u16 length = pkt->payload_length - xfer->tx_done; in samsung_dsim_send_to_fifo() 1095 bool first = !xfer->tx_done; in samsung_dsim_send_to_fifo() 1099 xfer, length, xfer->tx_done, xfer->rx_len, xfer->rx_done); in samsung_dsim_send_to_fifo() 1104 xfer->tx_done += length; in samsung_dsim_send_to_fifo() 1138 if (NEQV(xfer->flags & MIPI_DSI_MSG_USE_LPM, in samsung_dsim_send_to_fifo() 1140 samsung_dsim_set_cmd_lpm(dsi, xfer->flags & MIPI_DSI_MSG_USE_LPM); in samsung_dsim_send_to_fifo() 1146 if (xfer->flags & MIPI_DSI_MSG_REQ_ACK) in samsung_dsim_send_to_fifo() [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | ad7877.c | 147 struct spi_transfer xfer[6]; member 177 struct spi_transfer xfer[AD7877_NR_SENSE + 2]; member 212 req->xfer[0].tx_buf = &req->command; in ad7877_read() 213 req->xfer[0].len = 2; in ad7877_read() 214 req->xfer[0].cs_change = 1; in ad7877_read() 216 req->xfer[1].rx_buf = &req->sample; in ad7877_read() 217 req->xfer[1].len = 2; in ad7877_read() 219 spi_message_add_tail(&req->xfer[0], &req->msg); in ad7877_read() 220 spi_message_add_tail(&req->xfer[1], &req->msg); in ad7877_read() 242 req->xfer[0].tx_buf = &req->command; in ad7877_write() [all …]
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-regmap.c | 31 struct spi_transfer xfer[] = { in mcp251xfd_regmap_nocrc_gather_write() local 47 return spi_sync_transfer(spi, xfer, ARRAY_SIZE(xfer)); in mcp251xfd_regmap_nocrc_gather_write() 106 struct spi_transfer xfer[2] = { }; in mcp251xfd_regmap_nocrc_update_bits() local 110 spi_message_add_tail(&xfer[0], &msg); in mcp251xfd_regmap_nocrc_update_bits() 113 xfer[0].tx_buf = buf_tx; in mcp251xfd_regmap_nocrc_update_bits() 114 xfer[0].len = sizeof(buf_tx->cmd); in mcp251xfd_regmap_nocrc_update_bits() 116 xfer[1].rx_buf = buf_rx->data; in mcp251xfd_regmap_nocrc_update_bits() 117 xfer[1].len = len; in mcp251xfd_regmap_nocrc_update_bits() 118 spi_message_add_tail(&xfer[1], &msg); in mcp251xfd_regmap_nocrc_update_bits() 120 xfer[0].tx_buf = buf_tx; in mcp251xfd_regmap_nocrc_update_bits() [all …]
|
H A D | mcp251xfd-ring.c | 70 struct spi_transfer *xfer; in mcp251xfd_ring_init_tef() local 102 xfer = &tef_ring->uinc_xfer[i]; in mcp251xfd_ring_init_tef() 103 xfer->tx_buf = &tef_ring->uinc_buf; in mcp251xfd_ring_init_tef() 104 xfer->len = len; in mcp251xfd_ring_init_tef() 105 xfer->cs_change = 1; in mcp251xfd_ring_init_tef() 106 xfer->cs_change_delay.value = 0; in mcp251xfd_ring_init_tef() 107 xfer->cs_change_delay.unit = SPI_DELAY_UNIT_NSECS; in mcp251xfd_ring_init_tef() 117 xfer->cs_change = 0; in mcp251xfd_ring_init_tef() 127 xfer->tx_buf = &tef_ring->uinc_irq_disable_buf; in mcp251xfd_ring_init_tef() 128 xfer->len = len; in mcp251xfd_ring_init_tef() [all …]
|
/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_spi.c | 48 struct spi_transfer *xfer = ax_spi->spi_rx_xfer; in axspi_read_rxq() local 53 xfer->tx_buf = ax_spi->cmd_buf; in axspi_read_rxq() 54 xfer->rx_buf = NULL; in axspi_read_rxq() 55 xfer->len = ax_spi->comp ? 2 : 5; in axspi_read_rxq() 56 xfer->bits_per_word = 8; in axspi_read_rxq() 57 spi_message_add_tail(xfer, &ax_spi->rx_msg); in axspi_read_rxq() 59 xfer++; in axspi_read_rxq() 60 xfer->rx_buf = data; in axspi_read_rxq() 61 xfer->tx_buf = NULL; in axspi_read_rxq() 62 xfer->len = len; in axspi_read_rxq() [all …]
|
/linux/drivers/i3c/master/ |
H A D | dw-i3c-master.c | 383 struct dw_i3c_xfer *xfer; in dw_i3c_master_alloc_xfer() local 385 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in dw_i3c_master_alloc_xfer() 386 if (!xfer) in dw_i3c_master_alloc_xfer() 389 INIT_LIST_HEAD(&xfer->node); in dw_i3c_master_alloc_xfer() 390 xfer->ncmds = ncmds; in dw_i3c_master_alloc_xfer() 391 xfer->ret = -ETIMEDOUT; in dw_i3c_master_alloc_xfer() 393 return xfer; in dw_i3c_master_alloc_xfer() 396 static void dw_i3c_master_free_xfer(struct dw_i3c_xfer *xfer) in dw_i3c_master_free_xfer() argument 398 kfree(xfer); in dw_i3c_master_free_xfer() 403 struct dw_i3c_xfer *xfer = master->xferqueue.cur; in dw_i3c_master_start_xfer_locked() local [all …]
|