1 #ifndef _LINUX_VC_IOCTL_H
2 #define _LINUX_VC_IOCTL_H
11 unsigned long fb_address
;
12 unsigned long cmap_adr_address
;
13 unsigned long cmap_data_address
;
14 unsigned long disp_reg_address
;
17 #define VC_GETMODE 0x7667
18 #define VC_SETMODE 0x7668
19 #define VC_INQMODE 0x7669
21 #define VC_SETCMAP 0x766a
22 #define VC_GETCMAP 0x766b
24 #define VC_POWERMODE 0x766c
26 /* Values for the argument to the VC_POWERMODE ioctl */
27 #define VC_POWERMODE_INQUIRY (-1)
28 #define VESA_NO_BLANKING 0
29 #define VESA_VSYNC_SUSPEND 1
30 #define VESA_HSYNC_SUSPEND 2
31 #define VESA_POWERDOWN 3
34 extern int console_getmode(struct vc_mode
*);
35 extern int console_setmode(struct vc_mode
*, int);
36 extern int console_setcmap(int, unsigned char *, unsigned char *,
38 extern int console_powermode(int);
39 extern struct vc_mode display_info
;
40 extern struct fb_info
*console_fb_info
;
43 #endif /* _LINUX_VC_IOCTL_H */