Lines Matching refs:kbd
146 static void hil_dev_handle_kbd_events(struct hil_dev *kbd) in hil_dev_handle_kbd_events() argument
148 struct input_dev *dev = kbd->dev; in hil_dev_handle_kbd_events()
149 int idx = kbd->idx4 / 4; in hil_dev_handle_kbd_events()
152 switch (kbd->data[0] & HIL_POL_CHARTYPE_MASK) { in hil_dev_handle_kbd_events()
158 input_report_key(dev, kbd->data[i] & 0x7f, 1); in hil_dev_handle_kbd_events()
165 input_report_key(dev, kbd->data[i], 1); in hil_dev_handle_kbd_events()
170 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
181 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
192 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
326 static void hil_dev_keyboard_setup(struct hil_dev *kbd) in hil_dev_keyboard_setup() argument
328 struct input_dev *input_dev = kbd->dev; in hil_dev_keyboard_setup()
329 uint8_t did = kbd->idd[0]; in hil_dev_keyboard_setup()
346 input_dev->name = strlen(kbd->rnm) ? kbd->rnm : "HIL keyboard"; in hil_dev_keyboard_setup()