Home
last modified time | relevance | path

Searched refs:current_msg (Results 1 – 5 of 5) sorted by relevance

/drivers/i2c/busses/
Di2c-efm32.c127 size_t current_word, current_msg; member
144 struct i2c_msg *cur_msg = &ddata->msgs[ddata->current_msg]; in efm32_i2c_send_next_msg()
153 struct i2c_msg *cur_msg = &ddata->msgs[ddata->current_msg]; in efm32_i2c_send_next_byte()
158 ddata->current_msg += 1; in efm32_i2c_send_next_byte()
160 if (ddata->current_msg >= ddata->num_msgs) { in efm32_i2c_send_next_byte()
174 struct i2c_msg *cur_msg = &ddata->msgs[ddata->current_msg]; in efm32_i2c_recv_next_byte()
181 ddata->current_msg += 1; in efm32_i2c_recv_next_byte()
185 if (ddata->current_msg >= ddata->num_msgs) { in efm32_i2c_recv_next_byte()
199 struct i2c_msg *cur_msg = &ddata->msgs[ddata->current_msg]; in efm32_i2c_irq()
270 ddata->current_msg = 0; in efm32_i2c_master_xfer()
[all …]
/drivers/spi/
Dspi-topcliff-pch.c184 struct spi_message *current_msg; member
363 if (data->current_msg->complete) { in pch_spi_handler()
365 data->current_msg->status = -EIO; in pch_spi_handler()
366 data->current_msg->complete(data->current_msg->context); in pch_spi_handler()
368 data->current_msg = NULL; in pch_spi_handler()
566 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) { in pch_spi_set_tx()
572 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_set_tx()
646 data->current_msg->status = 0; in pch_spi_nomore_transfer()
648 if (data->current_msg->complete) { in pch_spi_nomore_transfer()
651 data->current_msg->complete(data->current_msg->context); in pch_spi_nomore_transfer()
[all …]
Dspi-ep93xx.c97 struct spi_message *current_msg; member
389 struct spi_message *msg = espi->current_msg; in ep93xx_spi_read_write()
434 struct spi_transfer *t = espi->current_msg->state; in ep93xx_spi_dma_prepare()
557 struct spi_message *msg = espi->current_msg; in ep93xx_spi_dma_transfer()
740 espi->current_msg = msg; in ep93xx_spi_transfer_one_message()
742 espi->current_msg = NULL; in ep93xx_spi_transfer_one_message()
763 espi->current_msg->status = -EIO; in ep93xx_spi_interrupt()
/drivers/s390/char/
Dsclp_rw.c127 buffer->current_msg = msg; in sclp_initialize_mto()
149 msg = buffer->current_msg; in sclp_finalize_mto()
165 buffer->current_msg = NULL; in sclp_finalize_mto()
223 buffer->current_msg->mdb.go.general_msg_flags |= in sclp_write()
Dsclp_rw.h68 struct msg_buf *current_msg; member