/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-hisi.c | 235 struct i2c_msg *cur_msg; in hisi_i2c_read_rx_fifo() local 239 cur_msg = ctlr->msgs + ctlr->msg_rx_idx; in hisi_i2c_read_rx_fifo() 241 if (!(cur_msg->flags & I2C_M_RD)) { in hisi_i2c_read_rx_fifo() 248 ctlr->buf_rx_idx < cur_msg->len) { in hisi_i2c_read_rx_fifo() 249 cur_msg->buf[ctlr->buf_rx_idx++] = readl(ctlr->iobase + HISI_I2C_RXDATA); in hisi_i2c_read_rx_fifo() 253 if (ctlr->buf_rx_idx == cur_msg->len) { in hisi_i2c_read_rx_fifo() 269 struct i2c_msg *cur_msg; in hisi_i2c_xfer_msg() local 273 cur_msg = ctlr->msgs + ctlr->msg_tx_idx; in hisi_i2c_xfer_msg() 282 ctlr->buf_tx_idx < cur_msg->len && max_write) { in hisi_i2c_xfer_msg() 291 if (ctlr->buf_tx_idx == cur_msg->len - 1 && last_msg) in hisi_i2c_xfer_msg() [all …]
|
/linux-6.1.9/drivers/char/ipmi/ |
D | ipmi_powernv.c | 32 struct ipmi_smi_msg *cur_msg; member 76 if (smi->cur_msg) { in ipmi_powernv_send() 98 smi->cur_msg = msg; in ipmi_powernv_send() 123 if (!smi->cur_msg) { in ipmi_powernv_recv() 129 msg = smi->cur_msg; in ipmi_powernv_recv() 147 smi->cur_msg = NULL; in ipmi_powernv_recv() 172 smi->cur_msg = NULL; in ipmi_powernv_recv()
|
/linux-6.1.9/drivers/spi/ |
D | spi-ep93xx.c | 182 struct spi_transfer *xfer = master->cur_msg->state; in ep93xx_do_write() 200 struct spi_transfer *xfer = master->cur_msg->state; in ep93xx_do_read() 229 struct spi_transfer *xfer = master->cur_msg->state; in ep93xx_spi_read_write() 276 struct spi_transfer *xfer = master->cur_msg->state; in ep93xx_spi_dma_prepare() 452 master->cur_msg->status = -EIO; in ep93xx_spi_interrupt() 496 master->cur_msg->state = xfer; in ep93xx_spi_transfer_one()
|
D | spi-pl022.c | 377 struct spi_message *cur_msg; member 479 last_transfer = list_last_entry(&pl022->cur_msg->transfers, in giveback() 509 if (next_msg && next_msg->spi != pl022->cur_msg->spi) in giveback() 511 if (!next_msg || pl022->cur_msg->state == STATE_ERROR) in giveback() 518 pl022->cur_msg = NULL; in giveback() 771 struct spi_message *msg = pl022->cur_msg; in next_transfer() 803 struct spi_message *msg = pl022->cur_msg; in dma_callback() 1249 struct spi_message *msg = pl022->cur_msg; in pl022_interrupt_handler() 1378 message = pl022->cur_msg; in pump_transfers() 1451 pl022->cur_msg->state = STATE_ERROR; in do_interrupt_dma_transfer() [all …]
|
D | spi-pxa2xx-dma.c | 23 struct spi_message *msg = drv_data->controller->cur_msg; in pxa2xx_spi_dma_transfer_complete() 67 spi_get_ctldata(drv_data->controller->cur_msg->spi); in pxa2xx_spi_dma_prepare_one()
|
D | spi-dw-dma.c | 234 dev_err(&dws->master->cur_msg->spi->dev, in dw_spi_dma_wait() 619 if (dws->master->cur_msg->status == -EINPROGRESS) { in dw_spi_dma_transfer() 625 if (xfer->rx_buf && dws->master->cur_msg->status == -EINPROGRESS) in dw_spi_dma_transfer()
|
D | spi-lantiq-ssc.c | 695 if (spi->master->cur_msg) in lantiq_ssc_err_interrupt() 696 spi->master->cur_msg->status = -EIO; in lantiq_ssc_err_interrupt() 781 if (spi->master->cur_msg) in lantiq_ssc_bussy_work() 782 spi->master->cur_msg->status = -EIO; in lantiq_ssc_bussy_work()
|
D | spi-fsl-dspi.c | 219 struct spi_message *cur_msg; member 462 struct spi_message *message = dspi->cur_msg; in dspi_dma_xfer() 812 struct spi_message *msg = dspi->cur_msg; in dspi_fifo_write() 915 dspi->cur_msg = message; in dspi_transfer_one_message() 921 &dspi->cur_msg->transfers)) { in dspi_transfer_one_message()
|
D | spi-pxa2xx.c | 587 if (drv_data->controller->cur_msg) { in reset_sccr1() 588 chip = spi_get_ctldata(drv_data->controller->cur_msg->spi); in reset_sccr1() 628 drv_data->controller->cur_msg->status = err; in int_error_stop() 767 if (!drv_data->controller->cur_msg) { in ssp_int() 918 spi_get_ctldata(drv_data->controller->cur_msg->spi); in pxa2xx_ssp_get_clk_div() 948 struct spi_message *message = controller->cur_msg; in pxa2xx_spi_transfer_one()
|
D | spi-mux.c | 90 struct spi_message *m = ctlr->cur_msg; in spi_mux_complete_cb()
|
D | spi-hisi-kunpeng.c | 346 if (!master->cur_msg) in hisi_spi_irq() 352 master->cur_msg->status = -EIO; in hisi_spi_irq()
|
D | spi-pic32.c | 228 if (pic32s->master->cur_msg) in pic32_err_stop() 229 pic32s->master->cur_msg->status = -EIO; in pic32_err_stop() 253 if (!pic32s->master->cur_msg) { in pic32_spi_fault_irq()
|
D | spi-dw-core.c | 208 if (dws->master->cur_msg) in dw_spi_check_status() 209 dws->master->cur_msg->status = ret; in dw_spi_check_status() 263 if (!master->cur_msg) { in dw_spi_irq()
|
D | spi-meson-spicc.c | 558 if (!spicc->master->cur_msg) in meson_spicc_pow2_recalc_rate() 570 if (!spicc->master->cur_msg) in meson_spicc_pow2_determine_rate() 582 if (!spicc->master->cur_msg) in meson_spicc_pow2_set_rate()
|
D | spi-geni-qcom.c | 373 spi->cur_msg->status = -EIO; in spi_gsi_callback_result() 381 spi->cur_msg->status = 0; in spi_gsi_callback_result() 440 if (!list_is_last(&xfer->transfer_list, &spi->cur_msg->transfers)) in setup_gsi_xfer()
|
D | spi.c | 1749 if (ctlr->cur_msg) in __spi_pump_messages() 1793 ctlr->cur_msg = msg; in __spi_pump_messages() 1805 ctlr->cur_msg = NULL; in __spi_pump_messages() 2003 mesg = ctlr->cur_msg; in spi_finalize_current_message() 2062 ctlr->cur_msg = NULL; in spi_start_queue() 4050 ctlr->cur_msg = msg; in __spi_transfer_message_noqueue() 4055 ctlr->cur_msg = NULL; in __spi_transfer_message_noqueue()
|
D | spi-qcom-qspi.c | 290 &master->cur_msg->transfers); in qcom_qspi_transfer_one()
|
D | spi-atmel.c | 1298 if ((!master->cur_msg->is_dma_mapped) in atmel_spi_one_transfer() 1378 if (!master->cur_msg->is_dma_mapped in atmel_spi_one_transfer()
|
/linux-6.1.9/drivers/w1/ |
D | w1_netlink.c | 29 struct w1_netlink_msg *cur_msg; /* currently message being processed */ member 145 memcpy(block->msg, block->cur_msg, sizeof(*block->msg)); in w1_netlink_queue_cmd() 456 node->block->cur_msg = node->msg; in w1_process_cb()
|
/linux-6.1.9/include/linux/spi/ |
D | spi.h | 629 struct spi_message *cur_msg; member 1520 return list_is_last(&xfer->transfer_list, &ctlr->cur_msg->transfers); in spi_transfer_is_last()
|