| /OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/ |
| H A D | meson_venc.c | 881 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; in meson_venc_hdmi_supported_vic() local 883 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic() 884 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic() 886 vmode++; in meson_venc_hdmi_supported_vic() 920 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; in meson_venc_hdmi_get_vic_vmode() local 922 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode() 923 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode() 924 return vmode->mode; in meson_venc_hdmi_get_vic_vmode() 925 vmode++; in meson_venc_hdmi_get_vic_vmode() 953 union meson_hdmi_venc_mode *vmode = NULL; in meson_venc_hdmi_mode_set() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | ps3fb.c | 265 static int ps3fb_cmp_mode(const struct fb_videomode *vmode, in ps3fb_cmp_mode() argument 272 if (var->xres > vmode->xres || var->yres > vmode->yres || in ps3fb_cmp_mode() 273 var->pixclock > vmode->pixclock || in ps3fb_cmp_mode() 274 var->hsync_len > vmode->hsync_len || in ps3fb_cmp_mode() 275 var->vsync_len > vmode->vsync_len) in ps3fb_cmp_mode() 279 if ((var->vmode & FB_VMODE_MASK) != vmode->vmode) in ps3fb_cmp_mode() 287 left_margin = max(var->left_margin, vmode->left_margin); in ps3fb_cmp_mode() 288 right_margin = max(var->right_margin, vmode->right_margin); in ps3fb_cmp_mode() 289 upper_margin = max(var->upper_margin, vmode->upper_margin); in ps3fb_cmp_mode() 290 lower_margin = max(var->lower_margin, vmode->lower_margin); in ps3fb_cmp_mode() [all …]
|
| H A D | macmodes.c | 141 int vmode; member 183 int vmode; member 221 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) in mac_vmode_to_var() argument 226 for (map = mac_modes; map->vmode != -1; map++) in mac_vmode_to_var() 227 if (map->vmode == vmode) { in mac_vmode_to_var() 285 var->vmode = mode->vmode; in mac_vmode_to_var() 303 int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, in mac_var_to_vmode() argument 321 for (map = mac_modes; map->vmode != -1; map++) { in mac_var_to_vmode() 330 if ((var->vmode & FB_VMODE_MASK) != mode->vmode) in mac_var_to_vmode() 332 *vmode = map->vmode; in mac_var_to_vmode() [all …]
|
| H A D | platinumfb.c | 46 int vmode, cmode; member 135 init = platinum_reg_init[pinfo->vmode-1]; in platinumfb_set_par() 137 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par() 146 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) in platinumfb_set_par() 243 init = platinum_reg_init[pinfo->vmode-1]; in set_platinum_clock() 271 int vmode, cmode; in platinum_set_hardware() local 273 vmode = pinfo->vmode; in platinum_set_hardware() 276 init = platinum_reg_init[vmode - 1]; in platinum_set_hardware() 443 int vmode, cmode; in platinum_var_to_par() local 445 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in platinum_var_to_par() [all …]
|
| H A D | valkyriefb.c | 70 int vmode, cmode; member 162 return mac_vmode_to_var(par->vmode, par->cmode, var); in valkyrie_par_to_var() 459 int vmode, cmode; in valkyrie_var_to_par() local 464 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in valkyrie_var_to_par() 471 if (vmode < 1 || vmode > VMODE_MAX || !valkyrie_reg_init[vmode-1]) { in valkyrie_var_to_par() 472 printk(KERN_ERR "valkyriefb: vmode %d not valid.\n", vmode); in valkyrie_var_to_par() 486 init = valkyrie_reg_init[vmode-1]; in valkyrie_var_to_par() 489 "cmode %d.\n", vmode, cmode); in valkyrie_var_to_par() 493 if (valkyrie_vram_reqd(vmode, cmode) > p->total_vram) { in valkyrie_var_to_par() 495 "cmode %d.\n", vmode, cmode); in valkyrie_var_to_par() [all …]
|
| H A D | controlfb.c | 86 int vmode, cmode; member 557 if (mac_var_to_vmode(var, &par->vmode, &cmode)) in control_var_to_par() 558 par->vmode = 0; in control_var_to_par() 611 var->vmode = FB_VMODE_NONINTERLACED; in control_par_to_var() 817 int vmode = simple_strtoul(this_opt+6, NULL, 0); in control_setup() local 818 if (vmode > 0 && vmode <= VMODE_MAX && in control_setup() 819 control_mac_modes[vmode - 1].m[1] >= 0) in control_setup() 820 default_vmode = vmode; in control_setup() 850 int full, sense, vmode, cmode, vyres; in init_control() local 865 vmode = default_vmode; in init_control() [all …]
|
| H A D | 68328fb.c | 72 .vmode = FB_VMODE_NONINTERLACED, 142 if (var->vmode & FB_VMODE_CONUPDATE) { in mc68x328fb_check_var() 143 var->vmode |= FB_VMODE_YWRAP; in mc68x328fb_check_var() 369 if (var->vmode & FB_VMODE_YWRAP) { in mc68x328fb_pan_display() 381 if (var->vmode & FB_VMODE_YWRAP) in mc68x328fb_pan_display() 382 info->var.vmode |= FB_VMODE_YWRAP; in mc68x328fb_pan_display() 384 info->var.vmode &= ~FB_VMODE_YWRAP; in mc68x328fb_pan_display()
|
| H A D | vfb.c | 54 .vmode = FB_VMODE_NONINTERLACED, 126 if (var->vmode & FB_VMODE_CONUPDATE) { in vfb_check_var() 127 var->vmode |= FB_VMODE_YWRAP; in vfb_check_var() 362 if (var->vmode & FB_VMODE_YWRAP) { in vfb_pan_display() 373 if (var->vmode & FB_VMODE_YWRAP) in vfb_pan_display() 374 info->var.vmode |= FB_VMODE_YWRAP; in vfb_pan_display() 376 info->var.vmode &= ~FB_VMODE_YWRAP; in vfb_pan_display()
|
| H A D | fsl-diu-fb.c | 68 .vmode = FB_VMODE_NONINTERLACED 82 .vmode = FB_VMODE_NONINTERLACED 96 .vmode = FB_VMODE_NONINTERLACED 110 .vmode = FB_VMODE_NONINTERLACED 124 .vmode = FB_VMODE_NONINTERLACED 138 .vmode = FB_VMODE_NONINTERLACED 152 .vmode = FB_VMODE_NONINTERLACED 166 .vmode = FB_VMODE_NONINTERLACED 180 .vmode = FB_VMODE_NONINTERLACED 194 .vmode = FB_VMODE_NONINTERLACED [all …]
|
| H A D | pvr2fb.c | 170 .vmode = FB_VMODE_NONINTERLACED, 372 var->vmode &= FB_VMODE_MASK; in pvr2fb_set_par() 373 if (var->vmode & FB_VMODE_INTERLACED && video_output != VO_VGA) in pvr2fb_set_par() 379 if (var->vmode & FB_VMODE_DOUBLE && video_output == VO_VGA) in pvr2fb_set_par() 460 if (var->vmode & FB_VMODE_YWRAP) { in pvr2fb_check_var() 477 var->vmode |= FB_VMODE_DOUBLE; in pvr2fb_check_var() 481 var->vmode |= FB_VMODE_INTERLACED; in pvr2fb_check_var() 484 var->vmode &= ~FB_VMODE_INTERLACED; in pvr2fb_check_var() 485 var->vmode |= FB_VMODE_NONINTERLACED; in pvr2fb_check_var() 508 if (var->vmode & FB_VMODE_INTERLACED) in pvr2fb_check_var()
|
| H A D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 55 extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
|
| H A D | amifb.c | 731 int vmode; /* vmode */ member 1194 par->vmode = var->vmode | FB_VMODE_SMOOTH_XPAN; in ami_decode_var() 1195 switch (par->vmode & FB_VMODE_MASK) { in ami_decode_var() 1346 if ((par->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) in ami_decode_var() 1402 par->vmode &= ~FB_VMODE_SMOOTH_XPAN; in ami_decode_var() 1410 par->vmode &= ~FB_VMODE_SMOOTH_XPAN; in ami_decode_var() 1421 par->vmode &= ~FB_VMODE_SMOOTH_XPAN; in ami_decode_var() 1438 par->vmode &= ~FB_VMODE_YWRAP; in ami_decode_var() 1479 switch (par->vmode & FB_VMODE_MASK) { in ami_decode_var() 1489 if (!((par->vmode ^ var->vmode) & FB_VMODE_YWRAP)) { in ami_decode_var() [all …]
|
| H A D | s3c-fb.c | 1243 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; in s3c_fb_probe_win() 1290 struct fb_videomode *vmode = sfb->pdata->vtiming; in s3c_fb_set_rgb_timing() local 1295 if (!vmode->pixclock) in s3c_fb_set_rgb_timing() 1296 s3c_fb_missing_pixclock(vmode); in s3c_fb_set_rgb_timing() 1298 clkdiv = s3c_fb_calc_pixclk(sfb, vmode->pixclock); in s3c_fb_set_rgb_timing() 1312 data = VIDTCON0_VBPD(vmode->upper_margin - 1) | in s3c_fb_set_rgb_timing() 1313 VIDTCON0_VFPD(vmode->lower_margin - 1) | in s3c_fb_set_rgb_timing() 1314 VIDTCON0_VSPW(vmode->vsync_len - 1); in s3c_fb_set_rgb_timing() 1317 data = VIDTCON1_HBPD(vmode->left_margin - 1) | in s3c_fb_set_rgb_timing() 1318 VIDTCON1_HFPD(vmode->right_margin - 1) | in s3c_fb_set_rgb_timing() [all …]
|
| H A D | imsttfb.c | 786 || (var->vmode & FB_VMODE_MASK) != FB_VMODE_NONINTERLACED) in imsttfb_check_var() 851 var->vmode = FB_VMODE_NONINTERLACED; in imsttfb_check_var() 1393 int vmode = init_vmode, cmode = init_cmode; in init_imstt() local 1395 if (vmode == -1) { in init_imstt() 1396 vmode = nvram_read_byte(NV_VMODE); in init_imstt() 1397 if (vmode <= 0 || vmode > VMODE_MAX) in init_imstt() 1398 vmode = VMODE_640_480_67; in init_imstt() 1405 if (mac_vmode_to_var(vmode, cmode, &info->var)) { in init_imstt() 1566 int vmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() local 1567 if (vmode > 0 && vmode <= VMODE_MAX) in imsttfb_setup() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | optabs-query.h | 96 get_vec_cmp_icode (machine_mode vmode, machine_mode mask_mode, bool uns) in get_vec_cmp_icode() argument 99 return convert_optab_handler (tab, vmode, mask_mode); in get_vec_cmp_icode() 106 get_vec_cmp_eq_icode (machine_mode vmode, machine_mode mask_mode) in get_vec_cmp_eq_icode() argument 108 return convert_optab_handler (vec_cmpeq_optab, vmode, mask_mode); in get_vec_cmp_eq_icode() 115 get_vcond_icode (machine_mode vmode, machine_mode cmode, bool uns) in get_vcond_icode() argument 119 icode = convert_optab_handler (vcondu_optab, vmode, cmode); in get_vcond_icode() 121 icode = convert_optab_handler (vcond_optab, vmode, cmode); in get_vcond_icode() 129 get_vcond_mask_icode (machine_mode vmode, machine_mode mmode) in get_vcond_mask_icode() argument 131 return convert_optab_handler (vcond_mask_optab, vmode, mmode); in get_vcond_mask_icode() 138 get_vcond_eq_icode (machine_mode vmode, machine_mode cmode) in get_vcond_eq_icode() argument [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | optabs-query.h | 96 get_vec_cmp_icode (machine_mode vmode, machine_mode mask_mode, bool uns) in get_vec_cmp_icode() argument 99 return convert_optab_handler (tab, vmode, mask_mode); in get_vec_cmp_icode() 106 get_vec_cmp_eq_icode (machine_mode vmode, machine_mode mask_mode) in get_vec_cmp_eq_icode() argument 108 return convert_optab_handler (vec_cmpeq_optab, vmode, mask_mode); in get_vec_cmp_eq_icode() 115 get_vcond_icode (machine_mode vmode, machine_mode cmode, bool uns) in get_vcond_icode() argument 119 icode = convert_optab_handler (vcondu_optab, vmode, cmode); in get_vcond_icode() 121 icode = convert_optab_handler (vcond_optab, vmode, cmode); in get_vcond_icode() 129 get_vcond_mask_icode (machine_mode vmode, machine_mode mmode) in get_vcond_mask_icode() argument 131 return convert_optab_handler (vcond_mask_optab, vmode, mmode); in get_vcond_mask_icode() 138 get_vcond_eq_icode (machine_mode vmode, machine_mode cmode) in get_vcond_eq_icode() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/atari/ |
| H A D | nvram.c | 183 unsigned int vmode; in atari_nvram_proc_read() local 232 vmode = (nvram[14] << 8) | nvram[15]; in atari_nvram_proc_read() 235 colors[vmode & 7], vmode & 8 ? 80 : 40, in atari_nvram_proc_read() 236 vmode & 16 ? "VGA" : "TV", vmode & 32 ? "PAL" : "NTSC"); in atari_nvram_proc_read() 239 vmode & 64 ? "" : "no ", vmode & 128 ? "on" : "off", in atari_nvram_proc_read() 240 vmode & 256 ? in atari_nvram_proc_read() 241 (vmode & 16 ? ", line doubling" : ", half screen") : ""); in atari_nvram_proc_read()
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | pbias-regulator.c | 34 u32 vmode; member 67 .vmode = BIT(0), 78 .vmode = BIT(8), 89 .vmode = BIT(21), 100 .vmode = BIT(21), 207 desc->vsel_mask = info->vmode; in pbias_regulator_probe()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | fsl_diu_fb.c | 35 .vmode = FB_VMODE_NONINTERLACED 52 .vmode = FB_VMODE_NONINTERLACED 74 .vmode = FB_VMODE_NONINTERLACED 90 .vmode = FB_VMODE_NONINTERLACED 106 .vmode = FB_VMODE_NONINTERLACED 122 .vmode = FB_VMODE_NONINTERLACED 300 info.var.vmode = fsl_diu_mode_db->vmode; in fsl_diu_init()
|
| H A D | fsl_dcu_fb.c | 101 .vmode = FB_VMODE_NONINTERLACED 120 .vmode = FB_VMODE_NONINTERLACED, 136 .vmode = FB_VMODE_NONINTERLACED, 152 .vmode = FB_VMODE_NONINTERLACED, 168 .vmode = FB_VMODE_NONINTERLACED, 420 info.var.vmode = fsl_dcu_mode_db->vmode; in video_hw_init()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/ |
| H A D | initextlfb.c | 131 var->vmode = FB_VMODE_NONINTERLACED; in sisfb_mode_rate_to_ddata() 133 var->vmode = FB_VMODE_INTERLACED; in sisfb_mode_rate_to_ddata() 140 var->vmode = FB_VMODE_DOUBLE; in sisfb_mode_rate_to_ddata() 148 if((var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) { in sisfb_mode_rate_to_ddata() 154 } else if((var->vmode & FB_VMODE_MASK) == FB_VMODE_DOUBLE) { in sisfb_mode_rate_to_ddata()
|
| /OK3568_Linux_fs/u-boot/board/boundary/nitrogen6x/ |
| H A D | nitrogen6x.c | 526 .vmode = FB_VMODE_NONINTERLACED 546 .vmode = FB_VMODE_NONINTERLACED 566 .vmode = FB_VMODE_NONINTERLACED 586 .vmode = FB_VMODE_NONINTERLACED 606 .vmode = FB_VMODE_NONINTERLACED 626 .vmode = FB_VMODE_NONINTERLACED 646 .vmode = FB_VMODE_NONINTERLACED 666 .vmode = FB_VMODE_NONINTERLACED 686 .vmode = FB_VMODE_NONINTERLACED 706 .vmode = FB_VMODE_NONINTERLACED [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | modedb.c | 566 var->vmode = mode->vmode; in fb_try_mode() 734 cvt_mode.vmode |= FB_VMODE_INTERLACED; in fb_find_mode() 736 cvt_mode.vmode &= ~FB_VMODE_INTERLACED; in fb_find_mode() 776 const int db_interlace = (db[i].vmode & in fb_find_mode() 862 mode->vmode = var->vmode & FB_VMODE_MASK; in fb_var_to_videomode() 876 if (var->vmode & FB_VMODE_INTERLACED) in fb_var_to_videomode() 878 if (var->vmode & FB_VMODE_DOUBLE) in fb_var_to_videomode() 910 var->vmode = mode->vmode & FB_VMODE_MASK; in fb_videomode_to_var() 934 mode1->vmode == mode2->vmode); in fb_mode_is_equal()
|
| H A D | fbmon.c | 403 mode->vmode = 0; in calc_mode_timings() 591 mode->vmode |= FB_VMODE_INTERLACED; in get_detailed_timing() 738 if (mode->vmode & FB_VMODE_INTERLACED) in fb_get_monitor_limits() 741 if (mode->vmode & FB_VMODE_DOUBLE) in fb_get_monitor_limits() 1250 if (var->vmode & FB_VMODE_INTERLACED) { in fb_get_mode() 1254 if (var->vmode & FB_VMODE_DOUBLE) { in fb_get_mode() 1331 fbmode->vmode = 0; in fb_videomode_from_videomode() 1337 fbmode->vmode |= FB_VMODE_INTERLACED; in fb_videomode_from_videomode() 1339 fbmode->vmode |= FB_VMODE_DOUBLE; in fb_videomode_from_videomode() 1365 m->hsync_len, m->vsync_len, m->sync, m->vmode, m->flag); in dump_fb_videomode() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/mx51evk/ |
| H A D | mx51evk_video.c | 32 .vmode = FB_VMODE_NONINTERLACED 48 .vmode = FB_VMODE_NONINTERLACED
|