Home
last modified time | relevance | path

Searched refs:kbd (Results 1 – 1 of 1) sorted by relevance

/include/linux/
Dkbd_kern.h68 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() argument
85 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() argument
90 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() argument
95 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() argument
100 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 …]