Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_hpt3x2n.c273 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; in hpt3x2n_set_clock() local
276 iowrite8(0x80, bmdma+0x73); in hpt3x2n_set_clock()
277 iowrite8(0x80, bmdma+0x77); in hpt3x2n_set_clock()
280 iowrite8(source, bmdma+0x7B); in hpt3x2n_set_clock()
281 iowrite8(0xC0, bmdma+0x79); in hpt3x2n_set_clock()
284 iowrite8(ioread8(bmdma+0x70) | 0x32, bmdma+0x70); in hpt3x2n_set_clock()
285 iowrite8(ioread8(bmdma+0x74) | 0x32, bmdma+0x74); in hpt3x2n_set_clock()
288 iowrite8(0x00, bmdma+0x79); in hpt3x2n_set_clock()
291 iowrite8(0x00, bmdma+0x73); in hpt3x2n_set_clock()
292 iowrite8(0x00, bmdma+0x77); in hpt3x2n_set_clock()
Dpata_hpt37x.c481 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in hpt370_bmdma_stop() local
482 u8 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
487 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
494 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
495 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
497 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
499 bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
Dpata_pdc202xx_old.c265 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in pdc2026x_port_start() local
266 if (bmdma) { in pdc2026x_port_start()
268 u8 burst = ioread8(bmdma + 0x1f); in pdc2026x_port_start()
269 iowrite8(burst | 0x01, bmdma + 0x1f); in pdc2026x_port_start()
Dsata_sil.c223 unsigned long bmdma; /* DMA register block */ member
267 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in sil_bmdma_setup() local
270 iowrite32(ap->bmdma_prd_dma, bmdma + ATA_DMA_TABLE_OFS); in sil_bmdma_setup()
688 tmp = readl(mmio_base + sil_port[2].bmdma); in sil_init_controller()
691 mmio_base + sil_port[2].bmdma); in sil_init_controller()
774 ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; in sil_init_one()
Dpata_cs5530.c28 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base() local
30 return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no); in cs5530_port_base()
Dlibata-sff.c2442 int hflags, bool bmdma) in ata_pci_init_one() argument
2463 if (bmdma) in ata_pci_init_one()
2476 if (bmdma) { in ata_pci_init_one()
3105 unsigned long bmdma = pci_resource_start(pdev, 4); in ata_pci_bmdma_clear_simplex() local
3108 if (bmdma == 0) in ata_pci_bmdma_clear_simplex()
3111 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3112 outb(simplex & 0x60, bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3113 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3173 void __iomem *bmdma = host->iomap[4] + 8 * i; in ata_pci_bmdma_init() local
3178 ap->ioaddr.bmdma_addr = bmdma; in ata_pci_bmdma_init()
[all …]