Lines Matching full:transferred
240 printk("DT @+%04x ST @+%04x", host->dma.transferred, in acornscsi_dumpdma()
808 host->scsi.SCp.scsi_xferred != host->dma.transferred) in acornscsi_done()
1076 unsigned int transferred; in acornscsi_dma_cleanup() local
1085 * Calculate number of bytes transferred from DMA. in acornscsi_dma_cleanup()
1087 transferred = dmac_address(host) - host->dma.start_addr; in acornscsi_dma_cleanup()
1088 host->dma.transferred += transferred; in acornscsi_dma_cleanup()
1092 host->dma.start_addr, transferred); in acornscsi_dma_cleanup()
1097 acornscsi_data_updateptr(host, &host->scsi.SCp, transferred); in acornscsi_dma_cleanup()
1117 unsigned int address, length, transferred; in acornscsi_dma_intr() local
1127 * Calculate amount transferred via DMA in acornscsi_dma_intr()
1129 transferred = dmac_address(host) - host->dma.start_addr; in acornscsi_dma_intr()
1130 host->dma.transferred += transferred; in acornscsi_dma_intr()
1137 host->dma.xfer_length = transferred; in acornscsi_dma_intr()
1142 acornscsi_data_updateptr(host, &host->scsi.SCp, transferred); in acornscsi_dma_intr()
1211 * Purpose : adjust DMA pointers & count for bytes transferred to
1219 signed long transferred; in acornscsi_dma_adjust() local
1227 * actually transferred to/from the SCSI bus. in acornscsi_dma_adjust()
1228 * host->dma.transferred is the number of bytes transferred in acornscsi_dma_adjust()
1232 * - host->dma.transferred in acornscsi_dma_adjust()
1234 transferred = host->scsi.SCp.scsi_xferred - host->dma.transferred; in acornscsi_dma_adjust()
1235 if (transferred < 0) in acornscsi_dma_adjust()
1237 host->host->host_no, acornscsi_target(host), transferred); in acornscsi_dma_adjust()
1238 else if (transferred == 0) in acornscsi_dma_adjust()
1241 transferred += host->dma.start_addr; in acornscsi_dma_adjust()
1242 dmac_write(host, DMAC_TXADRLO, transferred); in acornscsi_dma_adjust()
1243 dmac_write(host, DMAC_TXADRMD, transferred >> 8); in acornscsi_dma_adjust()
1244 dmac_write(host, DMAC_TXADRHI, transferred >> 16); in acornscsi_dma_adjust()
1824 host->dma.transferred = host->scsi.SCp.scsi_xferred; in acornscsi_reconnect_finish()
1921 host->dma.transferred = host->scsi.SCp.scsi_xferred; in acornscsi_sbicintr()
2153 case PHASE_DATAIN: /* STATE: transferred data in */ in acornscsi_sbicintr()
2202 case PHASE_DATAOUT: /* STATE: transferred data out */ in acornscsi_sbicintr()