Lines Matching refs:ke
125 const struct input_keymap_entry *ke, in hidinput_locate_usage() argument
131 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in hidinput_locate_usage()
132 usage = hidinput_find_key(hid, match_index, ke->index, index); in hidinput_locate_usage()
133 else if (input_scancode_to_scalar(ke, &scancode) == 0) in hidinput_locate_usage()
142 struct input_keymap_entry *ke) in hidinput_getkeycode() argument
148 usage = hidinput_locate_usage(hid, ke, &index); in hidinput_getkeycode()
150 ke->keycode = usage->type == EV_KEY ? in hidinput_getkeycode()
152 ke->index = index; in hidinput_getkeycode()
154 ke->len = sizeof(scancode); in hidinput_getkeycode()
155 memcpy(ke->scancode, &scancode, sizeof(scancode)); in hidinput_getkeycode()
163 const struct input_keymap_entry *ke, in hidinput_setkeycode() argument
169 usage = hidinput_locate_usage(hid, ke, NULL); in hidinput_setkeycode()
173 usage->code = ke->keycode; in hidinput_setkeycode()