Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/xilinx_hwicap/
H A 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 …]
/openbmc/linux/drivers/spi/
H A Dspi-xilinx.c241 int remaining_words; /* the number of words left to transfer */ in xilinx_spi_txrx_bufs() local
249 remaining_words = t->len / xspi->bytes_per_word; in xilinx_spi_txrx_bufs()
252 (xspi->force_irq || remaining_words > xspi->buffer_size)) { in xilinx_spi_txrx_bufs()
270 while (remaining_words) { in xilinx_spi_txrx_bufs()
275 n_words = min(remaining_words, xspi->buffer_size); in xilinx_spi_txrx_bufs()
326 remaining_words -= n_words; in xilinx_spi_txrx_bufs()
H A Dspi-sifive.c262 unsigned int remaining_words = t->len; in sifive_spi_transfer_one() local
264 while (remaining_words) { in sifive_spi_transfer_one()
265 unsigned int n_words = min(remaining_words, spi->fifo_depth); in sifive_spi_transfer_one()
286 remaining_words -= n_words; in sifive_spi_transfer_one()