Lines Matching defs:hw
148 struct hp_hw *hw;
152 for (hw = sc_table; hw < &sc_table[MAXCTLRS]; hw++)
153 if (hw->hw_sc == sc)
157 ctlr = (int)hw->hw_pa;
196 struct hp_hw *hw;
198 hw = sc_table;
208 hw->hw_pa = 0; /* XXX used to pass back LUN from driver */
210 hw->hw_size = DIOII_SIZE(id_reg);
212 hw->hw_size = DIOCSIZE;
213 hw->hw_kva = addr;
214 hw->hw_id = DIO_ID(id_reg);
215 hw->hw_sc = sc;
222 hw->hw_type = C_HPIB;
223 hw++;
227 switch (hw->hw_id) {
230 hw->hw_type = D_COMMDCM;
234 hw->hw_type = C_HPIB;
237 hw->hw_type = D_LAN;
240 hw->hw_type = D_BITMAP;
241 hw->hw_secid = id_reg[0x15];
242 switch (hw->hw_secid) {
250 hw->hw_type = D_KEYBOARD;
256 hw->hw_type = C_SCSI;
259 hw->hw_type = D_MISC;
262 hw++;