Searched refs:old_keycode (Results 1 – 6 of 6) sorted by relevance
/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 69 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()
|
/drivers/input/ |
D | sparse-keymap.c | 134 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()
|
D | input.c | 852 unsigned int *old_keycode) in input_default_setkeycode() argument 879 *old_keycode = k[index]; in input_default_setkeycode() 885 *old_keycode = k[index]; in input_default_setkeycode() 891 *old_keycode = k[index]; in input_default_setkeycode() 897 if (*old_keycode <= KEY_MAX) { in input_default_setkeycode() 898 __clear_bit(*old_keycode, dev->keybit); in input_default_setkeycode() 900 if (input_fetch_keycode(dev, i) == *old_keycode) { in input_default_setkeycode() 901 __set_bit(*old_keycode, dev->keybit); in input_default_setkeycode() 945 unsigned int old_keycode; in input_set_keycode() local 953 retval = dev->setkeycode(dev, ke, &old_keycode); in input_set_keycode() [all …]
|
/drivers/media/rc/ |
D | rc-main.c | 318 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()
|
/drivers/input/misc/ |
D | ati_remote2.c | 524 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()
|
/drivers/hid/ |
D | hid-input.c | 154 unsigned int *old_keycode) in hidinput_setkeycode() argument 161 *old_keycode = usage->type == EV_KEY ? in hidinput_setkeycode() 166 clear_bit(*old_keycode, dev->keybit); in hidinput_setkeycode() 175 if (hidinput_find_key(hid, match_keycode, *old_keycode, NULL)) in hidinput_setkeycode() 176 set_bit(*old_keycode, dev->keybit); in hidinput_setkeycode()
|