Home
last modified time | relevance | path

Searched refs:bmdma_addr (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/ata/
H A Dpata_ns87415.c128 iowrite32(ap->bmdma_prd_dma, ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); in ns87415_bmdma_setup()
131 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ns87415_bmdma_setup()
138 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ns87415_bmdma_setup()
183 void __iomem *mmio = ap->ioaddr.bmdma_addr; in ns87415_irq_clear()
297 return ns87560_read_buggy(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in ns87560_bmdma_status()
H A Dpata_hpt3x3.c100 void __iomem *mmio = ap->ioaddr.bmdma_addr; in hpt3x3_freeze()
119 u8 r = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in hpt3x3_bmdma_setup()
121 iowrite8(r, ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in hpt3x3_bmdma_setup()
239 ioaddr->bmdma_addr = base + 8 * i; in hpt3x3_init_one()
H A Dpata_ninja32.c65 ap->ioaddr.bmdma_addr + 0x1f); in ninja32_set_piomode()
74 iowrite8(0xd6, ap->ioaddr.bmdma_addr + 0x1f); in ninja32_dev_select()
143 ap->ioaddr.bmdma_addr = base; in ninja32_init_one()
H A Dpata_cs5530.c28 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base()
112 reg = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in cs5530_set_dmamode()
114 iowrite8(reg, ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in cs5530_set_dmamode()
H A Dpata_marvell.c80 if (!ap->ioaddr.bmdma_addr) in marvell_cable_detect()
82 if (ioread8(ap->ioaddr.bmdma_addr + 1) & 1) in marvell_cable_detect()
H A Dsata_svw.c129 void __iomem *mmio = link->ap->ioaddr.bmdma_addr; in k2_sata_softreset()
146 void __iomem *mmio = link->ap->ioaddr.bmdma_addr; in k2_sata_hardreset()
236 void __iomem *mmio = ap->ioaddr.bmdma_addr; in k2_bmdma_setup_mmio()
265 void __iomem *mmio = ap->ioaddr.bmdma_addr; in k2_bmdma_start_mmio()
406 port->bmdma_addr = base + K2_SATA_DMA_CMD_OFFSET; in k2_sata_setup_port()
H A Dpata_pdc202xx_old.c182 void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; in pdc2026x_bmdma_start()
233 void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; in pdc2026x_bmdma_stop()
265 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in pdc2026x_port_start()
H A Data_generic.c60 } else if (ap->ioaddr.bmdma_addr) { in generic_set_mode()
62 dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in generic_set_mode()
H A Dpata_sil680.c212 ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in sil680_sff_exec_command()
381 host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00; in sil680_init_one()
386 host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08; in sil680_init_one()
H A Dsata_sil.c267 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in sil_bmdma_setup()
555 iowrite8(ioread8(ap->ioaddr.bmdma_addr) & ~SIL_DMA_ENABLE, in sil_freeze()
556 ap->ioaddr.bmdma_addr); in sil_freeze()
561 ioread8(ap->ioaddr.bmdma_addr); in sil_freeze()
774 ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; in sil_init_one()
H A Dpata_macio.c582 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_freeze()
601 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_setup()
630 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_start()
643 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_stop()
657 struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; in pata_macio_bmdma_status()
716 if (ap->ioaddr.bmdma_addr == NULL) in pata_macio_port_start()
730 ap->ioaddr.bmdma_addr = NULL; in pata_macio_port_start()
1007 ioaddr->bmdma_addr = dma; in pata_macio_setup_ios()
H A Dsata_uli.c181 ioaddr->bmdma_addr = iomap[4] + 16; in uli_init_one()
196 ioaddr->bmdma_addr = iomap[4] + 24; in uli_init_one()
H A Dpata_cs5520.c179 ioaddr->bmdma_addr = iomap[4]; in cs5520_init_one()
190 ioaddr->bmdma_addr = iomap[4] + 8; in cs5520_init_one()
H A Dpata_atp867x.c317 (unsigned long)ioaddr->bmdma_addr, in atp867x_check_ports()
436 ioaddr->bmdma_addr = ATP867X_IO_DMABASE(ap, i); in atp867x_ata_pci_sff_init_host()
449 (unsigned long)ioaddr->bmdma_addr); in atp867x_ata_pci_sff_init_host()
H A Dsata_via.c440 void __iomem *bmdma_addr = iomap[4] + (ap->port_no * 8); in vt6421_init_addrs() local
447 ioaddr->bmdma_addr = bmdma_addr; in vt6421_init_addrs()
H A Dlibata-sff.c2861 void __iomem *mmio = ap->ioaddr.bmdma_addr; in ata_bmdma_irq_clear()
2885 iowrite32(ap->bmdma_prd_dma, ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); in ata_bmdma_setup()
2888 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2892 iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_setup()
2912 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
2913 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in ata_bmdma_start()
2946 void __iomem *mmio = ap->ioaddr.bmdma_addr; in ata_bmdma_stop()
2970 return ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in ata_bmdma_status()
3108 ap->ioaddr.bmdma_addr = bmdma; in ata_pci_bmdma_init()
H A Dpata_pxa.c228 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe()
H A Dpata_hpt3x2n.c273 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; in hpt3x2n_set_clock()
H A Dsata_vsc.c313 port->bmdma_addr = base + VSC_SATA_DMA_CMD_OFFSET; in vsc_sata_setup_port()
H A Dpata_ftide010.c516 ioaddr->bmdma_addr = ftide->base + FTIDE010_DMA_REG; in pata_ftide010_probe()
H A Dpata_pdc2027x.c720 ap->ioaddr.bmdma_addr = mmio_base + bmdma_offset[i]; in pdc2027x_init_one()
H A Dpata_hpt37x.c481 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in hpt370_bmdma_stop()
H A Dsata_nv.c2164 ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); in nv_swncq_dmafis()
2167 dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
2172 iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); in nv_swncq_dmafis()
/openbmc/u-boot/drivers/ata/
H A Dsata_sil3114.h24 unsigned long bmdma_addr; member
H A Dsata_sil3114.c774 port[0].ioaddr.bmdma_addr = iobase[5] + VND_BMDMA_CH0; in scan_sata()
782 port[1].ioaddr.bmdma_addr = iobase[5] + VND_BMDMA_CH1; in scan_sata()
790 port[2].ioaddr.bmdma_addr = iobase[5] + VND_BMDMA_CH2; in scan_sata()
798 port[3].ioaddr.bmdma_addr = iobase[5] + VND_BMDMA_CH3; in scan_sata()

12