Home
last modified time | relevance | path

Searched refs:fb_videomode (Results 1 – 25 of 87) sorted by relevance

1234

/linux/include/linux/
H A Dfb.h70 struct fb_videomode *modedb; /* mode database */
472 struct fb_videomode *mode; /* current mode */
794 extern void fb_destroy_modedb(struct fb_videomode *modedb);
795 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
799 struct fb_videomode *fb,
802 struct fb_videomode *fbmode);
808 extern void fb_var_to_videomode(struct fb_videomode *mode,
811 const struct fb_videomode *mode);
812 extern int fb_mode_is_equal(const struct fb_videomode *mode1,
813 const struct fb_videomode *mode2);
[all …]
H A Dfbcon.h13 struct fb_videomode *mode);
33 struct fb_videomode *mode) { return 0; } in fbcon_mode_deleted()
H A Dsm501.h50 struct fb_videomode *def_mode;
/linux/drivers/video/fbdev/core/
H A Dmodedb.c36 static const struct fb_videomode modedb[] = {
297 const struct fb_videomode vesa_modes[] = {
548 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode()
624 const struct fb_videomode *db, unsigned int dbsize, in fb_find_mode()
625 const struct fb_videomode *default_mode, in fb_find_mode()
728 struct fb_videomode cvt_mode; in fb_find_mode()
855 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode()
903 const struct fb_videomode *mode) in fb_videomode_to_var()
930 int fb_mode_is_equal(const struct fb_videomode *mode1, in fb_mode_is_equal()
931 const struct fb_videomode *mode2) in fb_mode_is_equal()
[all …]
H A Dfbmon.c382 struct fb_videomode *mode) in calc_mode_timings()
409 static int get_est_timing(unsigned char *block, struct fb_videomode *mode) in get_est_timing()
494 static int get_std_timing(unsigned char *block, struct fb_videomode *mode, in get_std_timing()
553 static int get_dst_timing(unsigned char *block, struct fb_videomode *mode, in get_dst_timing()
565 struct fb_videomode *mode) in get_detailed_timing()
616 static struct fb_videomode *fb_create_modedb(unsigned char *edid, int *dbsize, in fb_create_modedb()
619 struct fb_videomode *mode, *m; in fb_create_modedb()
624 mode = kcalloc(50, sizeof(struct fb_videomode), GFP_KERNEL); in fb_create_modedb()
675 m = kmalloc_array(num, sizeof(struct fb_videomode), GFP_KERNEL); in fb_create_modedb()
678 memmove(m, mode, num * sizeof(struct fb_videomode)); in fb_create_modedb()
[all …]
H A Dfbsysfs.c35 const struct fb_videomode *mode) in mode_string()
63 struct fb_videomode *mode; in store_mode()
102 int i = count / sizeof(struct fb_videomode); in store_modes()
104 if (i * sizeof(struct fb_videomode) != count) in store_modes()
111 fb_videomode_to_modelist((const struct fb_videomode *)buf, i, in store_modes()
131 const struct fb_videomode *mode; in show_modes()
H A Dfbmem.c229 struct fb_videomode mode; in fb_set_var()
234 struct fb_videomode mode1, mode2; in fb_set_var()
392 struct fb_videomode mode; in do_register_framebuffer()
654 struct fb_videomode *m, mode; in fb_new_modelist()
/linux/drivers/video/fbdev/
H A Dmacmodes.c34 static const struct fb_videomode mac_modedb[] = {
142 const struct fb_videomode *mode;
223 const struct fb_videomode *mode = NULL; in mac_vmode_to_var()
322 const struct fb_videomode *mode = map->mode; in mac_var_to_vmode()
340 const struct fb_videomode *clk_mode = map->mode; in mac_var_to_vmode()
401 const struct fb_videomode *db = NULL; in mac_find_mode()
H A Dsh_mobile_lcdcfb.h45 struct fb_videomode def_mode;
100 struct fb_videomode mode;
H A Dps3fb.c140 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 Dneofb.c1632 static struct fb_videomode mode800x480 = {
1771 info->monspecs.modedb = kmalloc(sizeof(struct fb_videomode), GFP_KERNEL); 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 Dviamode.c257 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 Dviamode.h44 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 Dvia_aux.c59 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 Dvia_aux.h33 const struct fb_videomode* (*get_preferred_mode)
40 const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus);
H A Dvia_aux_edid.c47 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode()
/linux/drivers/video/fbdev/geode/
H A Dgxfb_core.c41 static struct fb_videomode gx_modedb[] = {
108 static struct fb_videomode gx_dcon_modedb[] = {
115 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb()
118 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb()
121 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
361 struct fb_videomode *modedb_ptr; in gxfb_probe()
H A Dlxfb_core.c37 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 Dmmpfb.c224 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 = kcalloc(videomode_num, sizeof(struct fb_videomode), in modes_setup()
489 memcpy(&fbi->mode, &videomodes[0], sizeof(struct fb_videomode)); in modes_setup()
H A Dmmpfb.h24 struct fb_videomode mode;
/linux/drivers/video/fbdev/aty/
H A Dradeon_monitor.c713 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 Dvideo_s3c.h49 struct fb_videomode *vtiming;
/linux/arch/sh/boards/
H A Dboard-sh7785lcr.c142 static struct fb_videomode sm501_default_mode_crt = {
155 static struct fb_videomode sm501_default_mode_pnl = {
/linux/include/video/
H A Dpxa168fb.h84 struct fb_videomode *modes;
/linux/arch/sh/include/asm/
H A Dsh7760fb.h142 struct fb_videomode *def_mode;

1234