Lines Matching defs:scancode
768 * input_scancode_to_scalar() - converts scancode in &struct input_keymap_entry
769 * @ke: keymap entry containing scancode to be converted.
770 * @scancode: pointer to the location where converted scancode should
773 * This function is used to convert scancode stored in &struct keymap_entry
778 unsigned int *scancode)
782 *scancode = *((u8 *)ke->scancode);
786 *scancode = *((u16 *)ke->scancode);
790 *scancode = *((u32 *)ke->scancode);
803 * defined. In this case, an array indexed by the scancode is used.
844 memcpy(ke->scancode, &index, sizeof(index));
912 * input_get_keycode - retrieve keycode currently mapped to a given scancode
933 * input_set_keycode - attribute a keycode to a given scancode