Home
last modified time | relevance | path

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

123456

/Linux-v4.19/include/linux/
Dfb.h65 struct fb_videomode *modedb; /* mode database */
483 struct fb_videomode *mode; /* current mode */
741 extern void fb_destroy_modedb(struct fb_videomode *modedb);
742 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
746 struct fb_videomode *fb,
749 struct fb_videomode *fbmode);
755 extern void fb_var_to_videomode(struct fb_videomode *mode,
758 const struct fb_videomode *mode);
759 extern int fb_mode_is_equal(const struct fb_videomode *mode1,
760 const struct fb_videomode *mode2);
[all …]
/Linux-v4.19/drivers/video/fbdev/core/
Dmodedb.c36 static const struct fb_videomode modedb[] = {
292 const struct fb_videomode cea_modes[65] = {
349 const struct fb_videomode vesa_modes[] = {
600 const struct fb_videomode *mode, unsigned int bpp) in fb_try_mode()
676 const struct fb_videomode *db, unsigned int dbsize, in fb_find_mode()
677 const struct fb_videomode *default_mode, in fb_find_mode()
776 struct fb_videomode cvt_mode; in fb_find_mode()
903 void fb_var_to_videomode(struct fb_videomode *mode, in fb_var_to_videomode()
948 const struct fb_videomode *mode) in fb_videomode_to_var()
975 int fb_mode_is_equal(const struct fb_videomode *mode1, 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()
615 static struct fb_videomode *fb_create_modedb(unsigned char *edid, int *dbsize, in fb_create_modedb()
618 struct fb_videomode *mode, *m; in fb_create_modedb()
623 mode = kcalloc(50, sizeof(struct fb_videomode), GFP_KERNEL); in fb_create_modedb()
674 m = kmalloc_array(num, sizeof(struct fb_videomode), GFP_KERNEL); in fb_create_modedb()
677 memmove(m, mode, num * sizeof(struct fb_videomode)); in fb_create_modedb()
[all …]
Dfbsysfs.c107 const struct fb_videomode *mode) in mode_string()
135 struct fb_videomode *mode; in store_mode()
176 int i = count / sizeof(struct fb_videomode); in store_modes()
178 if (i * sizeof(struct fb_videomode) != count) in store_modes()
188 fb_videomode_to_modelist((const struct fb_videomode *)buf, i, in store_modes()
209 const struct fb_videomode *mode; in show_modes()
/Linux-v4.19/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;
92 const struct fb_videomode *mode,
105 struct fb_videomode mode;
Dtmiofb.c316 struct fb_videomode *mode = info->mode; in tmiofb_hw_mode()
494 struct fb_videomode *mode = fbi->mode; in tmiofb_vblank()
557 static struct fb_videomode *
561 struct fb_videomode *best = NULL; in tmiofb_find_mode()
565 struct fb_videomode *mode = data->modes + i; in tmiofb_find_mode()
579 struct fb_videomode *mode; in tmiofb_check_var()
616 struct fb_videomode *mode; in tmiofb_set_par()
Djz4740_fb.c187 static struct fb_videomode *jzfb_get_mode(struct jzfb *jzfb, in jzfb_get_mode()
191 struct fb_videomode *mode = jzfb->pdata->modes; in jzfb_get_mode()
204 struct fb_videomode *mode; in jzfb_check_var()
268 struct fb_videomode *mode; in jzfb_set_par()
468 struct fb_videomode *mode = jzfb->pdata->modes; in jzfb_alloc_devmem()
/Linux-v4.19/drivers/video/fbdev/via/
Dviamode.c271 static const struct fb_videomode viafb_modes[] = {
335 static const struct fb_videomode viafb_rb_modes[] = {
353 static const struct fb_videomode *get_best_mode( in get_best_mode()
354 const struct fb_videomode *modes, int n, in get_best_mode()
357 const struct fb_videomode *best = NULL; in get_best_mode()
372 const struct fb_videomode *viafb_get_best_mode(int hres, int vres, int refresh) in viafb_get_best_mode()
378 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres, in viafb_get_best_rb_mode()
Dviamode.h58 const struct fb_videomode *viafb_get_best_mode(int hres, int vres,
60 const struct fb_videomode *viafb_get_best_rb_mode(int hres, int vres,
Dvia_aux.c74 const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus) in via_aux_get_preferred_mode()
77 const struct fb_videomode *mode = NULL; in via_aux_get_preferred_mode()
Dvia_aux.h48 const struct fb_videomode* (*get_preferred_mode)
55 const struct fb_videomode *via_aux_get_preferred_mode(struct via_aux_bus *bus);
/Linux-v4.19/drivers/video/fbdev/geode/
Dgxfb_core.c43 static struct fb_videomode gx_modedb[] = {
113 static struct fb_videomode gx_dcon_modedb[] = {
120 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb()
123 *modedb = (struct fb_videomode *) gx_dcon_modedb; in get_modedb()
126 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
132 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb()
134 *modedb = (struct fb_videomode *) gx_modedb; in get_modedb()
382 struct fb_videomode *modedb_ptr; in gxfb_probe()
Dlxfb_core.c38 static struct fb_videomode geode_modedb[] = {
222 static struct fb_videomode olpc_dcon_modedb[] = {
229 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb()
232 *modedb = (struct fb_videomode *) olpc_dcon_modedb; in get_modedb()
235 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
241 static void get_modedb(struct fb_videomode **modedb, unsigned int *size) in get_modedb()
243 *modedb = (struct fb_videomode *) geode_modedb; in get_modedb()
504 struct fb_videomode *modedb_ptr; in lxfb_probe()
/Linux-v4.19/drivers/video/fbdev/mmp/fb/
Dmmpfb.c239 struct fb_videomode *videomode, int output_fmt) in fbmode_to_mmpmode()
263 static void mmpmode_to_fbmode(struct fb_videomode *videomode, in mmpmode_to_fbmode()
366 struct fb_videomode *m; in var_update()
377 m = (struct fb_videomode *)fb_match_mode(var, &info->modelist); in var_update()
380 m = (struct fb_videomode *)fb_find_best_mode(var, in var_update()
384 memcpy(&fbi->mode, m, sizeof(struct fb_videomode)); in var_update()
484 struct fb_videomode *videomodes; in modes_setup()
496 videomodes = kcalloc(videomode_num, sizeof(struct fb_videomode), in modes_setup()
506 memcpy(&fbi->mode, &videomodes[0], sizeof(struct fb_videomode)); in modes_setup()
Dmmpfb.h37 struct fb_videomode mode;
/Linux-v4.19/include/linux/mfd/
Dtmio.h140 const struct fb_videomode *mode);
142 struct fb_videomode *modes;
Dtc6393xb.h46 const struct fb_videomode *mode);
/Linux-v4.19/include/linux/platform_data/
Dvideo_s3c.h49 struct fb_videomode *vtiming;
Dvideo-mx3fb.h48 const struct fb_videomode *mode;
/Linux-v4.19/arch/mips/include/asm/mach-jz4740/
Djz4740_fb.h51 struct fb_videomode *modes;
/Linux-v4.19/arch/arm/mach-s3c64xx/
Dmach-real6410.c112 static struct fb_videomode real6410_lcd_type0_timing = {
129 static struct fb_videomode real6410_lcd_type1_timing = {
Dmach-mini6410.c149 static struct fb_videomode mini6410_lcd_type0_timing = {
168 static struct fb_videomode mini6410_lcd_type1_timing = {
/Linux-v4.19/drivers/video/fbdev/aty/
Dradeon_monitor.c715 const struct fb_videomode *mode) in radeon_videomode_to_var()
846 struct fb_videomode *modedb; in radeon_check_modes()
909 struct fb_videomode *modedb = NULL; in radeon_check_modes()
932 struct fb_videomode mode; in radeon_check_modes()
954 const struct fb_videomode *mode) in radeon_compare_modes()
979 const struct fb_videomode *db = vesa_modes; in radeon_match_mode()
983 const struct fb_videomode *candidate = NULL; in radeon_match_mode()
/Linux-v4.19/include/video/
Dpxa168fb.h87 struct fb_videomode *modes;

123456