Lines Matching refs:current_msg
179 struct spi_message *current_msg; member
358 if (data->current_msg->complete) { in pch_spi_handler()
360 data->current_msg->status = -EIO; in pch_spi_handler()
361 data->current_msg->complete(data->current_msg->context); in pch_spi_handler()
363 data->current_msg = NULL; in pch_spi_handler()
561 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) { in pch_spi_set_tx()
567 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_set_tx()
643 data->current_msg->status = 0; in pch_spi_nomore_transfer()
645 if (data->current_msg->complete) { in pch_spi_nomore_transfer()
648 data->current_msg->complete(data->current_msg->context); in pch_spi_nomore_transfer()
657 data->current_msg = NULL; in pch_spi_nomore_transfer()
946 (data->current_msg->spi->bits_per_word != in pch_spi_handle_dma()
955 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_handle_dma()
1161 data->current_msg = list_entry(data->queue.next, struct spi_message, in pch_spi_process_messages()
1164 list_del_init(&data->current_msg->queue); in pch_spi_process_messages()
1166 data->current_msg->status = 0; in pch_spi_process_messages()
1168 pch_spi_select_chip(data, data->current_msg->spi); in pch_spi_process_messages()
1174 data->current_msg->spi->bits_per_word); in pch_spi_process_messages()
1184 list_entry(data->current_msg->transfers.next, in pch_spi_process_messages()
1211 data->current_msg->status = -EIO; in pch_spi_process_messages()
1212 data->current_msg->complete in pch_spi_process_messages()
1213 (data->current_msg->context); in pch_spi_process_messages()
1215 data->current_msg = NULL; in pch_spi_process_messages()
1233 data->current_msg->actual_length += data->cur_trans->len; in pch_spi_process_messages()
1237 __func__, data->current_msg->actual_length); in pch_spi_process_messages()
1245 &(data->current_msg->transfers)) { in pch_spi_process_messages()