Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/xilinx_hwicap/
H A 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()
H A Dbuffer_icap.c336 u32 words_to_read = in buffer_icap_get_configuration() local
345 words_to_read); in buffer_icap_get_configuration()
/openbmc/linux/drivers/spi/
H A 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()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_x550.c860 u16 words_to_read; in ixgbe_read_ee_hostif_buffer_X550() local
873 words_to_read = FW_MAX_READ_BUFFER_SIZE / 2; in ixgbe_read_ee_hostif_buffer_X550()
875 words_to_read = words; in ixgbe_read_ee_hostif_buffer_X550()
885 buffer.length = (__force u16)cpu_to_be16(words_to_read * 2); in ixgbe_read_ee_hostif_buffer_X550()
896 for (i = 0; i < words_to_read; i++) { in ixgbe_read_ee_hostif_buffer_X550()
904 if (i < words_to_read) { in ixgbe_read_ee_hostif_buffer_X550()
910 words -= words_to_read; in ixgbe_read_ee_hostif_buffer_X550()