Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/linux/drivers/video/fbdev/core/
A Dfbcvt.c37 u32 yres; member
164 u32 vtotal = cvt->yres/cvt->interlace; in fb_cvt_vtotal()
191 u32 yres = cvt->yres; in fb_cvt_aspect_ratio() local
194 if (xres == (yres * 4)/3 && !((yres * 4) % 3)) in fb_cvt_aspect_ratio()
196 else if (xres == (yres * 16)/9 && !((yres * 16) % 9)) in fb_cvt_aspect_ratio()
198 else if (xres == (yres * 16)/10 && !((yres * 16) % 10)) in fb_cvt_aspect_ratio()
200 else if (xres == (yres * 5)/4 && !((yres * 5) % 4)) in fb_cvt_aspect_ratio()
202 else if (xres == (yres * 15)/9 && !((yres * 15) % 9)) in fb_cvt_aspect_ratio()
228 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name()
321 cvt.yres = mode->yres; in fb_find_mode_cvt()
[all …]
A Dmodedb.c551 var->yres = mode->yres; in fb_try_mode()
730 cvt_mode.yres = yres; in fb_find_mode()
750 xres, yres); in fb_find_mode()
807 abs(db[i].yres - yres); in fb_find_mode()
813 if (xres > db[i].xres || yres > db[i].yres) in fb_find_mode()
853 mode->yres = var->yres; in fb_var_to_videomode()
897 var->yres = mode->yres; in fb_videomode_to_var()
925 mode1->yres == mode2->yres && in fb_mode_is_equal()
968 if (mode->xres >= var->xres && mode->yres >= var->yres) { in fb_find_best_mode()
970 (mode->yres - var->yres); in fb_find_best_mode()
[all …]
A Dfbmon.c390 var->yres = yres; in calc_mode_timings()
394 mode->yres = yres; in calc_mode_timings()
523 yres = xres; in get_std_timing()
525 yres = (xres * 10)/16; in get_std_timing()
528 yres = (xres * 3)/4; in get_std_timing()
531 yres = (xres * 4)/5; in get_std_timing()
534 yres = (xres * 9)/16; in get_std_timing()
568 mode->yres = V_ACTIVE; in get_detailed_timing()
587 mode->yres *= 2; in get_detailed_timing()
1249 timings->vactive = var->yres; in fb_get_mode()
[all …]
/linux/drivers/video/fbdev/via/
A Dvia_utility.c42 if ((xres < 640) && (yres < 480)) in viafb_lcd_get_support_expand_state()
47 if ((xres < 800) && (yres < 600)) in viafb_lcd_get_support_expand_state()
52 if ((xres < 1024) && (yres < 768)) in viafb_lcd_get_support_expand_state()
57 if ((xres < 1280) && (yres < 768)) in viafb_lcd_get_support_expand_state()
62 if ((xres < 1280) && (yres < 1024)) in viafb_lcd_get_support_expand_state()
77 if ((xres < 1366) && (yres < 768)) in viafb_lcd_get_support_expand_state()
82 if ((xres < 1024) && (yres < 600)) in viafb_lcd_get_support_expand_state()
87 if ((xres < 1280) && (yres < 800)) in viafb_lcd_get_support_expand_state()
92 if ((xres < 800) && (yres < 480)) in viafb_lcd_get_support_expand_state()
97 if ((xres < 1360) && (yres < 768)) in viafb_lcd_get_support_expand_state()
[all …]
/linux/drivers/video/fbdev/i810/
A Di810_dvt.c210 inline void round_off_yres(u32 *xres, u32 *yres) in round_off_yres() argument
212 *yres = (*xres * 3) >> 2; in round_off_yres()
215 static int i810fb_find_best_mode(u32 xres, u32 yres, u32 pixclock) in i810fb_find_best_mode() argument
234 struct i810fb_par *par, u32 xres, u32 yres) in i810fb_encode_registers() argument
236 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers()
247 u32 total, xres, yres; in i810fb_fill_var_timings() local
251 yres = var->yres; in i810fb_fill_var_timings()
254 mode = i810fb_find_best_mode(xres, yres, pixclock); in i810fb_fill_var_timings()
273 (std_modes[mode].cr32 & 0x0F) << 8) - yres; in i810fb_fill_var_timings()
276 var->upper_margin = total - (yres + var->lower_margin + var->vsync_len); in i810fb_fill_var_timings()
A Di810_gtf.c113 void round_off_yres(u32 *xres, u32 *yres) { } in round_off_yres() argument
125 struct i810fb_par *par, u32 xres, u32 yres) in i810fb_encode_registers() argument
160 n = yres + var->lower_margin + var->vsync_len + var->upper_margin - 2; in i810fb_encode_registers()
165 n = yres + var->lower_margin; in i810fb_encode_registers()
169 par->regs.cr11 |= (u8) ((yres + var->lower_margin + in i810fb_encode_registers()
173 n = yres - 1; in i810fb_encode_registers()
178 blank_e = yres + var->lower_margin + var->vsync_len + in i810fb_encode_registers()
182 if (blank_s < yres) in i810fb_encode_registers()
183 blank_s = yres; in i810fb_encode_registers()
198 par->interlace = (1 << 7) | ((u8) (var->yres >> 4)); in i810fb_encode_registers()
/linux/arch/arm/mach-omap1/
A Dlcd_dma.c57 int rotate, data_type, xres, yres; member
72 lcd_dma.yres = fb_yres; in omap_set_lcd_dma_b1()
178 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
183 fn = lcd_dma.yres; in set_b1_regs()
187 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
190 fi = PIXSTEP(0, 0, 1, lcd_dma.yres - 1); in set_b1_regs()
197 en = lcd_dma.yres; in set_b1_regs()
207 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
213 fn = lcd_dma.yres; in set_b1_regs()
218 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
[all …]
/linux/drivers/video/fbdev/
A Datafb.c586 int yres = var->yres; in tt_decode_var() local
889 int yres = var->yres; in falcon_decode_var() local
962 var->yres > myvar->yres) in falcon_decode_var()
974 yres = 200; in falcon_decode_var()
976 yres = 240; in falcon_decode_var()
978 yres = 400; in falcon_decode_var()
999 yres = (yres + 15) & ~15; in falcon_decode_var()
1001 yres = (yres + 7) & ~7; in falcon_decode_var()
1813 int yres = var->yres; in stste_decode_var() local
2133 var->yres > myvar->yres || in ext_decode_var()
[all …]
A Dps3fb.c272 if (var->xres > vmode->xres || var->yres > vmode->yres || in ps3fb_cmp_mode()
284 yres = max(var->yres, 1U); in ps3fb_cmp_mode()
310 return (vmode->xres - xres) * (vmode->yres - yres); in ps3fb_cmp_mode()
376 if (!var->yres) in ps3fb_find_mode()
377 var->yres = 1; in ps3fb_find_mode()
382 if (var->yres_virtual < var->yres) in ps3fb_find_mode()
383 var->yres_virtual = var->yres; in ps3fb_find_mode()
433 if (vmode->xres == var->xres && vmode->yres == var->yres) in ps3fb_find_mode()
632 par->height = info->var.yres; in ps3fb_set_par()
852 res.yres = info->var.yres_virtual; in ps3fb_ioctl()
[all …]
A Dmacmodes.c272 var->yres = mode->yres; in mac_vmode_to_var()
274 var->yres_virtual = mode->yres; in mac_vmode_to_var()
324 if (var->xres > mode->xres || var->yres > mode->yres) in mac_var_to_vmode()
326 if (var->xres_virtual > mode->xres || var->yres_virtual > mode->yres) in mac_var_to_vmode()
342 if (mode->xres != clk_mode->xres || mode->yres != clk_mode->yres) in mac_var_to_vmode()
A Dfsl-diu-fb.c59 .yres = 768,
73 .yres = 240,
157 .yres = 480,
185 .yres = 480,
199 .yres = 768,
213 .yres = 768,
227 .yres = 480,
241 .yres = 720,
255 .yres = 1024,
269 .yres = 1024,
[all …]
A Dsa1100fb.c376 if (var->yres < MIN_YRES) in sa1100fb_check_var()
377 var->yres = MIN_YRES; in sa1100fb_check_var()
380 if (var->yres > fbi->inf->yres) in sa1100fb_check_var()
381 var->yres = fbi->inf->yres; in sa1100fb_check_var()
622 var->yres, var->vsync_len, in sa1100fb_activate_var()
638 if (var->yres < 1 || var->yres > 1024) in sa1100fb_activate_var()
640 fbi->fb.fix.id, var->yres); in sa1100fb_activate_var()
666 yres = var->yres; in sa1100fb_activate_var()
668 yres /= 2; in sa1100fb_activate_var()
671 LCCR2_DisHght(yres) + in sa1100fb_activate_var()
[all …]
A Di740fb.c475 yres = var->yres; in i740fb_decode_var()
477 if (yres > vyres) in i740fb_decode_var()
478 vyres = yres; in i740fb_decode_var()
481 if (yres + yoffset > vyres) in i740fb_decode_var()
482 yoffset = vyres - yres; in i740fb_decode_var()
495 if (yoffset + yres > vyres) in i740fb_decode_var()
496 yoffset = vyres - yres; in i740fb_decode_var()
527 if ((yres-1) & 0x100) in i740fb_decode_var()
529 if ((yres-1) & 0x200) in i740fb_decode_var()
534 if ((yres + lower - 1) & 0x100) in i740fb_decode_var()
[all …]
A D68328fb.c153 if (!var->yres) in mc68x328fb_check_var()
154 var->yres = 1; in mc68x328fb_check_var()
157 if (var->yres > var->yres_virtual) in mc68x328fb_check_var()
158 var->yres_virtual = var->yres; in mc68x328fb_check_var()
174 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var()
175 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var()
376 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display()
430 mc68x328fb_default.yres = LYMAX+1; in mc68x328fb_init()
432 mc68x328fb_default.yres_virtual = mc68x328fb_default.yres; in mc68x328fb_init()
A Dau1100fb.h77 u32 yres; /* Maximum vertical resolution */ member
276 .yres = 600,
289 .yres = 320,
300 .yres = 240,
327 .yres = 240,
349 .yres = 480,
361 .yres = 480,
A Dneofb.c184 if (yres <= mode[i].y_res) in neoFindMode()
292 | (((var->yres - 1) & 0x100) >> 7) in vgaHWInit()
294 | (((var->yres - 1) & 0x100) >> 5) in vgaHWInit()
608 if (var->yres == 1024) in neofb_check_var()
612 if (var->yres == 768) in neofb_check_var()
620 if (var->yres == 480) in neofb_check_var()
629 var->xres, var->yres); in neofb_check_var()
704 if (var->yres_virtual < var->yres) in neofb_check_var()
705 var->yres = var->yres_virtual; in neofb_check_var()
902 info->var.yres) >> 1) - 2; in neofb_set_par()
[all …]
A Dgoldfishfb.c92 if ((var->xres != info->var.yres) || in goldfish_fb_check_var()
93 (var->yres != info->var.xres) || in goldfish_fb_check_var()
94 (var->xres_virtual != info->var.yres) || in goldfish_fb_check_var()
101 (var->yres != info->var.yres) || in goldfish_fb_check_var()
103 (var->yres_virtual > info->var.yres * 2) || in goldfish_fb_check_var()
104 (var->yres_virtual < info->var.yres)) { in goldfish_fb_check_var()
224 fb->fb.var.yres = height; in goldfish_fb_probe()
A Dw100fb.c450 best_y = modelist[i].yres; in w100fb_get_mode()
454 best_x = modelist[i].yres; in w100fb_get_mode()
478 if(!w100fb_get_mode(par, &var->xres, &var->yres, 1)) in w100fb_check_var()
523 if (par->xres != info->var.xres || par->yres != info->var.yres) { in w100fb_set_par()
525 par->yres = info->var.yres; in w100fb_set_par()
732 info->var.xres = par->mode->yres; in w100fb_probe()
733 info->var.yres = par->mode->xres; in w100fb_probe()
737 info->var.yres = par->mode->yres; in w100fb_probe()
746 info->var.yres_virtual = info->var.yres; in w100fb_probe()
1424 offset=(par->xres * par->yres) - 1; in w100_set_dispregs()
[all …]
/linux/drivers/staging/fbtft/
A Dfb_ssd1306.c38 if (par->info->var.yres == 64) in init_display()
54 if (par->info->var.yres == 64) in init_display()
56 else if (par->info->var.yres == 48) in init_display()
88 if (par->info->var.yres == 64) in init_display()
91 else if (par->info->var.yres == 48) in init_display()
145 if (par->info->var.xres == 64 && par->info->var.yres == 48) in set_addr_win()
178 u32 yres = par->info->var.yres; in write_vmem() local
184 for (y = 0; y < yres / 8; y++) { in write_vmem()
195 ret = par->fbtftops.write(par, par->txbuf.buf, xres * yres / 8); in write_vmem()
A Dfb_sh1106.c24 !par->info->var.yres || par->info->var.yres > HEIGHT || in init_display()
25 par->info->var.yres % 8) { in init_display()
44 write_reg(par, 0xA8, par->info->var.yres - 1); in init_display()
61 if (par->info->var.yres == 64) in init_display()
64 else if (par->info->var.yres == 48) in init_display()
A Dfb_ssd1305.c39 if (par->info->var.yres == 64) in init_display()
55 if (par->info->var.yres == 64) in init_display()
91 if (par->info->var.yres == 64) { in init_display()
160 for (y = 0; y < par->info->var.yres / 8; y++) { in write_vmem()
173 par->info->var.xres * par->info->var.yres / in write_vmem()
/linux/drivers/gpu/drm/selftests/
A Dtest-drm_cmdline_parser.c159 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res()
227 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_vesa()
251 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_vesa_rblank()
275 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_rblank()
299 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_bpp()
335 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_refresh()
371 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_bpp_refresh()
397 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_bpp_refresh_interlaced()
423 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_bpp_refresh_margins()
449 FAIL_ON(mode.yres != 480); in drm_cmdline_test_res_bpp_refresh_force_off()
[all …]
/linux/drivers/video/fbdev/aty/
A Dradeon_monitor.c10 .yres = 480,
187 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS()
189 rinfo->panel_info.xres, rinfo->panel_info.yres); in radeon_get_panel_info_BIOS()
689 rinfo->panel_info.yres = var->yres; in radeon_var_to_panel_info()
716 var->yres = mode->yres; in radeon_videomode_to_var()
718 var->yres_virtual = mode->yres; in radeon_videomode_to_var()
783 var.yres >= rinfo->panel_info.yres) in radeon_check_modes()
802 var->yres = rinfo->panel_info.yres; in radeon_check_modes()
804 var->yres_virtual = rinfo->panel_info.yres; in radeon_check_modes()
956 distance = mode->yres - var->yres; in radeon_compare_modes()
[all …]
/linux/arch/arm/mach-pxa/
A Dam200epd.c48 .yres = 842,
62 .yres = 791,
76 .yres = 622,
151 || (info->var.yres != am200_fb_info.modes->yres)) in am200_share_video_mem()
229 fh = am200_fb_info.modes->yres; in am200_presetup_fb()
247 am200_fb_info.modes->yres = DIV_ROUND_UP(totalsize, fw); in am200_presetup_fb()
/linux/arch/arm/mach-sa1100/
A Dlart.c36 .xres = 320, .yres = 240,
52 .xres = 320, .yres = 240,
65 .xres = 640, .yres = 480,
81 .xres = 640, .yres = 480,

Completed in 47 milliseconds

12345678910>>...13