Home
last modified time | relevance | path

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

1234

/Linux-v6.6/include/linux/
Dfb.h67 struct fb_videomode *modedb; /* mode database */
462 struct fb_videomode *mode; /* current mode */
761 extern void fb_destroy_modedb(struct fb_videomode *modedb);
762 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
766 struct fb_videomode *fb,
769 struct fb_videomode *fbmode);
775 extern void fb_var_to_videomode(struct fb_videomode *mode,
778 const struct fb_videomode *mode);
779 extern int fb_mode_is_equal(const struct fb_videomode *mode1,
780 const struct fb_videomode *mode2);
[all …]
Dfbcon.h13 struct fb_videomode *mode);
33 struct fb_videomode *mode) { return 0; } in fbcon_mode_deleted()
Dlcd.h51 int (*set_mode)(struct lcd_device *, struct fb_videomode *);
/Linux-v6.6/drivers/video/fbdev/core/
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 …]
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.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()
/Linux-v6.6/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;
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()
810 const struct fb_videomode *vmode; in ps3fb_ioctl()
Dda8xx-fb.c170 struct fb_videomode mode;
187 static struct fb_videomode known_lcd_panels[] = {
444 struct fb_videomode *panel) in lcd_cfg_display()
750 struct fb_videomode *mode) in da8xx_fb_calc_config_clk_divider()
769 struct fb_videomode *panel) in lcd_init()
1307 static struct fb_videomode *da8xx_fb_get_videomode(struct platform_device *dev) in da8xx_fb_get_videomode()
1310 struct fb_videomode *lcdc_info; in da8xx_fb_get_videomode()
1333 struct fb_videomode *lcdc_info; in fb_probe()
/Linux-v6.6/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.6/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()
361 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()
484 struct fb_videomode *modedb_ptr; in lxfb_probe()
/Linux-v6.6/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()
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()
Dmmpfb.h24 struct fb_videomode mode;
/Linux-v6.6/include/linux/mfd/
Dtmio.h124 const struct fb_videomode *mode);
126 struct fb_videomode *modes;
/Linux-v6.6/include/linux/platform_data/
Dvideo_s3c.h49 struct fb_videomode *vtiming;
/Linux-v6.6/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.6/drivers/staging/board/
Darmadillo800eva.c22 static struct fb_videomode lcdc0_mode = {
/Linux-v6.6/include/video/
Dpxa168fb.h84 struct fb_videomode *modes;
/Linux-v6.6/arch/sh/boards/
Dboard-sh7785lcr.c142 static struct fb_videomode sm501_default_mode_crt = {
155 static struct fb_videomode sm501_default_mode_pnl = {
/Linux-v6.6/arch/sh/include/asm/
Dsh7760fb.h142 struct fb_videomode *def_mode;

1234