Lines Matching defs:scancode
178 u32 scancode;
369 wbcir_do_getkeycode(struct wbcir_data *data, u32 scancode)
378 if (keyentry->key.scancode == scancode) {
390 unsigned int scancode, unsigned int *keycode)
394 *keycode = wbcir_do_getkeycode(data, scancode);
400 unsigned int scancode, unsigned int keycode)
415 if (keyentry->key.scancode != scancode)
432 new_keyentry->key.scancode = scancode;
484 wbcir_keydown(struct wbcir_data *data, u32 scancode, u8 toggle)
489 if (data->last_scancode == scancode &&
493 data->last_scancode = scancode;
502 /* Report scancode */
503 input_event(data->input_dev, EV_MSC, MSC_SCAN, (int)scancode);
505 /* Do we know this scancode? */
506 keycode = wbcir_do_getkeycode(data, scancode);
688 u32 scancode;
760 /* Create scancode */
761 scancode = command;
762 scancode |= address << 8;
763 scancode |= customer << 16;
778 scancode);
780 wbcir_keydown(data, scancode, toggle);
801 u32 scancode;
818 scancode = address << 7 | command;
830 (unsigned int)scancode);
832 wbcir_keydown(data, scancode, toggle);
867 u32 scancode;
921 scancode = address << 8 | command1;
926 (unsigned int)scancode);
928 wbcir_keydown(data, scancode, !data->last_toggle);
1047 dev_err(dev, "RC5 - Invalid wake scancode\n");
1066 dev_err(dev, "NEC - Invalid wake scancode\n");
1088 dev_err(dev, "RC6 - Invalid wake scancode\n");
1144 dev_err(dev, "RC6 - Invalid wake scancode\n");
1460 (int)rc6_def_keymap[i].scancode,