Searched refs:words_to_read (Results 1 – 5 of 5) sorted by relevance
297 u32 words_to_read; in fifo_icap_get_configuration() local310 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()
336 u32 words_to_read = in buffer_icap_get_configuration() local345 words_to_read); in buffer_icap_get_configuration()
530 unsigned int words_to_read; in pio_read() local545 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()
377 u16 words_to_read; in wx_read_ee_hostif_buffer() local389 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()
858 u16 words_to_read; in ixgbe_read_ee_hostif_buffer_X550() local871 words_to_read = FW_MAX_READ_BUFFER_SIZE / 2; in ixgbe_read_ee_hostif_buffer_X550()873 words_to_read = words; in ixgbe_read_ee_hostif_buffer_X550()883 buffer.length = (__force u16)cpu_to_be16(words_to_read * 2); in ixgbe_read_ee_hostif_buffer_X550()894 for (i = 0; i < words_to_read; i++) { in ixgbe_read_ee_hostif_buffer_X550()902 if (i < words_to_read) { in ixgbe_read_ee_hostif_buffer_X550()908 words -= words_to_read; in ixgbe_read_ee_hostif_buffer_X550()