Home
last modified time | relevance | path

Searched refs:words_to_write (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.c477 unsigned int words_to_write; in axis_fifo_write() local
490 words_to_write = len / sizeof(u32); in axis_fifo_write()
492 if (!words_to_write) { in axis_fifo_write()
498 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write()
500 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write()
512 if (words_to_write > ioread32(fifo->base_addr + in axis_fifo_write()
526 >= words_to_write, in axis_fifo_write()
545 while (words_to_write > 0) { in axis_fifo_write()
546 copy = min(words_to_write, WRITE_BUF_SIZE); in axis_fifo_write()
560 words_to_write -= copy; in axis_fifo_write()
/openbmc/linux/sound/pci/hda/
H A Dpatch_ca0132.c3218 unsigned int words_to_write; in dspxfr_one_seg()
3253 words_to_write = fls->count; in dspxfr_one_seg()
3255 if (!words_to_write) in dspxfr_one_seg()
3260 if (!UC_RANGE(chip_addx, words_to_write) && in dspxfr_one_seg()
3261 !X_RANGE_ALL(chip_addx, words_to_write) && in dspxfr_one_seg()
3262 !Y_RANGE_ALL(chip_addx, words_to_write)) { in dspxfr_one_seg()
3305 remainder_words = words_to_write % hda_frame_size_words; in dspxfr_one_seg()
3311 words_to_write -= remainder_words; in dspxfr_one_seg()
3313 while (words_to_write != 0) { in dspxfr_one_seg()
3314 run_size_words = min(buffer_size_words, words_to_write); in dspxfr_one_seg()
3206 unsigned int words_to_write; dspxfr_one_seg() local
[all...]