Lines Matching defs:scancode
783 * input_scancode_to_scalar() - converts scancode in &struct input_keymap_entry
784 * @ke: keymap entry containing scancode to be converted.
785 * @scancode: pointer to the location where converted scancode should
788 * This function is used to convert scancode stored in &struct keymap_entry
793 unsigned int *scancode)
797 *scancode = *((u8 *)ke->scancode);
801 *scancode = *((u16 *)ke->scancode);
805 *scancode = *((u32 *)ke->scancode);
818 * defined. In this case, an array indexed by the scancode is used.
859 memcpy(ke->scancode, &index, sizeof(index));
927 * input_get_keycode - retrieve keycode currently mapped to a given scancode
948 * input_set_keycode - attribute a keycode to a given scancode