| /linux/include/linux/ |
| H A D | fb.h | 71 struct fb_videomode *modedb; /* mode database */ 464 struct fb_videomode *mode; /* current mode */ 800 extern void fb_destroy_modedb(struct fb_videomode *modedb); 801 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb); 805 struct fb_videomode *fb, 808 struct fb_videomode *fbmode); 814 extern void fb_var_to_videomode(struct fb_videomode *mode, 817 const struct fb_videomode *mode); 818 extern int fb_mode_is_equal(const struct fb_videomode *mode1, 819 const struct fb_videomode *mode2); [all …]
|
| H A D | fbcon.h | 9 struct fb_videomode; 20 struct fb_videomode *mode); 41 struct fb_videomode *mode) { return 0; } in fbcon_mode_deleted()
|
| H A D | sm501.h | 47 struct fb_videomode *def_mode;
|
| /linux/drivers/video/fbdev/core/ |
| H A D | modedb.c | 37 static const struct fb_videomode modedb[] = { 298 const struct fb_videomode vesa_modes[] = { 549 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode() 625 const struct fb_videomode *db, unsigned int dbsize, in fb_find_mode() 626 const struct fb_videomode *default_mode, in fb_find_mode() 729 struct fb_videomode cvt_mode; in fb_find_mode() 856 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode() 904 const struct fb_videomode *mode) in fb_videomode_to_var() 931 int fb_mode_is_equal(const struct fb_videomode *mode1, in fb_mode_is_equal() 932 const struct fb_videomode *mode2) in fb_mode_is_equal() [all …]
|
| H A D | fbmon.c | 387 struct fb_videomode *mode) in calc_mode_timings() 414 static int get_est_timing(unsigned char *block, struct fb_videomode *mode) in get_est_timing() 499 static int get_std_timing(unsigned char *block, struct fb_videomode *mode, in get_std_timing() 558 static int get_dst_timing(unsigned char *block, struct fb_videomode *mode, in get_dst_timing() 570 struct fb_videomode *mode) in get_detailed_timing() 621 static struct fb_videomode *fb_create_modedb(unsigned char *edid, int *dbsize, in fb_create_modedb() 624 struct fb_videomode *mode, *m; in fb_create_modedb() 629 mode = kzalloc_objs(struct fb_videomode, 50); in fb_create_modedb() 680 m = kmalloc_objs(struct fb_videomode, num); in fb_create_modedb() 683 memmove(m, mode, num * sizeof(struct fb_videomode)); in fb_create_modedb() [all …]
|
| H A D | fbsysfs.c | 33 const struct fb_videomode *mode) in mode_string() 61 struct fb_videomode *mode; in store_mode() 100 int i = count / sizeof(struct fb_videomode); in store_modes() 102 if (i * sizeof(struct fb_videomode) != count) in store_modes() 109 fb_videomode_to_modelist((const struct fb_videomode *)buf, i, in store_modes() 129 const struct fb_videomode *mode; in show_modes()
|
| H A D | fbmem.c | 226 struct fb_videomode *mode) in fb_lcd_notify_mode_change() 237 struct fb_videomode mode; in fb_set_var() 241 struct fb_videomode mode1, mode2; in fb_set_var() 440 struct fb_videomode mode; in do_register_framebuffer() 718 struct fb_videomode *m, mode; in fb_new_modelist()
|
| /linux/drivers/video/fbdev/ |
| H A D | macmodes.c | 35 static const struct fb_videomode mac_modedb[] = { 143 const struct fb_videomode *mode; 224 const struct fb_videomode *mode = NULL; in mac_vmode_to_var() 323 const struct fb_videomode *mode = map->mode; in mac_var_to_vmode() 341 const struct fb_videomode *clk_mode = map->mode; in mac_var_to_vmode() 402 const struct fb_videomode *db = NULL; in mac_find_mode()
|
| H A D | sh_mobile_lcdcfb.h | 45 struct fb_videomode def_mode; 100 struct fb_videomode mode;
|
| H A D | ps3fb.c | 140 static const struct fb_videomode ps3fb_modedb[] = { 265 static int ps3fb_cmp_mode(const struct fb_videomode *vmode, in ps3fb_cmp_mode() 313 static const struct fb_videomode *ps3fb_native_vmode(enum ps3av_mode_num id) in ps3fb_native_vmode() 318 static const struct fb_videomode *ps3fb_vmode(int id) in ps3fb_vmode() 338 const struct fb_videomode *vmode; in ps3fb_find_mode() 608 const struct fb_videomode *vmode; in ps3fb_set_par() 812 const struct fb_videomode *vmode; in ps3fb_ioctl()
|
| H A D | neofb.c | 1632 static struct fb_videomode mode800x480 = { 1771 info->monspecs.modedb = kmalloc_obj(struct fb_videomode); in neo_scan_monitor() 1796 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor() 1802 memcpy(info->monspecs.modedb, &mode800x480, sizeof(struct fb_videomode)); in neo_scan_monitor() 1806 memcpy(info->monspecs.modedb, &vesa_modes[8], sizeof(struct fb_videomode)); in neo_scan_monitor() 1813 memcpy(info->monspecs.modedb, &vesa_modes[13], sizeof(struct fb_videomode)); in neo_scan_monitor() 1820 memcpy(info->monspecs.modedb, &vesa_modes[20], sizeof(struct fb_videomode)); in neo_scan_monitor() 1832 memcpy(info->monspecs.modedb, &vesa_modes[3], sizeof(struct fb_videomode)); in neo_scan_monitor()
|
| /linux/drivers/video/fbdev/via/ |
| H A D | viamode.c | 257 static const struct fb_videomode viafb_modes[] = { 321 static const struct fb_videomode viafb_rb_modes[] = { 339 static const struct fb_videomode *get_best_mode( in get_best_mode() 340 const struct fb_videomode *modes, int n, in get_best_mode() 343 const struct fb_videomode *best = NULL; in get_best_mode() 358 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) in viafb_get_best_mode() 364 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres, in viafb_get_best_rb_mode()
|
| H A D | viamode.h | 44 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, 46 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres,
|
| H A D | via_aux.c | 59 const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus) in via_aux_get_preferred_mode() 62 const struct fb_videomode *mode = NULL; in via_aux_get_preferred_mode()
|
| H A D | via_aux.h | 33 const struct fb_videomode* (*get_preferred_mode) 40 const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus);
|
| H A D | via_aux_edid.c | 47 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode()
|
| /linux/drivers/video/fbdev/geode/ |
| H A D | gxfb_core.c | 42 static struct fb_videomode gx_modedb[] = { 109 static struct fb_videomode gx_dcon_modedb[] = { 116 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() 119 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb() 122 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb() 362 struct fb_videomode *modedb_ptr; in gxfb_probe()
|
| H A D | lxfb_core.c | 37 static struct fb_videomode geode_modedb[] = { 218 static struct fb_videomode olpc_dcon_modedb[] = { 225 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb() 228 *modedb = (struct fb_videomode *) olpc_dcon_modedb; in get_modedb() 231 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb() 484 struct fb_videomode *modedb_ptr; in lxfb_probe()
|
| /linux/drivers/video/fbdev/mmp/fb/ |
| H A D | mmpfb.c | 224 struct fb_videomode *videomode, int output_fmt) in fbmode_to_mmpmode() 248 static void mmpmode_to_fbmode(struct fb_videomode *videomode, in mmpmode_to_fbmode() 351 struct fb_videomode *m; in var_update() 362 m = (struct fb_videomode *)fb_match_mode(var, &info->modelist); in var_update() 365 m = (struct fb_videomode *)fb_find_best_mode(var, in var_update() 369 memcpy(&fbi->mode, m, sizeof(struct fb_videomode)); in var_update() 467 struct fb_videomode *videomodes; in modes_setup() 479 videomodes = kzalloc_objs(struct fb_videomode, videomode_num); in modes_setup() 488 memcpy(&fbi->mode, &videomodes[0], sizeof(struct fb_videomode)); in modes_setup()
|
| H A D | mmpfb.h | 24 struct fb_videomode mode;
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | radeon_monitor.c | 713 const struct fb_videomode *mode) in radeon_videomode_to_var() 844 struct fb_videomode *modedb; in radeon_check_modes() 907 struct fb_videomode *modedb = NULL; in radeon_check_modes() 930 struct fb_videomode mode; in radeon_check_modes() 952 const struct fb_videomode *mode) in radeon_compare_modes() 977 const struct fb_videomode *db = vesa_modes; in radeon_match_mode() 981 const struct fb_videomode *candidate = NULL; in radeon_match_mode()
|
| /linux/include/linux/platform_data/ |
| H A D | video_s3c.h | 49 struct fb_videomode *vtiming;
|
| /linux/arch/sh/boards/ |
| H A D | board-sh7785lcr.c | 142 static struct fb_videomode sm501_default_mode_crt = { 155 static struct fb_videomode sm501_default_mode_pnl = {
|
| /linux/include/video/ |
| H A D | pxa168fb.h | 84 struct fb_videomode *modes;
|
| /linux/arch/sh/include/asm/ |
| H A D | sh7760fb.h | 142 struct fb_videomode *def_mode;
|