Searched refs:ke (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/include/linux/ |
D | input.h | 146 const struct input_keymap_entry *ke, 149 struct input_keymap_entry *ke); 469 int input_scancode_to_scalar(const struct input_keymap_entry *ke, 472 int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke); 474 const struct input_keymap_entry *ke);
|
/linux-4.19.296/drivers/media/rc/ |
D | rc-main.c | 384 const struct input_keymap_entry *ke, in ir_setkeycode() argument 396 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_setkeycode() 397 index = ke->index; in ir_setkeycode() 403 retval = input_scancode_to_scalar(ke, &scancode); in ir_setkeycode() 414 *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); in ir_setkeycode() 505 struct input_keymap_entry *ke) in ir_getkeycode() argument 517 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_getkeycode() 518 index = ke->index; in ir_getkeycode() 520 retval = input_scancode_to_scalar(ke, &scancode); in ir_getkeycode() 530 ke->index = index; in ir_getkeycode() [all …]
|
/linux-4.19.296/include/linux/input/ |
D | sparse-keymap.h | 55 void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke,
|
/linux-4.19.296/drivers/hid/ |
D | hid-input.c | 127 const struct input_keymap_entry *ke, in hidinput_locate_usage() argument 133 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in hidinput_locate_usage() 134 usage = hidinput_find_key(hid, match_index, ke->index, index); in hidinput_locate_usage() 135 else if (input_scancode_to_scalar(ke, &scancode) == 0) in hidinput_locate_usage() 144 struct input_keymap_entry *ke) in hidinput_getkeycode() argument 150 usage = hidinput_locate_usage(hid, ke, &index); in hidinput_getkeycode() 152 ke->keycode = usage->type == EV_KEY ? in hidinput_getkeycode() 154 ke->index = index; in hidinput_getkeycode() 156 ke->len = sizeof(scancode); in hidinput_getkeycode() 157 memcpy(ke->scancode, &scancode, sizeof(scancode)); in hidinput_getkeycode() [all …]
|