/drivers/ide/ |
H A D | ide-dma-sff.c | 86 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); local 89 dma_stat |= (1 << (5 + unit)); 91 dma_stat &= ~(1 << (5 + unit)); 93 ide_dma_sff_write_status(hwif, dma_stat); 192 u8 dma_stat; local 214 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); 217 ide_dma_sff_write_status(hwif, dma_stat | ATA_DMA_ERR | ATA_DMA_INTR); 240 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); local 243 drive->name, __func__, dma_stat); 245 if ((dma_stat 288 u8 dma_stat = 0, dma_cmd = 0; local 319 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); local [all...] |
H A D | tc86c001.c | 69 u8 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); local 74 if ((dma_stat & 5) == 1) { /* DMA active and no interrupt */
|
H A D | ide-dma.c | 95 u8 stat = 0, dma_stat = 0; local 98 dma_stat = hwif->dma_ops->dma_end(drive); 103 if (!dma_stat) { 112 drive->name, __func__, dma_stat);
|
H A D | ns87415.c | 102 u32 dma_stat; local 105 dma_stat = (pci_resource_start(pdev, 4) & ~3) + (!port ? 2 : 0xa); 108 tmp = superio_ide_inb(dma_stat); 109 outb(tmp | 0x66, dma_stat); 187 u8 dma_stat = 0, dma_cmd = 0; local 189 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); 201 return (dma_stat & 7) != 4;
|
H A D | piix.c | 228 u8 dma_stat; local 239 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 241 outb(dma_stat, hwif->dma_base + ATA_DMA_STATUS);
|
H A D | sc1200.c | 175 u8 dma_stat; local 177 dma_stat = inb(dma_base+2); /* get DMA status */ 179 if (!(dma_stat & 4)) 180 printk(" ide_dma_end dma_stat=%0x err=%x newerr=%x\n", 181 dma_stat, ((dma_stat&7)!=4), ((dma_stat&2)==2)); 183 outb(dma_stat|0x1b, dma_base+2); /* clear the INTR & ERROR bits */ 186 return (dma_stat & 7) != 4; /* verify good DMA status */
|
H A D | setup-pci.c | 64 u8 dma_stat = inb(dma_base + 2); local 66 outb(dma_stat & 0x60, dma_base + 2); 67 dma_stat = inb(dma_base + 2); 69 return (dma_stat & 0x80) ? 1 : 0; 112 u8 dma_stat; local 134 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); 135 if ((dma_stat & 0x80) && hwif->mate && hwif->mate->dma_base) {
|
H A D | cmd64x.c | 252 u8 dma_stat = 0, dma_cmd = 0; local 255 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 261 outb(dma_stat | 6, hwif->dma_base + ATA_DMA_STATUS); 263 return (dma_stat & 7) != 4;
|
H A D | hpt366.c | 743 u8 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); local 745 if (dma_stat & ATA_DMA_ACTIVE) { 748 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 749 if (dma_stat & ATA_DMA_ACTIVE) 761 u8 dma_stat; local 769 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 771 if (dma_stat & ATA_DMA_INTR)
|
H A D | scc_pata.c | 286 u8 dma_stat = scc_dma_sff_read_status(hwif); local 289 dma_stat |= (1 << (5 + unit)); 291 dma_stat &= ~(1 << (5 + unit)); 293 scc_ide_outb(dma_stat, hwif->dma_base + 4); 312 u8 dma_stat; local 325 dma_stat = scc_dma_sff_read_status(hwif); 328 out_be32((void __iomem *)(hwif->dma_base + 4), dma_stat | 6); 345 u8 dma_stat, dma_cmd; local 352 dma_stat = scc_dma_sff_read_status(hwif); 354 scc_ide_outb(dma_stat | 373 int dma_stat, data_loss = 0; local [all...] |
H A D | sgiioc4.c | 208 int dma_stat = 0; local 220 dma_stat = 1; 240 dma_stat = 1; 255 return dma_stat;
|
H A D | tx4939ide.c | 206 u8 dma_stat = tx4939ide_readb(base, TX4939IDE_DMA_Stat); local 209 dma_stat |= (1 << (5 + unit)); 211 dma_stat &= ~(1 << (5 + unit)); 213 tx4939ide_writeb(dma_stat, base, TX4939IDE_DMA_Stat); 221 u8 dma_stat; local 224 dma_stat = tx4939ide_readb(base, TX4939IDE_DMA_Stat); 226 tx4939ide_writeb(dma_stat | ATA_DMA_INTR | ATA_DMA_ERR, base, 230 return dma_stat; 318 u8 dma_stat, dma_cmd; local 328 dma_stat 348 u8 dma_stat, stat; local [all...] |
/drivers/ata/ |
H A D | pata_hpt37x.c | 479 u8 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); local 482 if (dma_stat & ATA_DMA_ACTIVE) { 484 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); 486 if (dma_stat & ATA_DMA_ACTIVE) { 494 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); 495 iowrite8(dma_stat | ATA_DMA_INTR | ATA_DMA_ERR,
|
/drivers/scsi/ |
H A D | atari_scsi.c | 184 static int scsi_dma_is_ignored_buserr(unsigned char dma_stat); 249 static int scsi_dma_is_ignored_buserr(unsigned char dma_stat) argument 254 if (dma_stat & 0x01) { 278 unsigned char dma_stat = tt_scsi_dma.dma_ctrl; 285 printk("Bad SCSI DMA interrupt! dma_addr=0x%08lx dma_stat=%02x dma_cnt=%08lx\n", 286 SCSI_DMA_READ_P(dma_addr), dma_stat, SCSI_DMA_READ_P(dma_cnt)); 287 if (dma_stat & 0x80) { 288 if (!scsi_dma_is_ignored_buserr(dma_stat)) 307 int dma_stat; local 309 dma_stat 400 int dma_stat; local [all...] |
/drivers/spi/ |
H A D | spi-adi-v3.c | 750 u32 dma_stat = get_dma_curr_irqstat(drv_data->tx_dma); local 754 if (dma_stat & DMA_DONE) { 758 "spi tx dma error: %d\n", dma_stat); 772 u32 dma_stat = get_dma_curr_irqstat(drv_data->rx_dma); local 775 if (dma_stat & DMA_DONE) { 783 "spi rx dma error: %d\n", dma_stat);
|