Lines Matching refs:cnt
310 register int cnt;
312 NCR_DMA(("bztzsc_dma_intr: cnt %d int %x stat %x fifo %d ",
321 cnt = bsc->sc_reg[NCR_TCL * 4];
322 cnt += bsc->sc_reg[NCR_TCM * 4] << 8;
323 cnt += bsc->sc_reg[NCR_TCH * 4] << 16;
325 cnt += bsc->sc_reg[NCR_FFLAG * 4] & NCRFIFO_FF;
328 cnt = bsc->sc_dmasize - cnt; /* number of bytes transferred */
329 NCR_DMA(("DMA xferred %d\n", cnt));
331 memcpy(*bsc->sc_dmaaddr, bsc->sc_alignbuf, cnt);
334 *bsc->sc_dmaaddr += cnt;
335 *bsc->sc_pdmalen -= cnt;