Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Datari_scsi.c164 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()
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()
259 if ((dma_stat & 1) == 0) in scsi_tt_intr()
274 int dma_stat; in scsi_falcon_intr() local
[all …]
/openbmc/linux/drivers/ata/
H A 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()