Home
last modified time | relevance | path

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

12345

/Linux-v6.1/include/linux/
Dfb.h66 struct fb_videomode *modedb; /* mode database */
464 struct fb_videomode *mode; /* current mode */
719 extern void fb_destroy_modedb(struct fb_videomode *modedb);
720 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
724 struct fb_videomode *fb,
727 struct fb_videomode *fbmode);
733 extern void fb_var_to_videomode(struct fb_videomode *mode,
736 const struct fb_videomode *mode);
737 extern int fb_mode_is_equal(const struct fb_videomode *mode1,
738 const struct fb_videomode *mode2);
[all …]
Dfbcon.h13 struct fb_videomode *mode);
33 struct fb_videomode *mode) { return 0; } in fbcon_mode_deleted()
/Linux-v6.1/drivers/video/fbdev/core/
Dmodedb.c36 static const struct fb_videomode modedb[] = {
292 const struct fb_videomode vesa_modes[] = {
543 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode()
619 const struct fb_videomode *db, unsigned int dbsize, in fb_find_mode()
620 const struct fb_videomode *default_mode, in fb_find_mode()
719 struct fb_videomode cvt_mode; in fb_find_mode()
846 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode()
894 const struct fb_videomode *mode) in fb_videomode_to_var()
921 int fb_mode_is_equal(const struct fb_videomode *mode1, in fb_mode_is_equal()
922 const struct fb_videomode *mode2) in fb_mode_is_equal()
[all …]
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 …]
Dfbsysfs.c114 const struct fb_videomode *mode) in mode_string()
142 struct fb_videomode *mode; in store_mode()
183 int i = count / sizeof(struct fb_videomode); in store_modes()
185 if (i * sizeof(struct fb_videomode) != count) in store_modes()
192 fb_videomode_to_modelist((const struct fb_videomode *)buf, i, in store_modes()
213 const struct fb_videomode *mode; in show_modes()
/Linux-v6.1/drivers/video/fbdev/
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()
Dsh_mobile_lcdcfb.h45 struct fb_videomode def_mode;
100 struct fb_videomode mode;
Dtmiofb.c308 struct fb_videomode *mode = info->mode; in tmiofb_hw_mode()
486 struct fb_videomode *mode = fbi->mode; in tmiofb_vblank()
549 static struct fb_videomode *
553 struct fb_videomode *best = NULL; in tmiofb_find_mode()
557 struct fb_videomode *mode = data->modes + i; in tmiofb_find_mode()
571 struct fb_videomode *mode; in tmiofb_check_var()
608 struct fb_videomode *mode; in tmiofb_set_par()
/Linux-v6.1/drivers/video/fbdev/via/
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()
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,
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()
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);
/Linux-v6.1/drivers/video/fbdev/geode/
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()
365 struct fb_videomode *modedb_ptr; in gxfb_probe()
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()
485 struct fb_videomode *modedb_ptr; in lxfb_probe()
/Linux-v6.1/drivers/video/fbdev/mmp/fb/
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()
469 struct fb_videomode *videomodes; in modes_setup()
481 videomodes = kcalloc(videomode_num, sizeof(struct fb_videomode), in modes_setup()
491 memcpy(&fbi->mode, &videomodes[0], sizeof(struct fb_videomode)); in modes_setup()
Dmmpfb.h24 struct fb_videomode mode;
/Linux-v6.1/include/linux/mfd/
Dtmio.h130 const struct fb_videomode *mode);
132 struct fb_videomode *modes;
Dtc6393xb.h40 const struct fb_videomode *mode);
/Linux-v6.1/include/linux/platform_data/
Dvideo_s3c.h49 struct fb_videomode *vtiming;
Dvideo-mx3fb.h45 const struct fb_videomode *mode;
/Linux-v6.1/arch/arm/mach-s3c/
Dmach-real6410.c111 static struct fb_videomode real6410_lcd_type0_timing = {
128 static struct fb_videomode real6410_lcd_type1_timing = {
Dmach-mini6410.c148 static struct fb_videomode mini6410_lcd_type0_timing = {
167 static struct fb_videomode mini6410_lcd_type1_timing = {
/Linux-v6.1/drivers/video/fbdev/aty/
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-v6.1/drivers/staging/board/
Darmadillo800eva.c22 static struct fb_videomode lcdc0_mode = {
/Linux-v6.1/include/video/
Dpxa168fb.h84 struct fb_videomode *modes;

12345