Lines Matching refs:cnt
309 register int cnt;
311 NCR_DMA(("cbsc_dma_intr: cnt %d int %x stat %x fifo %d ",
320 cnt = csc->sc_reg[NCR_TCL * 4];
321 cnt += csc->sc_reg[NCR_TCM * 4] << 8;
322 cnt += csc->sc_reg[NCR_TCH * 4] << 16;
324 cnt += csc->sc_reg[NCR_FFLAG * 4] & NCRFIFO_FF;
327 cnt = csc->sc_dmasize - cnt; /* number of bytes transferred */
328 NCR_DMA(("DMA xferred %d\n", cnt));
330 memcpy(*csc->sc_dmaaddr, csc->sc_alignbuf, cnt);
333 *csc->sc_dmaaddr += cnt;
334 *csc->sc_pdmalen -= cnt;