Home
last modified time | relevance | path

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

12345

/drivers/video/fbdev/
Dps3fb.c268 long xres, yres, left_margin, right_margin, upper_margin, lower_margin; in ps3fb_cmp_mode() local
287 left_margin = max(var->left_margin, vmode->left_margin); in ps3fb_cmp_mode()
293 dx = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_cmp_mode()
295 (left_margin + xres + right_margin); in ps3fb_cmp_mode()
344 var->left_margin, var->xres, var->right_margin, in ps3fb_find_mode()
350 __func__, id, vmode->left_margin, vmode->xres, in ps3fb_find_mode()
386 if (var->left_margin < vmode->left_margin) in ps3fb_find_mode()
387 var->left_margin = vmode->left_margin; in ps3fb_find_mode()
396 gap = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_find_mode()
398 ((long)var->left_margin + (long)var->xres + in ps3fb_find_mode()
[all …]
Dfsl-diu-fb.c61 .left_margin = 160,
75 .left_margin = 16,
89 .left_margin = 48,
103 .left_margin = 128,
117 .left_margin = 120,
131 .left_margin = 120,
145 .left_margin = 48,
159 .left_margin = 96,
173 .left_margin = 88,
187 .left_margin = 104,
[all …]
Dsa1100fb.c620 var->left_margin, var->right_margin); in sa1100fb_activate_var()
632 if (var->left_margin < 1 || var->left_margin > 255) in sa1100fb_activate_var()
634 fbi->fb.fix.id, var->left_margin); in sa1100fb_activate_var()
659 LCCR1_BegLnDel(var->left_margin) + in sa1100fb_activate_var()
1118 fbi->fb.var.left_margin = inf->left_margin; in sa1100fb_init_fbinfo()
Dimxfb.c394 var->left_margin = imxfb_mode->mode.left_margin; in imxfb_check_var()
620 var->left_margin, var->right_margin); in imxfb_activate_var()
639 if (var->left_margin < left_margin_low || var->left_margin > 255) in imxfb_activate_var()
641 info->fix.id, var->left_margin); in imxfb_activate_var()
665 HCR_H_WAIT_2(var->left_margin - left_margin_low), in imxfb_activate_var()
Dpxa168fb.c180 var->left_margin = mode->left_margin; in set_mode()
214 var->hsync_len + var->left_margin > 2048) in pxa168fb_check_var()
392 x = v->xres + v->right_margin + v->hsync_len + v->left_margin; in set_dumb_screen_dimensions()
456 writel((var->left_margin << 16) | var->right_margin, in pxa168fb_set_par()
583 total_w = var->xres + var->left_margin + var->right_margin + in pxa168fb_init_mode()
Datafb.c665 var->left_margin = 120; /* these may be incorrect */ in tt_encode_var()
888 int left_margin, right_margin, hsync_len; in falcon_decode_var() local
1027 left_margin = hsync_len = 128 / plen; in falcon_decode_var()
1041 left_margin = 32; in falcon_decode_var()
1048 left_margin = var->left_margin; in falcon_decode_var()
1084 left_margin = pclock->left / plen; in falcon_decode_var()
1116 left_margin = var->left_margin; in falcon_decode_var()
1218 gstart = (prescale / 2 + plen * left_margin) / prescale; in falcon_decode_var()
1223 par->HHT = plen * (left_margin + xres + right_margin) / in falcon_decode_var()
1251 left_margin += 1; in falcon_decode_var()
[all …]
Dacornfb.c123 vidc.h_border_start = vidc.h_sync_width + var->left_margin + 8 - 12; in acornfb_set_timing()
395 if (var->left_margin & 1) { in acornfb_adjust_timing()
396 var->left_margin += 1; in acornfb_adjust_timing()
426 (var->xres + var->left_margin + var->right_margin + var->hsync_len); in acornfb_validate_timing()
678 .left_margin = 56,
1063 h_sync = h_sync * 512 / (fb_info.var.xres + fb_info.var.left_margin + in acornfb_probe()
Dsstfb.c355 int hSyncOff = var->xres + var->right_margin + var->left_margin; in sstfb_check_var()
357 int vBackPorch = var->left_margin, yDim = var->yres; in sstfb_check_var()
389 hSyncOff <= 1 || var->left_margin <= 2 || vSyncOn <= 0 || in sstfb_check_var()
405 var->left_margin - 2 >= POW2(9) || vSyncOn >= POW2(13) || in sstfb_check_var()
426 var->left_margin - 2 >= POW2(8) || vSyncOn >= POW2(12) || in sstfb_check_var()
486 par->hSyncOff = info->var.xres + info->var.right_margin + info->var.left_margin; in sstfb_set_par()
520 info->var.left_margin, info->var.upper_margin, in sstfb_set_par()
533 sst_write(BACKPORCH, par->vBackPorch << 16 | (info->var.left_margin - 2)); in sstfb_set_par()
Ds3c2410fb.c160 var->left_margin = display->left_margin; in s3c2410fb_check_var()
253 unsigned wdly = (var->left_margin >> 4) - 1; in s3c2410fb_calculate_stn_lcd_regs()
285 var->left_margin, var->right_margin, var->hsync_len); in s3c2410fb_calculate_stn_lcd_regs()
349 var->left_margin, var->right_margin, var->hsync_len); in s3c2410fb_calculate_tft_lcd_regs()
357 S3C2410_LCDCON3_HFPD(var->left_margin - 1) | in s3c2410fb_calculate_tft_lcd_regs()
Dgbefb.c106 .left_margin = 48,
137 .left_margin = 20,
154 .left_margin = 48,
169 .left_margin = 20,
511 timing->htotal = var->left_margin + var->xres + in compute_gbe_timing()
984 var->left_margin = timing.htotal - timing.hsync_end; in gbefb_check_var()
Dmacmodes.c278 var->left_margin = mode->left_margin; in mac_vmode_to_var()
Dmx3fb.c140 .left_margin = 9,
158 .left_margin = 9,
176 .left_margin = 144,
192 .left_margin = 38,
208 .left_margin = 38,
224 .left_margin = 35,
850 fbi->var.left_margin, in __set_par()
997 var->left_margin; in mx3fb_check_var()
Dpvr2fb.c383 par->hsync_total = var->left_margin + var->xres + var->right_margin + in pvr2fb_set_par()
414 par->diwstart_h = par->borderstart_h + var->left_margin; in pvr2fb_set_par()
492 var->left_margin = par->diwstart_h - par->borderstart_h; in pvr2fb_check_var()
503 hsync_total = var->left_margin + var->xres + var->right_margin + in pvr2fb_check_var()
/drivers/video/fbdev/core/
Dmodedb.c564 var->left_margin = mode->left_margin; in fb_try_mode()
862 mode->left_margin = var->left_margin; in fb_var_to_videomode()
877 var->left_margin; in fb_var_to_videomode()
908 var->left_margin = mode->left_margin; in fb_videomode_to_var()
934 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()
735 + mode->left_margin; in fb_get_monitor_limits()
916 var->left_margin = (H_ACTIVE + H_BLANKING) - in fb_parse_edid()
1298 var->left_margin = timings->hblank - var->right_margin - in fb_get_mode()
1317 fbmode->left_margin = vm->hback_porch; in fb_videomode_from_videomode()
1363 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1464 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.c582 if (!var->left_margin) in ivtvfb_set_var()
583 var->left_margin++; in ivtvfb_set_var()
585 ivtv_window.left = var->left_margin - 1; in ivtvfb_set_var()
605 var->left_margin, var->upper_margin); in ivtvfb_set_var()
773 if (var->left_margin + var->xres > IVTV_OSD_MAX_WIDTH + 1) in _ivtvfb_check_var()
774 var->left_margin = 1 + ((IVTV_OSD_MAX_WIDTH - var->xres) / 2); in _ivtvfb_check_var()
781 var->right_margin = hlimit - var->left_margin - var->xres; in _ivtvfb_check_var()
805 var->left_margin, var->upper_margin); in _ivtvfb_check_var()
1035 oi->ivtvfb_defined.left_margin = start_window.left + 1; in ivtvfb_init_vidmode()
/drivers/video/fbdev/kyro/
Dfbdev.c62 .left_margin = 48,
462 var->left_margin = par->HBP; in kyrofb_check_var()
496 info->var.left_margin)) / 1000; in kyrofb_set_par()
516 par->HBP = info->var.left_margin; in kyrofb_set_par()
/drivers/media/platform/ti/davinci/
Dvpbe.c250 vpbe_dev->current_timings.left_margin); in vpbe_set_output()
333 vpbe_dev->current_timings.left_margin); in vpbe_s_dv_timings()
429 vpbe_dev->current_timings.left_margin); in vpbe_s_std()
510 vpbe_dev->current_timings.left_margin); in vpbe_set_mode()
/drivers/staging/board/
Darmadillo800eva.c26 .left_margin = 88,
/drivers/video/fbdev/aty/
Dradeon_monitor.c21 .left_margin = 40,
693 rinfo->panel_info.hblank = var->left_margin + in radeon_var_to_panel_info()
722 var->left_margin = mode->left_margin; in radeon_videomode_to_var()
808 var->left_margin = (rinfo->panel_info.hblank - rinfo->panel_info.hOver_plus in radeon_check_modes()
/drivers/media/test-drivers/vivid/
Dvivid-osd.c154 var->left_margin = var->upper_margin = 0; in _vivid_fb_check_var()
295 dev->fb_defined.left_margin = start_window.left + 1; in vivid_fb_init_vidmode()
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c235 mode->left_margin = videomode->left_margin; in fbmode_to_mmpmode()
261 videomode->left_margin = mode->left_margin; in mmpmode_to_fbmode()

12345