Home
last modified time | relevance | path

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

/drivers/char/xilinx_hwicap/
Dfifo_icap.c297 u32 words_to_read; in fifo_icap_get_configuration() local
310 words_to_read = remaining_words; in fifo_icap_get_configuration()
313 if (words_to_read > XHI_MAX_READ_TRANSACTION_WORDS) in fifo_icap_get_configuration()
314 words_to_read = XHI_MAX_READ_TRANSACTION_WORDS; in fifo_icap_get_configuration()
316 remaining_words -= words_to_read; in fifo_icap_get_configuration()
318 fifo_icap_set_read_size(drvdata, words_to_read); in fifo_icap_get_configuration()
321 while (words_to_read > 0) { in fifo_icap_get_configuration()
331 if (read_fifo_occupancy > words_to_read) in fifo_icap_get_configuration()
332 read_fifo_occupancy = words_to_read; in fifo_icap_get_configuration()
334 words_to_read -= read_fifo_occupancy; in fifo_icap_get_configuration()
Dbuffer_icap.c336 u32 words_to_read = in buffer_icap_get_configuration() local
345 words_to_read); in buffer_icap_get_configuration()
/drivers/spi/
Dspi-qcom-qspi.c337 unsigned int words_to_read; in pio_read() local
352 words_to_read = wr_cnts / QSPI_BYTES_PER_WORD; in pio_read()
355 if (words_to_read) { in pio_read()
357 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()
358 ioread32_rep(ctrl->base + RD_FIFO, word_buf, words_to_read); in pio_read()
359 ctrl->xfer.rx_buf = word_buf + words_to_read; in pio_read()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c861 u16 words_to_read; in ixgbe_read_ee_hostif_buffer_X550() local
874 words_to_read = FW_MAX_READ_BUFFER_SIZE / 2; in ixgbe_read_ee_hostif_buffer_X550()
876 words_to_read = words; in ixgbe_read_ee_hostif_buffer_X550()
886 buffer.length = (__force u16)cpu_to_be16(words_to_read * 2); in ixgbe_read_ee_hostif_buffer_X550()
897 for (i = 0; i < words_to_read; i++) { in ixgbe_read_ee_hostif_buffer_X550()
905 if (i < words_to_read) { in ixgbe_read_ee_hostif_buffer_X550()
911 words -= words_to_read; in ixgbe_read_ee_hostif_buffer_X550()