Lines Matching refs:ahwif
55 _auide_hwif *ahwif = &auide_hwif;
59 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, virt_to_phys(addr),
64 ctp = *((chan_tab_t **)ahwif->rx_chan);
73 _auide_hwif *ahwif = &auide_hwif;
77 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, virt_to_phys(addr),
82 ctp = *((chan_tab_t **)ahwif->tx_chan);
214 _auide_hwif *ahwif = &auide_hwif;
220 ahwif->drive = drive;
248 if (!au1xxx_dbdma_put_source(ahwif->tx_chan,
254 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan,
447 static void auide_setup_ports(struct ide_hw *hw, _auide_hwif *ahwif)
453 *ata_regs++ = ahwif->regbase + (i << IDE_REG_SHIFT);
456 *ata_regs = ahwif->regbase + (14 << IDE_REG_SHIFT);
501 _auide_hwif *ahwif = &auide_hwif;
514 ahwif->irq = platform_get_irq(dev, 0);
523 if (ahwif->irq < 0) {
535 ahwif->regbase = (u32)ioremap(res->start, resource_size(res));
536 if (ahwif->regbase == 0) {
542 auide_setup_ports(&hw, ahwif);
543 hw.irq = ahwif->irq;
564 _auide_hwif *ahwif = &auide_hwif;
568 iounmap((void *)ahwif->regbase);