Lines Matching refs:ahwif
59 _auide_hwif *ahwif = &auide_hwif; in auide_insw() local
63 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, virt_to_phys(addr), in auide_insw()
68 ctp = *((chan_tab_t **)ahwif->rx_chan); in auide_insw()
77 _auide_hwif *ahwif = &auide_hwif; in auide_outsw() local
81 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, virt_to_phys(addr), in auide_outsw()
86 ctp = *((chan_tab_t **)ahwif->tx_chan); in auide_outsw()
218 _auide_hwif *ahwif = &auide_hwif; in auide_build_dmatable() local
224 ahwif->drive = drive; in auide_build_dmatable()
252 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, in auide_build_dmatable()
258 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, in auide_build_dmatable()
448 static void auide_setup_ports(struct ide_hw *hw, _auide_hwif *ahwif) in auide_setup_ports() argument
455 *ata_regs++ = ahwif->regbase + (i << IDE_REG_SHIFT); in auide_setup_ports()
458 *ata_regs = ahwif->regbase + (14 << IDE_REG_SHIFT); in auide_setup_ports()
503 _auide_hwif *ahwif = &auide_hwif; in au_ide_probe() local
516 ahwif->irq = platform_get_irq(dev, 0); in au_ide_probe()
525 if (ahwif->irq < 0) { in au_ide_probe()
537 ahwif->regbase = (u32)ioremap(res->start, resource_size(res)); in au_ide_probe()
538 if (ahwif->regbase == 0) { in au_ide_probe()
549 ahwif->ddma_id = res->start; in au_ide_probe()
552 auide_setup_ports(&hw, ahwif); in au_ide_probe()
553 hw.irq = ahwif->irq; in au_ide_probe()
574 _auide_hwif *ahwif = &auide_hwif; in au_ide_remove() local
578 iounmap((void *)ahwif->regbase); in au_ide_remove()