Lines Matching refs:ke
321 const struct input_keymap_entry *ke, in ir_setkeycode() argument
333 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_setkeycode()
334 index = ke->index; in ir_setkeycode()
340 retval = input_scancode_to_scalar(ke, &scancode); in ir_setkeycode()
351 *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); in ir_setkeycode()
439 struct input_keymap_entry *ke) in ir_getkeycode() argument
451 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_getkeycode()
452 index = ke->index; in ir_getkeycode()
454 retval = input_scancode_to_scalar(ke, &scancode); in ir_getkeycode()
464 ke->index = index; in ir_getkeycode()
465 ke->keycode = entry->keycode; in ir_getkeycode()
466 ke->len = sizeof(entry->scancode); in ir_getkeycode()
467 memcpy(ke->scancode, &entry->scancode, sizeof(entry->scancode)); in ir_getkeycode()
469 } else if (!(ke->flags & INPUT_KEYMAP_BY_INDEX)) { in ir_getkeycode()
475 ke->index = index; in ir_getkeycode()
476 ke->keycode = KEY_RESERVED; in ir_getkeycode()