Lines Matching refs:hw
4 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw,
34 ide_std_init_ports(hw, base, ctl);
35 hw->irq = irq;
36 hw->config = config;
38 hws[port_no] = hw;
43 struct ide_hw hw[2], *hws[] = { NULL, NULL };
45 memset(&hw, 0, sizeof(hw));
48 ide_legacy_init_one(hws, &hw[0], 0, d, config);
49 ide_legacy_init_one(hws, &hw[1], 1, d, config);