Searched refs:old_keycode (Results 1 – 6 of 6) sorted by relevance
/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 68 unsigned int *old_keycode) in legacy_dvb_usb_setkeycode() argument 86 *old_keycode = keymap[index].keycode; in legacy_dvb_usb_setkeycode() 90 if (*old_keycode != KEY_RESERVED) { in legacy_dvb_usb_setkeycode() 91 __clear_bit(*old_keycode, dev->keybit); in legacy_dvb_usb_setkeycode() 93 if (keymap[index].keycode == *old_keycode) { in legacy_dvb_usb_setkeycode() 94 __set_bit(*old_keycode, dev->keybit); in legacy_dvb_usb_setkeycode()
|
/drivers/input/ |
D | sparse-keymap.c | 138 unsigned int *old_keycode) in sparse_keymap_setkeycode() argument 145 *old_keycode = key->keycode; in sparse_keymap_setkeycode() 148 if (!sparse_keymap_entry_from_keycode(dev, *old_keycode)) in sparse_keymap_setkeycode() 149 clear_bit(*old_keycode, dev->keybit); in sparse_keymap_setkeycode()
|
D | input.c | 809 unsigned int *old_keycode) in input_default_setkeycode() argument 836 *old_keycode = k[index]; in input_default_setkeycode() 842 *old_keycode = k[index]; in input_default_setkeycode() 848 *old_keycode = k[index]; in input_default_setkeycode() 854 if (*old_keycode <= KEY_MAX) { in input_default_setkeycode() 855 __clear_bit(*old_keycode, dev->keybit); in input_default_setkeycode() 857 if (input_fetch_keycode(dev, i) == *old_keycode) { in input_default_setkeycode() 858 __set_bit(*old_keycode, dev->keybit); in input_default_setkeycode() 902 unsigned int old_keycode; in input_set_keycode() local 910 retval = dev->setkeycode(dev, ke, &old_keycode); in input_set_keycode() [all …]
|
/drivers/media/rc/ |
D | rc-main.c | 223 int old_keycode = rc_map->scan[index].keycode; in ir_update_mapping() local 236 old_keycode == KEY_RESERVED ? "New" : "Replacing", in ir_update_mapping() 242 if (old_keycode != KEY_RESERVED) { in ir_update_mapping() 244 __clear_bit(old_keycode, dev->input_dev->keybit); in ir_update_mapping() 247 if (rc_map->scan[i].keycode == old_keycode) { in ir_update_mapping() 248 __set_bit(old_keycode, dev->input_dev->keybit); in ir_update_mapping() 257 return old_keycode; in ir_update_mapping() 330 unsigned int *old_keycode) in ir_setkeycode() argument 359 *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); in ir_setkeycode()
|
/drivers/input/misc/ |
D | ati_remote2.c | 529 unsigned int *old_keycode) in ati_remote2_setkeycode() argument 557 *old_keycode = ar2->keycode[mode][offset]; in ati_remote2_setkeycode() 563 if (ar2->keycode[mode][index] == *old_keycode) in ati_remote2_setkeycode() 568 __clear_bit(*old_keycode, idev->keybit); in ati_remote2_setkeycode()
|
/drivers/hid/ |
D | hid-input.c | 166 unsigned int *old_keycode) in hidinput_setkeycode() argument 173 *old_keycode = usage->type == EV_KEY ? in hidinput_setkeycode() 177 clear_bit(*old_keycode, dev->keybit); in hidinput_setkeycode() 186 if (hidinput_find_key(hid, match_keycode, *old_keycode, NULL)) in hidinput_setkeycode() 187 set_bit(*old_keycode, dev->keybit); in hidinput_setkeycode()
|