Lines Matching defs:hw
158 struct hp_hw *hw;
166 for (hw = sc_table; i < NLE && hw < &sc_table[MAXCTLRS]; hw++) {
169 printf("found type %x\n", hw->hw_type);
173 if (!HW_ISDEV(hw, D_LAN))
180 sc->sc_r0 = (struct lereg0 *)(sels->le_id + (int)hw->hw_kva);
185 sc->sc_r1 = (struct lereg1 *)(sels->le_regs + (int)hw->hw_kva);
186 sc->sc_mem = (struct lereg2 *)(sels->le_mem + (int)hw->hw_kva);
197 cp = (char *)(sels->le_nvram + (int)hw->hw_kva);
207 i, hw->hw_sc, ether_sprintf(sc->sc_addr));
209 hw->hw_pa = (void *) i; /* XXX for autoconfig */