Home
last modified time | relevance | path

Searched refs:dma_stat (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/scsi/
Datari_scsi.c159 static int scsi_dma_is_ignored_buserr(unsigned char dma_stat) in scsi_dma_is_ignored_buserr() argument
164 if (dma_stat & 0x01) { in scsi_dma_is_ignored_buserr()
185 int dma_stat; in scsi_tt_intr() local
187 dma_stat = tt_scsi_dma.dma_ctrl; in scsi_tt_intr()
190 dma_stat & 0xff); in scsi_tt_intr()
195 if (dma_stat & 0x80) { in scsi_tt_intr()
196 if (!scsi_dma_is_ignored_buserr(dma_stat)) { in scsi_tt_intr()
212 if ((dma_stat & 0x02) && !(dma_stat & 0x40)) { in scsi_tt_intr()
221 if ((dma_stat & 1) == 0) { in scsi_tt_intr()
257 if (dma_stat & 0x40) { in scsi_tt_intr()
[all …]
/Linux-v6.6/drivers/ata/
Dpata_hpt37x.c482 u8 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop() local
485 if (dma_stat & ATA_DMA_ACTIVE) { in hpt370_bmdma_stop()
487 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
489 if (dma_stat & ATA_DMA_ACTIVE) { in hpt370_bmdma_stop()
497 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
498 iowrite8(dma_stat | ATA_DMA_INTR | ATA_DMA_ERR, in hpt370_bmdma_stop()