Lines Matching refs:message
82 struct spi_message *message; /* current message */ member
102 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel()
160 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle()
161 list_del_init(&ms->message->queue); in mpc52xx_spi_fsmstate_idle()
165 spi = ms->message->spi; in mpc52xx_spi_fsmstate_idle()
177 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; in mpc52xx_spi_fsmstate_idle()
194 ms->transfer = container_of(ms->message->transfers.next, in mpc52xx_spi_fsmstate_idle()
237 ms->message->status = -EIO; in mpc52xx_spi_fsmstate_transfer()
238 ms->message->complete(ms->message->context); in mpc52xx_spi_fsmstate_transfer()
283 ms->message->actual_length += ms->transfer->len; in mpc52xx_spi_fsmstate_wait()
288 if (ms->transfer->transfer_list.next == &ms->message->transfers) { in mpc52xx_spi_fsmstate_wait()
291 ms->message->status = 0; in mpc52xx_spi_fsmstate_wait()
292 ms->message->complete(ms->message->context); in mpc52xx_spi_fsmstate_wait()