Lines Matching refs:kbd
147 static void hil_dev_handle_kbd_events(struct hil_dev *kbd) in hil_dev_handle_kbd_events() argument
149 struct input_dev *dev = kbd->dev; in hil_dev_handle_kbd_events()
150 int idx = kbd->idx4 / 4; in hil_dev_handle_kbd_events()
153 switch (kbd->data[0] & HIL_POL_CHARTYPE_MASK) { in hil_dev_handle_kbd_events()
159 input_report_key(dev, kbd->data[i] & 0x7f, 1); in hil_dev_handle_kbd_events()
166 input_report_key(dev, kbd->data[i], 1); in hil_dev_handle_kbd_events()
171 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
182 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
193 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events()
327 static void hil_dev_keyboard_setup(struct hil_dev *kbd) in hil_dev_keyboard_setup() argument
329 struct input_dev *input_dev = kbd->dev; in hil_dev_keyboard_setup()
330 uint8_t did = kbd->idd[0]; in hil_dev_keyboard_setup()
347 input_dev->name = strlen(kbd->rnm) ? kbd->rnm : "HIL keyboard"; in hil_dev_keyboard_setup()