Searched refs:kbd (Results 1 – 1 of 1) sorted by relevance
68 extern void setledstate(struct kbd_struct *kbd, unsigned int led);83 static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag) in vc_kbd_mode() argument85 return ((kbd->modeflags >> flag) & 1); in vc_kbd_mode()88 static inline int vc_kbd_led(struct kbd_struct * kbd, int flag) in vc_kbd_led() argument90 return ((kbd->ledflagstate >> flag) & 1); in vc_kbd_led()93 static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag) in set_vc_kbd_mode() argument95 kbd->modeflags |= 1 << flag; in set_vc_kbd_mode()98 static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag) in set_vc_kbd_led() argument100 kbd->ledflagstate |= 1 << flag; in set_vc_kbd_led()103 static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag) in clr_vc_kbd_mode() argument[all …]