Home
last modified time | relevance | path

Searched refs:bmdma (Results 1 – 6 of 6) sorted by relevance

/drivers/ata/
Dpata_hpt3x2n.c277 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; in hpt3x2n_set_clock() local
280 iowrite8(0x80, bmdma+0x73); in hpt3x2n_set_clock()
281 iowrite8(0x80, bmdma+0x77); in hpt3x2n_set_clock()
284 iowrite8(source, bmdma+0x7B); in hpt3x2n_set_clock()
285 iowrite8(0xC0, bmdma+0x79); in hpt3x2n_set_clock()
288 iowrite8(ioread8(bmdma+0x70) | 0x32, bmdma+0x70); in hpt3x2n_set_clock()
289 iowrite8(ioread8(bmdma+0x74) | 0x32, bmdma+0x74); in hpt3x2n_set_clock()
292 iowrite8(0x00, bmdma+0x79); in hpt3x2n_set_clock()
295 iowrite8(0x00, bmdma+0x73); in hpt3x2n_set_clock()
296 iowrite8(0x00, bmdma+0x77); in hpt3x2n_set_clock()
Dpata_pdc202xx_old.c266 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in pdc2026x_port_start() local
267 if (bmdma) { in pdc2026x_port_start()
269 u8 burst = ioread8(bmdma + 0x1f); in pdc2026x_port_start()
270 iowrite8(burst | 0x01, bmdma + 0x1f); in pdc2026x_port_start()
Dpata_hpt37x.c478 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in hpt370_bmdma_stop() local
479 u8 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
484 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
491 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
492 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
494 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
496 bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
Dsata_sil.c239 unsigned long bmdma; /* DMA register block */ member
283 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in sil_bmdma_setup() local
286 iowrite32(ap->bmdma_prd_dma, bmdma + ATA_DMA_TABLE_OFS); in sil_bmdma_setup()
703 tmp = readl(mmio_base + sil_port[2].bmdma); in sil_init_controller()
706 mmio_base + sil_port[2].bmdma); in sil_init_controller()
792 ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; in sil_init_one()
Dpata_cs5530.c40 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base() local
42 return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no); in cs5530_port_base()
Dlibata-sff.c2494 int hflags, bool bmdma) in ata_pci_init_one() argument
2517 if (bmdma) in ata_pci_init_one()
2530 if (bmdma) { in ata_pci_init_one()
3148 unsigned long bmdma = pci_resource_start(pdev, 4); in ata_pci_bmdma_clear_simplex() local
3151 if (bmdma == 0) in ata_pci_bmdma_clear_simplex()
3154 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3155 outb(simplex & 0x60, bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3156 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3222 void __iomem *bmdma = host->iomap[4] + 8 * i; in ata_pci_bmdma_init() local
3227 ap->ioaddr.bmdma_addr = bmdma; in ata_pci_bmdma_init()
[all …]