Lines Matching refs:scancode
159 int kbd_setkeycode(unsigned int scancode, unsigned int keycode) in kbd_setkeycode() argument
161 return (scancode == keycode) ? 0 : -EINVAL; in kbd_setkeycode()
164 int kbd_getkeycode(unsigned int scancode) in kbd_getkeycode() argument
166 return scancode; in kbd_getkeycode()
169 int kbd_translate(unsigned char scancode, unsigned char *keycode, char raw_mode) in kbd_translate() argument
171 *keycode = scancode; in kbd_translate()
186 static inline void handle_kiudat(uint16_t data, uint16_t cmp_data, int scancode) in handle_kiudat() argument
195 repeat_scancode = scancode; in handle_kiudat()
199 if (repeat_scancode == scancode) in handle_kiudat()
202 handle_scancode(scancode, down); in handle_kiudat()
205 candidate_scancode = scancode; in handle_kiudat()
207 scancode++; in handle_kiudat()