Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-ar934x.c84 unsigned long trx_done, trx_cur; in ar934x_spi_transfer_one_message() local
115 trx_cur = t->len - trx_done; in ar934x_spi_transfer_one_message()
116 if (trx_cur > bpw) in ar934x_spi_transfer_one_message()
117 trx_cur = bpw; in ar934x_spi_transfer_one_message()
124 for (i = 1; i < trx_cur; i++) in ar934x_spi_transfer_one_message()
130 trx_cur * 8); in ar934x_spi_transfer_one_message()
141 for (i = 0; i < trx_cur; i++) { in ar934x_spi_transfer_one_message()
142 buf[trx_cur - i - 1] = reg & 0xff; in ar934x_spi_transfer_one_message()