Lines Matching refs:dma_cnt
144 register unsigned long dma_cnt asm ("d3"); in hades_dma_emulator()
160 dma_cnt = SCSI_DMA_READ_P(dma_cnt); in hades_dma_emulator()
172 if (dma_cnt == 0) in hades_dma_emulator()
202 end_addr = start_addr + dma_cnt; in hades_dma_emulator()
205 dma_cnt--; in hades_dma_emulator()
206 rem = dma_cnt & (TRANSFER_SIZE - 1); in hades_dma_emulator()
207 dma_cnt &= ~(TRANSFER_SIZE - 1); in hades_dma_emulator()
219 while (dma_cnt > 0) in hades_dma_emulator()
221 dma_cnt -= TRANSFER_SIZE; in hades_dma_emulator()
271 while (dma_cnt > 0) in hades_dma_emulator()
273 dma_cnt -= TRANSFER_SIZE; in hades_dma_emulator()
320 dma_cnt = end_addr - start_addr; in hades_dma_emulator()
323 dma_base = (dma_cnt == 0) ? virt_to_phys(start_addr - 1) + 1 : in hades_dma_emulator()
327 SCSI_DMA_WRITE_P(dma_cnt, dma_cnt); in hades_dma_emulator()
427 dma_cnt = end_addr - start_addr; in hades_dma_emulator()
443 if (dma_cnt <= 1) in hades_dma_emulator()