Searched refs:scancode (Results 1 - 3 of 3) sorted by relevance
/device/soc/rockchip/common/vendor/drivers/input/ |
H A D | rockchip_pwm_remotectl.c | 46 int scancode;
member 106 if (remotectl_button[ddata->keynum].key_table[i].scancode == keydata) {
in remotectl_keycode_lookup() 164 DBG("board[%d].scanCode[%d]=0x%x\n", boardnum, loop, remotectl_button[boardnum].key_table[loop].scancode);
in rk_remotectl_parse_ir_keys() 404 int scancode, usercode, pwrkey;
in rk_pwm_pwrkey_wakeup_init() local 410 scancode = remotectl_button[j].key_table[i].scancode & 0xff;
in rk_pwm_pwrkey_wakeup_init() 411 DBG("usercode=%x, key=%x\n", usercode, scancode);
in rk_pwm_pwrkey_wakeup_init() 413 pwrkey |= (scancode << 0x18) | ((~scancode & 0xff) << 0x10);
in rk_pwm_pwrkey_wakeup_init() 526 int scancode, pwrke in rk_pwm_sip_wakeup_init() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/ |
H A D | rockchip_pwm_remotectl.c | 49 int scancode; member 110 if (remotectl_button[ddata->keynum].key_table[i].scancode == in remotectl_keycode_lookup() 173 remotectl_button[boardnum].key_table[loop].scancode); in rk_remotectl_parse_ir_keys() 424 int scancode, usercode, pwrkey; in rk_pwm_pwrkey_wakeup_init() local 429 scancode = remotectl_button[j].key_table[i].scancode & 0xff; in rk_pwm_pwrkey_wakeup_init() 430 DBG("usercode=%x, key=%x\n", usercode, scancode); in rk_pwm_pwrkey_wakeup_init() 432 pwrkey |= (scancode << 24) | ((~scancode & 0xff) << 16); in rk_pwm_pwrkey_wakeup_init() 541 int scancode, pwrke in rk_pwm_sip_wakeup_init() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/hid/ |
H A D | hid-input.c | 64 static bool match_scancode(struct hid_usage *usage, unsigned int cur_idx, unsigned int scancode)
in match_scancode() argument 66 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode;
in match_scancode() 117 unsigned int scancode;
in hidinput_locate_usage() local 121 } else if (input_scancode_to_scalar(ke, &scancode) == 0) {
in hidinput_locate_usage() 122 usage = hidinput_find_key(hid, match_scancode, scancode, index);
in hidinput_locate_usage() 134 unsigned int scancode, index;
in hidinput_getkeycode() local 140 scancode = usage->hid & (HID_USAGE_PAGE | HID_USAGE);
in hidinput_getkeycode() 141 ke->len = sizeof(scancode);
in hidinput_getkeycode() 142 memcpy(ke->scancode, &scancode, sizeo in hidinput_getkeycode() [all...] |
Completed in 4 milliseconds