Lines Matching refs:nr_words
244 unsigned int nr_words; in hci_pio_do_rx() local
254 nr_words = min(xfer->data_left / 4, pio->rx_thresh_size); in hci_pio_do_rx()
256 xfer->data_left -= nr_words * 4; in hci_pio_do_rx()
257 DBG("now %d left %d", nr_words * 4, xfer->data_left); in hci_pio_do_rx()
258 while (nr_words--) in hci_pio_do_rx()
278 unsigned int nr_words = count / 4; in hci_pio_do_trailing_rx() local
280 xfer->data_left -= nr_words * 4; in hci_pio_do_trailing_rx()
281 DBG("now %d left %d", nr_words * 4, xfer->data_left); in hci_pio_do_trailing_rx()
282 while (nr_words--) in hci_pio_do_trailing_rx()
310 unsigned int nr_words; in hci_pio_do_tx() local
321 nr_words = min(xfer->data_left / 4, pio->tx_thresh_size); in hci_pio_do_tx()
323 xfer->data_left -= nr_words * 4; in hci_pio_do_tx()
324 DBG("now %d left %d", nr_words * 4, xfer->data_left); in hci_pio_do_tx()
325 while (nr_words--) in hci_pio_do_tx()
760 unsigned int nr_words, thresh_val; in hci_pio_get_ibi_segment() local
766 while ((nr_words = ibi->seg_cnt/4)) { in hci_pio_get_ibi_segment()
768 thresh_val = min(nr_words, pio->max_ibi_thresh); in hci_pio_get_ibi_segment()
774 nr_words = thresh_val; in hci_pio_get_ibi_segment()
775 ibi->seg_cnt -= nr_words * 4; in hci_pio_get_ibi_segment()
776 DBG("now %d left %d", nr_words * 4, ibi->seg_cnt); in hci_pio_get_ibi_segment()
777 while (nr_words--) in hci_pio_get_ibi_segment()