Searched refs:hperiod (Results 1 – 5 of 5) sorted by relevance
/drivers/video/fbdev/core/ |
D | fbcvt.c | 41 u32 hperiod; member 96 u32 h_period_est = cvt->hperiod; in fb_cvt_ideal_duty_cycle() 143 vbi_lines = (1000 * FB_CVT_RB_MIN_VBLANK)/cvt->hperiod + 1; in fb_cvt_vbi_lines() 148 vbi_lines = (FB_CVT_MIN_VSYNC_BP * 1000)/cvt->hperiod + 1 + in fb_cvt_vbi_lines() 179 pixclock = (cvt->htotal * 1000000)/cvt->hperiod; in fb_cvt_pixclock() 350 cvt.hperiod = fb_cvt_hperiod(&cvt); in fb_find_mode_cvt()
|
/drivers/video/fbdev/ |
D | controlfb.h | 52 struct preg hperiod; /* horiz period - 2 */ member 85 unsigned hperiod; /* horiz period - 2 */ member
|
D | controlfb.c | 435 unsigned hperiod, hssync, hsblank, hesync, heblank, piped, heq, hlfln, in control_var_to_par() local 516 hperiod = ((var->left_margin + par->xres + var->right_margin in control_var_to_par() 518 hssync = hperiod + 1; in control_var_to_par() 524 hlfln = (hperiod+2) >> 1; in control_var_to_par() 543 r->regs[8] = hperiod; in control_var_to_par() 615 var->hsync_len = (rv->hperiod + 2 - rv->hssync + rv->hesync) << 1; in control_par_to_var()
|
/drivers/gpu/drm/ |
D | drm_modes.c | 156 unsigned int vfieldrate, hperiod; in drm_cvt_mode() local 243 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); in drm_cvt_mode() 245 tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1; in drm_cvt_mode() 269 hperiod / 1000; in drm_cvt_mode() 302 hperiod = tmp1 / (tmp2 * vfieldrate); in drm_cvt_mode() 304 vbilines = CVT_RB_MIN_VBLANK * HV_FACTOR / hperiod + 1; in drm_cvt_mode() 322 do_div(tmp, hperiod); in drm_cvt_mode() 391 unsigned int __maybe_unused hperiod; in drm_gtf_mode_complex() local 463 hperiod = 1000000 / (vfieldrate_rqd * vtotal_lines); in drm_gtf_mode_complex()
|
/drivers/media/rc/ |
D | ene_ir.c | 321 int hperiod = ene_read_reg(dev, ENE_CIRCAR_HPRD); in ene_rx_sense_carrier() local 332 dbg("RX: hardware carrier pulse period = %02x", hperiod); in ene_rx_sense_carrier() 335 duty_cycle = (hperiod * 100) / period; in ene_rx_sense_carrier()
|