Lines Matching refs:nb
680 int i, seq, nb; in start_phase() local
790 nb = ms->dma_count; in start_phase()
791 if (nb > 0xfff0) in start_phase()
792 nb = 0xfff0; in start_phase()
793 ms->dma_count -= nb; in start_phase()
794 ms->data_ptr += nb; in start_phase()
795 out_8(&mr->count_lo, nb); in start_phase()
796 out_8(&mr->count_hi, nb >> 8); in start_phase()
1323 int t, nb; in halt_dma() local
1335 nb = (mr->count_hi << 8) + mr->count_lo; in halt_dma()
1337 MKWORD(0, mr->fifo_count, 0, nb)); in halt_dma()
1339 nb += mr->fifo_count; in halt_dma()
1342 ms->data_ptr -= nb; in halt_dma()
1346 ms->data_ptr, nb, ms); in halt_dma()