Lines Matching refs:sc_var
257 kbd->sc_var = NULL;
328 if (kbd->sc_var != NULL)
329 free(kbd->sc_var, M_DEVBUF, 0);
436 &kbd->sc_var[i].loc);
507 if ((kbd->sc_odata.var[i] & kbd->sc_var[i].mask) !=
508 (ud->var[i] & kbd->sc_var[i].mask)) {
509 ADDKEY(kbd->sc_var[i].key |
510 ((ud->var[i] & kbd->sc_var[i].mask) ?
734 kbd->sc_var = (struct hidkbd_variable *)mallocarray(ivar,
737 if (!kbd->sc_var)
760 kbd->sc_var[i].loc = h.loc;
761 kbd->sc_var[i].mask = 1 << (i % 8);
762 kbd->sc_var[i].key = HID_GET_USAGE(h.usage);