/openbmc/linux/drivers/ata/ |
H A D | pata_ns87415.c | 128 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 D | pata_hpt3x3.c | 100 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 D | pata_ninja32.c | 65 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 D | pata_cs5530.c | 28 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 D | pata_marvell.c | 80 if (!ap->ioaddr.bmdma_addr) in marvell_cable_detect() 82 if (ioread8(ap->ioaddr.bmdma_addr + 1) & 1) in marvell_cable_detect()
|
H A D | sata_svw.c | 129 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 D | pata_pdc202xx_old.c | 182 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 D | ata_generic.c | 60 } 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 D | pata_sil680.c | 212 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 D | sata_sil.c | 267 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 D | pata_macio.c | 582 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 D | sata_uli.c | 181 ioaddr->bmdma_addr = iomap[4] + 16; in uli_init_one() 196 ioaddr->bmdma_addr = iomap[4] + 24; in uli_init_one()
|
H A D | pata_cs5520.c | 179 ioaddr->bmdma_addr = iomap[4]; in cs5520_init_one() 190 ioaddr->bmdma_addr = iomap[4] + 8; in cs5520_init_one()
|
H A D | pata_atp867x.c | 317 (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 D | sata_via.c | 440 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 D | libata-sff.c | 2861 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 D | pata_pxa.c | 228 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe()
|
H A D | pata_hpt3x2n.c | 273 void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; in hpt3x2n_set_clock()
|
H A D | sata_vsc.c | 313 port->bmdma_addr = base + VSC_SATA_DMA_CMD_OFFSET; in vsc_sata_setup_port()
|
H A D | pata_ftide010.c | 516 ioaddr->bmdma_addr = ftide->base + FTIDE010_DMA_REG; in pata_ftide010_probe()
|
H A D | pata_pdc2027x.c | 720 ap->ioaddr.bmdma_addr = mmio_base + bmdma_offset[i]; in pdc2027x_init_one()
|
H A D | pata_hpt37x.c | 481 void __iomem *bmdma = ap->ioaddr.bmdma_addr; in hpt370_bmdma_stop()
|
H A D | sata_nv.c | 2164 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 D | sata_sil3114.h | 24 unsigned long bmdma_addr; member
|
H A D | sata_sil3114.c | 774 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()
|