Lines Matching refs:ke
804 struct input_keymap_entry ke = { in evdev_handle_get_keycode() local
812 if (copy_from_user(ke.scancode, p, sizeof(unsigned int))) in evdev_handle_get_keycode()
815 error = input_get_keycode(dev, &ke); in evdev_handle_get_keycode()
819 if (put_user(ke.keycode, ip + 1)) in evdev_handle_get_keycode()
827 struct input_keymap_entry ke; in evdev_handle_get_keycode_v2() local
830 if (copy_from_user(&ke, p, sizeof(ke))) in evdev_handle_get_keycode_v2()
833 error = input_get_keycode(dev, &ke); in evdev_handle_get_keycode_v2()
837 if (copy_to_user(p, &ke, sizeof(ke))) in evdev_handle_get_keycode_v2()
845 struct input_keymap_entry ke = { in evdev_handle_set_keycode() local
851 if (copy_from_user(ke.scancode, p, sizeof(unsigned int))) in evdev_handle_set_keycode()
854 if (get_user(ke.keycode, ip + 1)) in evdev_handle_set_keycode()
857 return input_set_keycode(dev, &ke); in evdev_handle_set_keycode()
862 struct input_keymap_entry ke; in evdev_handle_set_keycode_v2() local
864 if (copy_from_user(&ke, p, sizeof(ke))) in evdev_handle_set_keycode_v2()
867 if (ke.len > sizeof(ke.scancode)) in evdev_handle_set_keycode_v2()
870 return input_set_keycode(dev, &ke); in evdev_handle_set_keycode_v2()