Home
last modified time | relevance | path

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

/drivers/char/xilinx_hwicap/
Dfifo_icap.c219 u32 remaining_words; in fifo_icap_set_configuration() local
232 remaining_words = num_words; in fifo_icap_set_configuration()
234 while (remaining_words > 0) { in fifo_icap_set_configuration()
250 (remaining_words > 0)) { in fifo_icap_set_configuration()
253 remaining_words--; in fifo_icap_set_configuration()
274 if (remaining_words != 0) in fifo_icap_set_configuration()
296 u32 remaining_words; in fifo_icap_get_configuration() local
307 remaining_words = num_words; in fifo_icap_get_configuration()
309 while (remaining_words > 0) { in fifo_icap_get_configuration()
310 words_to_read = remaining_words; in fifo_icap_get_configuration()
[all …]
/drivers/spi/
Dspi-xilinx.c243 int remaining_words; /* the number of words left to transfer */ in xilinx_spi_txrx_bufs() local
251 remaining_words = t->len / xspi->bytes_per_word; in xilinx_spi_txrx_bufs()
253 if (xspi->irq >= 0 && remaining_words > xspi->buffer_size) { in xilinx_spi_txrx_bufs()
271 while (remaining_words) { in xilinx_spi_txrx_bufs()
276 n_words = min(remaining_words, xspi->buffer_size); in xilinx_spi_txrx_bufs()
327 remaining_words -= n_words; in xilinx_spi_txrx_bufs()