~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-sh/keyboard.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef __ASM_SH_KEYBOARD_H
  2 #define __ASM_SH_KEYBOARD_H
  3 /*
  4  *      $Id: keyboard.h,v 1.1 2000/06/10 21:45:48 yaegashi Exp $
  5  */
  6 
  7 #include <asm/machvec.h>
  8 
  9 static __inline__ int kbd_setkeycode(unsigned int scancode,
 10                                      unsigned int keycode)
 11 {
 12     return -EOPNOTSUPP;
 13 }
 14 
 15 static __inline__ int kbd_getkeycode(unsigned int scancode)
 16 {
 17     return scancode > 127 ? -EINVAL : scancode;
 18 }
 19 
 20 static __inline__ int kbd_translate(unsigned char scancode,
 21                                     unsigned char *keycode, char raw_mode)
 22 {
 23     *keycode = scancode;
 24     return 1;
 25 }
 26 
 27 static __inline__ char kbd_unexpected_up(unsigned char keycode)
 28 {
 29     return 0200;
 30 }
 31 
 32 static __inline__ void kbd_leds(unsigned char leds)
 33 {
 34 }
 35 
 36 extern void hp600_kbd_init_hw(void);
 37 
 38 static __inline__ void kbd_init_hw(void)
 39 {
 40         if (MACH_HP600) {
 41                 hp600_kbd_init_hw();
 42         }
 43 }
 44 
 45 #endif
 46 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.