Lines Matching refs:current_msg
175 struct spi_message *current_msg; member
354 if (data->current_msg->complete) { in pch_spi_handler()
356 data->current_msg->status = -EIO; in pch_spi_handler()
357 data->current_msg->complete(data->current_msg->context); in pch_spi_handler()
359 data->current_msg = NULL; in pch_spi_handler()
557 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) { in pch_spi_set_tx()
563 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_set_tx()
637 data->current_msg->status = 0; in pch_spi_nomore_transfer()
639 if (data->current_msg->complete) { in pch_spi_nomore_transfer()
642 data->current_msg->complete(data->current_msg->context); in pch_spi_nomore_transfer()
651 data->current_msg = NULL; in pch_spi_nomore_transfer()
940 (data->current_msg->spi->bits_per_word != in pch_spi_handle_dma()
949 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_handle_dma()
1155 data->current_msg = list_entry(data->queue.next, struct spi_message, in pch_spi_process_messages()
1158 list_del_init(&data->current_msg->queue); in pch_spi_process_messages()
1160 data->current_msg->status = 0; in pch_spi_process_messages()
1162 pch_spi_select_chip(data, data->current_msg->spi); in pch_spi_process_messages()
1168 data->current_msg->spi->bits_per_word); in pch_spi_process_messages()
1178 list_entry(data->current_msg->transfers.next, in pch_spi_process_messages()
1204 data->current_msg->status = -EIO; in pch_spi_process_messages()
1205 data->current_msg->complete in pch_spi_process_messages()
1206 (data->current_msg->context); in pch_spi_process_messages()
1208 data->current_msg = NULL; in pch_spi_process_messages()
1226 data->current_msg->actual_length += data->cur_trans->len; in pch_spi_process_messages()
1230 __func__, data->current_msg->actual_length); in pch_spi_process_messages()
1243 &(data->current_msg->transfers)) { in pch_spi_process_messages()