Lines Matching refs:hw
121 static void __init buddha_setup_ports(struct ide_hw *hw, unsigned long base,
126 memset(hw, 0, sizeof(*hw));
128 hw->io_ports.data_addr = base;
131 hw->io_ports_array[i] = base + 2 + i * 4;
133 hw->io_ports.ctl_addr = ctl;
134 hw->io_ports.irq_addr = irq_port;
136 hw->irq = IRQ_AMIGA_PORTS;
168 struct ide_hw hw[MAX_NUM_HWIFS], *hws[MAX_NUM_HWIFS];
225 buddha_setup_ports(&hw[i], base, ctl, irq_port);
227 hws[i] = &hw[i];