Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/axis-fifo/
Daxis-fifo.c443 unsigned int words_to_write; in axis_fifo_write() local
456 words_to_write = len / sizeof(u32); in axis_fifo_write()
458 if (!words_to_write) { in axis_fifo_write()
464 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write()
466 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write()
474 if (words_to_write > ioread32(fifo->base_addr + in axis_fifo_write()
488 >= words_to_write, in axis_fifo_write()
514 while (words_to_write > 0) { in axis_fifo_write()
515 copy = min(words_to_write, WRITE_BUF_SIZE); in axis_fifo_write()
528 words_to_write -= copy; in axis_fifo_write()
/Linux-v4.19/sound/pci/hda/
Dpatch_ca0132.c2667 unsigned int words_to_write; in dspxfr_one_seg() local
2702 words_to_write = fls->count; in dspxfr_one_seg()
2704 if (!words_to_write) in dspxfr_one_seg()
2709 if (!UC_RANGE(chip_addx, words_to_write) && in dspxfr_one_seg()
2710 !X_RANGE_ALL(chip_addx, words_to_write) && in dspxfr_one_seg()
2711 !Y_RANGE_ALL(chip_addx, words_to_write)) { in dspxfr_one_seg()
2754 remainder_words = words_to_write % hda_frame_size_words; in dspxfr_one_seg()
2760 words_to_write -= remainder_words; in dspxfr_one_seg()
2762 while (words_to_write != 0) { in dspxfr_one_seg()
2763 run_size_words = min(buffer_size_words, words_to_write); in dspxfr_one_seg()
[all …]