Home
last modified time | relevance | path

Searched refs:old_keycode (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c69 unsigned int *old_keycode) in legacy_dvb_usb_setkeycode() argument
87 *old_keycode = keymap[index].keycode; in legacy_dvb_usb_setkeycode()
91 if (*old_keycode != KEY_RESERVED) { in legacy_dvb_usb_setkeycode()
92 __clear_bit(*old_keycode, dev->keybit); in legacy_dvb_usb_setkeycode()
94 if (keymap[index].keycode == *old_keycode) { in legacy_dvb_usb_setkeycode()
95 __set_bit(*old_keycode, dev->keybit); in legacy_dvb_usb_setkeycode()
/linux-6.1.9/drivers/input/
Dsparse-keymap.c134 unsigned int *old_keycode) in sparse_keymap_setkeycode() argument
141 *old_keycode = key->keycode; in sparse_keymap_setkeycode()
144 if (!sparse_keymap_entry_from_keycode(dev, *old_keycode)) in sparse_keymap_setkeycode()
145 clear_bit(*old_keycode, dev->keybit); in sparse_keymap_setkeycode()
Dinput.c862 unsigned int *old_keycode) in input_default_setkeycode() argument
889 *old_keycode = k[index]; in input_default_setkeycode()
895 *old_keycode = k[index]; in input_default_setkeycode()
901 *old_keycode = k[index]; in input_default_setkeycode()
907 if (*old_keycode <= KEY_MAX) { in input_default_setkeycode()
908 __clear_bit(*old_keycode, dev->keybit); in input_default_setkeycode()
910 if (input_fetch_keycode(dev, i) == *old_keycode) { in input_default_setkeycode()
911 __set_bit(*old_keycode, dev->keybit); in input_default_setkeycode()
955 unsigned int old_keycode; in input_set_keycode() local
963 retval = dev->setkeycode(dev, ke, &old_keycode); in input_set_keycode()
[all …]
/linux-6.1.9/drivers/media/rc/
Drc-main.c318 int old_keycode = rc_map->scan[index].keycode; in ir_update_mapping() local
331 old_keycode == KEY_RESERVED ? "New" : "Replacing", in ir_update_mapping()
337 if (old_keycode != KEY_RESERVED) { in ir_update_mapping()
339 __clear_bit(old_keycode, dev->input_dev->keybit); in ir_update_mapping()
342 if (rc_map->scan[i].keycode == old_keycode) { in ir_update_mapping()
343 __set_bit(old_keycode, dev->input_dev->keybit); in ir_update_mapping()
352 return old_keycode; in ir_update_mapping()
426 unsigned int *old_keycode) in ir_setkeycode() argument
455 *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); in ir_setkeycode()
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c524 unsigned int *old_keycode) in ati_remote2_setkeycode() argument
552 *old_keycode = ar2->keycode[mode][offset]; in ati_remote2_setkeycode()
558 if (ar2->keycode[mode][index] == *old_keycode) in ati_remote2_setkeycode()
563 __clear_bit(*old_keycode, idev->keybit); in ati_remote2_setkeycode()
/linux-6.1.9/drivers/hid/
Dhid-input.c200 unsigned int *old_keycode) in hidinput_setkeycode() argument
207 *old_keycode = usage->type == EV_KEY ? in hidinput_setkeycode()
212 clear_bit(*old_keycode, dev->keybit); in hidinput_setkeycode()
221 if (hidinput_find_key(hid, match_keycode, *old_keycode, NULL)) in hidinput_setkeycode()
222 set_bit(*old_keycode, dev->keybit); in hidinput_setkeycode()
/linux-6.1.9/include/linux/
Dinput.h163 unsigned int *old_keycode);