Home
last modified time | relevance | path

Searched refs:hperiod (Results 1 – 5 of 5) sorted by relevance

/drivers/video/fbdev/core/
Dfbcvt.c41 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/
Dcontrolfb.h52 struct preg hperiod; /* horiz period - 2 */ member
85 unsigned hperiod; /* horiz period - 2 */ member
Dcontrolfb.c425 unsigned hperiod, hssync, hsblank, hesync, heblank, piped, heq, hlfln, in control_var_to_par() local
506 hperiod = ((var->left_margin + par->xres + var->right_margin in control_var_to_par()
508 hssync = hperiod + 1; in control_var_to_par()
514 hlfln = (hperiod+2) >> 1; in control_var_to_par()
533 r->regs[8] = hperiod; in control_var_to_par()
605 var->hsync_len = (rv->hperiod + 2 - rv->hssync + rv->hesync) << 1; in control_par_to_var()
/drivers/gpu/drm/
Ddrm_modes.c159 unsigned int vfieldrate, hperiod; in drm_cvt_mode() local
246 hperiod = tmp1 * 2 / (tmp2 * vfieldrate); in drm_cvt_mode()
248 tmp1 = CVT_MIN_VSYNC_BP * HV_FACTOR / hperiod + 1; in drm_cvt_mode()
272 hperiod / 1000; in drm_cvt_mode()
305 hperiod = tmp1 / (tmp2 * vfieldrate); in drm_cvt_mode()
307 vbilines = CVT_RB_MIN_VBLANK * HV_FACTOR / hperiod + 1; in drm_cvt_mode()
325 do_div(tmp, hperiod); in drm_cvt_mode()
394 unsigned int __maybe_unused hperiod; in drm_gtf_mode_complex() local
466 hperiod = 1000000 / (vfieldrate_rqd * vtotal_lines); in drm_gtf_mode_complex()
/drivers/media/rc/
Dene_ir.c321 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()