Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/spi/
Dspi-qcom-qspi.c530 unsigned int words_to_read; in pio_read() local
545 words_to_read = wr_cnts / QSPI_BYTES_PER_WORD; in pio_read()
548 if (words_to_read) { in pio_read()
550 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()
551 ioread32_rep(ctrl->base + RD_FIFO, word_buf, words_to_read); in pio_read()
552 ctrl->xfer.rx_buf = word_buf + words_to_read; in pio_read()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c377 u16 words_to_read; in wx_read_ee_hostif_buffer() local
389 words_to_read = FW_MAX_READ_BUFFER_SIZE / 2; in wx_read_ee_hostif_buffer()
391 words_to_read = words; in wx_read_ee_hostif_buffer()
400 buffer.length = (__force u16)cpu_to_be16(words_to_read * 2); in wx_read_ee_hostif_buffer()
412 for (i = 0; i < words_to_read; i++) { in wx_read_ee_hostif_buffer()
419 if (i < words_to_read) { in wx_read_ee_hostif_buffer()
425 words -= words_to_read; in wx_read_ee_hostif_buffer()
/linux-6.6.21/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()