Home
last modified time | relevance | path

Searched refs:words_to_read (Results 1 – 3 of 3) 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.c339 u32 words_to_read = in buffer_icap_get_configuration() local
348 words_to_read); in buffer_icap_get_configuration()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c542 u16 words_to_read; in ixgbe_read_ee_hostif_buffer_X550() local
555 words_to_read = FW_MAX_READ_BUFFER_SIZE / 2; in ixgbe_read_ee_hostif_buffer_X550()
557 words_to_read = words; in ixgbe_read_ee_hostif_buffer_X550()
566 buffer.length = cpu_to_be16(words_to_read * 2); in ixgbe_read_ee_hostif_buffer_X550()
579 for (i = 0; i < words_to_read; i++) { in ixgbe_read_ee_hostif_buffer_X550()
587 if (i < words_to_read) { in ixgbe_read_ee_hostif_buffer_X550()
593 words -= words_to_read; in ixgbe_read_ee_hostif_buffer_X550()