Lines Matching refs:cnt
302 register int cnt;
304 NCR_DMA(("cbiisc_dma_intr: cnt %d int %x stat %x fifo %d ",
313 cnt = csc->sc_reg[NCR_TCL * 4];
314 cnt += csc->sc_reg[NCR_TCM * 4] << 8;
315 cnt += csc->sc_reg[NCR_TCH * 4] << 16;
317 cnt += csc->sc_reg[NCR_FFLAG * 4] & NCRFIFO_FF;
320 cnt = csc->sc_dmasize - cnt; /* number of bytes transferred */
321 NCR_DMA(("DMA xferred %d\n", cnt));
323 memcpy(*csc->sc_dmaaddr, csc->sc_alignbuf, cnt);
326 *csc->sc_dmaaddr += cnt;
327 *csc->sc_pdmalen -= cnt;