Lines Matching refs:num_words
229 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo() argument
235 for (; num_words; num_words--) { in spi_qup_read_from_fifo()
264 u32 remainder, words_per_block, num_words; in spi_qup_read() local
280 num_words = (remainder > words_per_block) ? in spi_qup_read()
287 num_words = 1; in spi_qup_read()
291 spi_qup_read_from_fifo(controller, num_words); in spi_qup_read()
293 remainder -= num_words; in spi_qup_read()
317 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo() argument
323 for (; num_words; num_words--) { in spi_qup_write_to_fifo()
351 u32 remainder, words_per_block, num_words; in spi_qup_write() local
367 num_words = (remainder > words_per_block) ? in spi_qup_write()
374 num_words = 1; in spi_qup_write()
377 spi_qup_write_to_fifo(controller, num_words); in spi_qup_write()
379 remainder -= num_words; in spi_qup_write()