Lines Matching defs:ha
130 struct hil_attach_args *ha = aux;
132 if (ha->ha_type != HIL_DEVICE_KEYBOARD &&
133 ha->ha_type != HIL_DEVICE_BUTTONBOX)
143 struct hil_attach_args *ha = aux;
148 sc->hd_code = ha->ha_code;
149 sc->hd_type = ha->ha_type;
150 sc->hd_infolen = ha->ha_infolen;
151 bcopy(ha->ha_info, sc->hd_info, ha->ha_infolen);
154 if (ha->ha_type == HIL_DEVICE_KEYBOARD) {
159 layoutcode = ha->ha_id & (MAXHILKBDLAYOUT - 1);
174 if (ha->ha_infolen > 2 && (ha->ha_info[1] & HIL_IOB) != 0) {
176 sc->sc_numleds = (ha->ha_info[2] & HILIOB_PMASK) >> 4;
194 if (ha->ha_type == HIL_DEVICE_BUTTONBOX)
197 a.console = hilkbd_is_console(ha->ha_console);