Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ata/
Dpata_hpt3x2n.c278 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; in hpt3x2n_set_clock() local
281 iowrite8(0x80, bmdma+0x73); in hpt3x2n_set_clock()
282 iowrite8(0x80, bmdma+0x77); in hpt3x2n_set_clock()
285 iowrite8(source, bmdma+0x7B); in hpt3x2n_set_clock()
286 iowrite8(0xC0, bmdma+0x79); in hpt3x2n_set_clock()
289 iowrite8(ioread8(bmdma+0x70) | 0x32, bmdma+0x70); in hpt3x2n_set_clock()
290 iowrite8(ioread8(bmdma+0x74) | 0x32, bmdma+0x74); in hpt3x2n_set_clock()
293 iowrite8(0x00, bmdma+0x79); in hpt3x2n_set_clock()
296 iowrite8(0x00, bmdma+0x73); in hpt3x2n_set_clock()
297 iowrite8(0x00, bmdma+0x77); in hpt3x2n_set_clock()
Dpata_pdc202xx_old.c267 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in pdc2026x_port_start() local
268 if (bmdma) { in pdc2026x_port_start()
270 u8 burst = ioread8(bmdma + 0x1f); in pdc2026x_port_start()
271 iowrite8(burst | 0x01, bmdma + 0x1f); in pdc2026x_port_start()
Dpata_hpt37x.c479 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in hpt370_bmdma_stop() local
480 u8 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
485 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
492 dma_cmd = ioread8(bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
493 iowrite8(dma_cmd & ~ATA_DMA_START, bmdma + ATA_DMA_CMD); in hpt370_bmdma_stop()
495 dma_stat = ioread8(bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
497 bmdma + ATA_DMA_STATUS); in hpt370_bmdma_stop()
Dsata_sil.c240 unsigned long bmdma; /* DMA register block */ member
284 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in sil_bmdma_setup() local
287 iowrite32(ap->bmdma_prd_dma, bmdma + ATA_DMA_TABLE_OFS); in sil_bmdma_setup()
701 tmp = readl(mmio_base + sil_port[2].bmdma); in sil_init_controller()
704 mmio_base + sil_port[2].bmdma); in sil_init_controller()
790 ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; in sil_init_one()
Dpata_cs5530.c41 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base() local
43 return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no); in cs5530_port_base()
Dlibata-sff.c2514 int hflags, bool bmdma) in ata_pci_init_one() argument
2537 if (bmdma) in ata_pci_init_one()
2550 if (bmdma) { in ata_pci_init_one()
3168 unsigned long bmdma = pci_resource_start(pdev, 4); in ata_pci_bmdma_clear_simplex() local
3171 if (bmdma == 0) in ata_pci_bmdma_clear_simplex()
3174 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3175 outb(simplex & 0x60, bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3176 simplex = inb(bmdma + 0x02); in ata_pci_bmdma_clear_simplex()
3242 void __iomem *bmdma = host->iomap[4] + 8 * i; in ata_pci_bmdma_init() local
3247 ap->ioaddr.bmdma_addr = bmdma; in ata_pci_bmdma_init()
[all …]