Subversion Repositories Kolibri OS

Rev

Rev 3120 | Rev 4538 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3120 Rev 4279
Line 885... Line 885...
885
		struct aperture {
885
		struct aperture {
886
			resource_size_t base;
886
			resource_size_t base;
887
			resource_size_t size;
887
			resource_size_t size;
888
		} ranges[0];
888
		} ranges[0];
889
	} *apertures;
889
	} *apertures;
-
 
890
 
-
 
891
	bool skip_vt_switch; /* no VT switch on suspend/resume required */
890
};
892
};
Line 891... Line 893...
891
 
893
 
892
static inline struct apertures_struct *alloc_apertures(unsigned int max_num) {
894
static inline struct apertures_struct *alloc_apertures(unsigned int max_num) {
893
	struct apertures_struct *a = kzalloc(sizeof(struct apertures_struct)
895
	struct apertures_struct *a = kzalloc(sizeof(struct apertures_struct)
Line 1093... Line 1095...
1093
				 struct fb_monspecs *specs);
1095
				 struct fb_monspecs *specs);
1094
extern void fb_destroy_modedb(struct fb_videomode *modedb);
1096
extern void fb_destroy_modedb(struct fb_videomode *modedb);
1095
extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
1097
extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
1096
extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter);
1098
extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter);
Line -... Line 1099...
-
 
1099
 
-
 
1100
extern int of_get_fb_videomode(struct device_node *np,
-
 
1101
			       struct fb_videomode *fb,
-
 
1102
			       int index);
-
 
1103
extern int fb_videomode_from_videomode(const struct videomode *vm,
-
 
1104
				       struct fb_videomode *fbmode);
1097
 
1105
 
1098
/* drivers/video/modedb.c */
1106
/* drivers/video/modedb.c */
1099
#define VESA_MODEDB_SIZE 34
1107
#define VESA_MODEDB_SIZE 34
1100
extern void fb_var_to_videomode(struct fb_videomode *mode,
1108
extern void fb_var_to_videomode(struct fb_videomode *mode,
1101
				const struct fb_var_screeninfo *var);
1109
				const struct fb_var_screeninfo *var);