Home
last modified time | relevance | path

Searched refs:left_margin (Results 1 – 25 of 115) sorted by relevance

12345

/drivers/video/fbdev/
Dps3fb.c267 long xres, yres, left_margin, right_margin, upper_margin, lower_margin; in ps3fb_cmp_mode() local
286 left_margin = max(var->left_margin, vmode->left_margin); in ps3fb_cmp_mode()
292 dx = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_cmp_mode()
294 (left_margin + xres + right_margin); in ps3fb_cmp_mode()
343 var->left_margin, var->xres, var->right_margin, in ps3fb_find_mode()
349 __func__, id, vmode->left_margin, vmode->xres, in ps3fb_find_mode()
385 if (var->left_margin < vmode->left_margin) in ps3fb_find_mode()
386 var->left_margin = vmode->left_margin; in ps3fb_find_mode()
395 gap = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_find_mode()
397 ((long)var->left_margin + (long)var->xres + in ps3fb_find_mode()
[all …]
Dfsl-diu-fb.c66 .left_margin = 160,
80 .left_margin = 16,
94 .left_margin = 48,
108 .left_margin = 128,
122 .left_margin = 120,
136 .left_margin = 120,
150 .left_margin = 48,
164 .left_margin = 96,
178 .left_margin = 88,
192 .left_margin = 104,
[all …]
Damba-clcd-versatile.c20 .left_margin = 40,
44 .left_margin = 152,
69 .left_margin = 6,
93 .left_margin = 20,
118 .left_margin = 3,
Digafb.c90 .left_margin = 48,
114 .left_margin = 176,
137 .left_margin = 234,
160 .left_margin = 248,
Dpxa168fb.c184 var->left_margin = mode->left_margin; in set_mode()
218 var->hsync_len + var->left_margin > 2048) in pxa168fb_check_var()
396 x = v->xres + v->right_margin + v->hsync_len + v->left_margin; in set_dumb_screen_dimensions()
463 writel((var->left_margin << 16) | var->right_margin, in pxa168fb_set_par()
591 total_w = var->xres + var->left_margin + var->right_margin + in pxa168fb_init_mode()
Datafb.c699 var->left_margin = 120; /* these may be incorrect */ in tt_encode_var()
922 int left_margin, right_margin, hsync_len; in falcon_decode_var() local
1065 left_margin = hsync_len = 128 / plen; in falcon_decode_var()
1079 left_margin = 32; in falcon_decode_var()
1086 left_margin = var->left_margin; in falcon_decode_var()
1124 left_margin = pclock->left / plen; in falcon_decode_var()
1127 linesize = left_margin + xres + right_margin + hsync_len; in falcon_decode_var()
1157 left_margin = var->left_margin; in falcon_decode_var()
1259 gstart = (prescale / 2 + plen * left_margin) / prescale; in falcon_decode_var()
1264 par->HHT = plen * (left_margin + xres + right_margin) / in falcon_decode_var()
[all …]
Dsa1100fb.c622 var->left_margin, var->right_margin); in sa1100fb_activate_var()
634 if (var->left_margin < 1 || var->left_margin > 255) in sa1100fb_activate_var()
636 fbi->fb.fix.id, var->left_margin); in sa1100fb_activate_var()
661 LCCR1_BegLnDel(var->left_margin) + in sa1100fb_activate_var()
1185 fbi->fb.var.left_margin = inf->left_margin; in sa1100fb_init_fbinfo()
Dacornfb.c127 vidc.h_border_start = vidc.h_sync_width + var->left_margin + 8 - 12; in acornfb_set_timing()
399 if (var->left_margin & 1) { in acornfb_adjust_timing()
400 var->left_margin += 1; in acornfb_adjust_timing()
430 (var->xres + var->left_margin + var->right_margin + var->hsync_len); in acornfb_validate_timing()
682 .left_margin = 56,
1100 h_sync = h_sync * 512 / (fb_info.var.xres + fb_info.var.left_margin + in acornfb_probe()
Dsstfb.c353 int hSyncOff = var->xres + var->right_margin + var->left_margin; in sstfb_check_var()
355 int vBackPorch = var->left_margin, yDim = var->yres; in sstfb_check_var()
387 hSyncOff <= 1 || var->left_margin <= 2 || vSyncOn <= 0 || in sstfb_check_var()
403 var->left_margin - 2 >= POW2(9) || vSyncOn >= POW2(13) || in sstfb_check_var()
424 var->left_margin - 2 >= POW2(8) || vSyncOn >= POW2(12) || in sstfb_check_var()
484 par->hSyncOff = info->var.xres + info->var.right_margin + info->var.left_margin; in sstfb_set_par()
518 info->var.left_margin, info->var.upper_margin, in sstfb_set_par()
531 sst_write(BACKPORCH, par->vBackPorch << 16 | (info->var.left_margin - 2)); in sstfb_set_par()
Dimxfb.c374 var->left_margin = imxfb_mode->mode.left_margin; in imxfb_check_var()
592 var->left_margin, var->right_margin); in imxfb_activate_var()
604 if (var->left_margin > 255) in imxfb_activate_var()
606 info->fix.id, var->left_margin); in imxfb_activate_var()
630 HCR_H_WAIT_2(var->left_margin - 3), in imxfb_activate_var()
Ds3c2410fb.c165 var->left_margin = display->left_margin; in s3c2410fb_check_var()
258 unsigned wdly = (var->left_margin >> 4) - 1; in s3c2410fb_calculate_stn_lcd_regs()
290 var->left_margin, var->right_margin, var->hsync_len); in s3c2410fb_calculate_stn_lcd_regs()
354 var->left_margin, var->right_margin, var->hsync_len); in s3c2410fb_calculate_tft_lcd_regs()
362 S3C2410_LCDCON3_HFPD(var->left_margin - 1) | in s3c2410fb_calculate_tft_lcd_regs()
Dmacmodes.c278 var->left_margin = mode->left_margin; in mac_vmode_to_var()
Dmx3fb.c143 .left_margin = 9,
161 .left_margin = 9,
179 .left_margin = 144,
195 .left_margin = 38,
211 .left_margin = 38,
227 .left_margin = 35,
854 fbi->var.left_margin, in __set_par()
1001 var->left_margin; in mx3fb_check_var()
Dmxsfb.c502 VDCTRL2_SET_HSYNC_PERIOD(fb_info->var.left_margin + in mxsfb_set_par()
507 writel(SET_HOR_WAIT_CNT(fb_info->var.left_margin + in mxsfb_set_par()
671 vmode->left_margin = GET_HOR_WAIT_CNT(vdctrl3) - vmode->hsync_len; in mxsfb_restore_mode()
673 vmode->hsync_len - vmode->left_margin - vmode->xres; in mxsfb_restore_mode()
690 vmode->xres, vmode->yres, vmode->hsync_len, vmode->left_margin, in mxsfb_restore_mode()
Dgbefb.c112 .left_margin = 48,
143 .left_margin = 20,
160 .left_margin = 48,
175 .left_margin = 20,
519 timing->htotal = var->left_margin + var->xres + in compute_gbe_timing()
992 var->left_margin = timing.htotal - timing.hsync_end; in gbefb_check_var()
/drivers/video/fbdev/core/
Dmodedb.c559 var->left_margin = mode->left_margin; in fb_try_mode()
855 mode->left_margin = var->left_margin; in fb_var_to_videomode()
870 var->left_margin; in fb_var_to_videomode()
901 var->left_margin = mode->left_margin; in fb_videomode_to_var()
927 mode1->left_margin == mode2->left_margin && in fb_mode_is_equal()
Dsvgalib.c178 pr_debug("fb%d: var.left_margin : %d\n", node, var->left_margin);
448 var->left_margin = (var->left_margin+7)&~7; in svga_check_timings()
453 value = var->xres + var->left_margin + var->right_margin + var->hsync_len; in svga_check_timings()
470 value = var->left_margin + var->right_margin + var->hsync_len; in svga_check_timings()
517 value = var->xres + var->left_margin + var->right_margin + var->hsync_len; in svga_set_timings()
532 value = var->xres + var->left_margin + var->right_margin + var->hsync_len; in svga_set_timings()
Dfbmon.c397 mode->left_margin = var->left_margin; in calc_mode_timings()
573 mode->left_margin = (H_ACTIVE + H_BLANKING) - in get_detailed_timing()
734 + mode->left_margin; in fb_get_monitor_limits()
915 var->left_margin = (H_ACTIVE + H_BLANKING) - in fb_parse_edid()
1296 var->left_margin = timings->hblank - var->right_margin - in fb_get_mode()
1315 fbmode->left_margin = vm->hback_porch; in fb_videomode_from_videomode()
1361 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1462 var->left_margin; in fb_validate_mode()
/drivers/video/fbdev/i810/
Di810_gtf.c134 var->left_margin) >> 3) - 5; in i810fb_encode_registers()
143 var->left_margin) >> 3; in i810fb_encode_registers()
207 var->left_margin - 32) | ((var->xres - 32) << 16)); in i810fb_encode_registers()
Di810_dvt.c242 var->left_margin - 32) | ((xres - 32) << 16)); in i810fb_encode_registers()
263 var->left_margin = (total - (xres + var->right_margin + in i810fb_fill_var_timings()
/drivers/media/pci/ivtv/
Divtvfb.c591 if (!var->left_margin) in ivtvfb_set_var()
592 var->left_margin++; in ivtvfb_set_var()
594 ivtv_window.left = var->left_margin - 1; in ivtvfb_set_var()
614 var->left_margin, var->upper_margin); in ivtvfb_set_var()
782 if (var->left_margin + var->xres > IVTV_OSD_MAX_WIDTH + 1) in _ivtvfb_check_var()
783 var->left_margin = 1 + ((IVTV_OSD_MAX_WIDTH - var->xres) / 2); in _ivtvfb_check_var()
790 var->right_margin = hlimit - var->left_margin - var->xres; in _ivtvfb_check_var()
814 var->left_margin, var->upper_margin); in _ivtvfb_check_var()
1044 oi->ivtvfb_defined.left_margin = start_window.left + 1; in ivtvfb_init_vidmode()
/drivers/video/fbdev/kyro/
Dfbdev.c61 .left_margin = 48,
453 var->left_margin = par->HBP; in kyrofb_check_var()
487 info->var.left_margin)) / 1000; in kyrofb_set_par()
505 par->HBP = info->var.left_margin; in kyrofb_set_par()
/drivers/staging/board/
Darmadillo800eva.c34 .left_margin = 88,
/drivers/media/platform/davinci/
Dvpbe.c280 vpbe_dev->current_timings.left_margin); in vpbe_set_output()
363 vpbe_dev->current_timings.left_margin); in vpbe_s_dv_timings()
459 vpbe_dev->current_timings.left_margin); in vpbe_s_std()
540 vpbe_dev->current_timings.left_margin); in vpbe_set_mode()
/drivers/video/fbdev/aty/
Dradeon_monitor.c21 .left_margin = 40,
695 rinfo->panel_info.hblank = var->left_margin + in radeon_var_to_panel_info()
724 var->left_margin = mode->left_margin; in radeon_videomode_to_var()
810 var->left_margin = (rinfo->panel_info.hblank - rinfo->panel_info.hOver_plus in radeon_check_modes()

12345