Searched refs:hfreq (Results 1 – 7 of 7) sorted by relevance
/drivers/video/ |
D | fbmon.c | 1086 u32 hfreq; member 1111 static u32 fb_get_vblank(u32 hfreq) in fb_get_vblank() argument 1115 vblank = (hfreq * FLYBACK)/1000; in fb_get_vblank() 1140 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument 1147 m_val = (m_val * 1000000)/hfreq; in fb_get_hblank_by_hfreq() 1210 u32 divisor, hfreq; in fb_get_hfreq() local 1213 hfreq = (yres + V_FRONTPORCH) * vfreq * 1000; in fb_get_hfreq() 1214 return (hfreq/divisor); in fb_get_hfreq() 1219 timings->hfreq = fb_get_hfreq(timings->vfreq, timings->vactive); in fb_timings_vfreq() 1220 timings->vblank = fb_get_vblank(timings->hfreq); in fb_timings_vfreq() [all …]
|
D | fbcvt.c | 43 u32 hfreq; member 368 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
|
D | modedb.c | 777 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local 809 hfreq = pixclock/htotal; in fb_var_to_videomode() 810 mode->refresh = hfreq/vtotal; in fb_var_to_videomode()
|
D | atafb.c | 933 int hfreq, vfreq; in falcon_decode_var() local 1290 hfreq = pclock->f / ((par->HHT + 2) * prescale * 2); in falcon_decode_var() 1291 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) { in falcon_decode_var() 1298 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin) in falcon_decode_var() 1328 vfreq = (hfreq * 2) / (par->VFT + 1); in falcon_decode_var() 1342 (hfreq * 2) / (par->VFT + 1 + 4 * lines - 2 * yres) > in falcon_decode_var() 1353 (hfreq * 2) / (par->VFT + 1 + 4 * lines) > in falcon_decode_var() 1364 (hfreq * 2) / (par->VFT + 1 + 4 * lines) > in falcon_decode_var()
|
/drivers/media/v4l2-core/ |
D | v4l2-common.c | 627 bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, in v4l2_detect_cvt() argument 648 v_bp = (CVT_RB_MIN_V_BLANK * hfreq + 999999) / 1000000; in v4l2_detect_cvt() 655 v_bp = (CVT_MIN_VSYNC_BP * hfreq + 999999) / 1000000 - vsync; in v4l2_detect_cvt() 690 pix_clk = (image_width + CVT_RB_H_BLANK) * hfreq; in v4l2_detect_cvt() 700 unsigned ideal_duty_cycle = CVT_C_PRIME - (CVT_M_PRIME * 1000) / hfreq; in v4l2_detect_cvt() 711 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt() 785 unsigned hfreq, in v4l2_detect_gtf() argument 809 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 999999) / 1000000 - vsync; in v4l2_detect_gtf() 820 h_blank = ((image_width * GTF_D_C_PRIME * hfreq) - in v4l2_detect_gtf() 822 (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000) / 2) / in v4l2_detect_gtf() [all …]
|
/drivers/media/i2c/ |
D | adv7604.c | 1111 u32 hfreq = (ADV7604_fsc * 8) / stdi->bl; in stdi2dv_timings() local 1121 pix_clk = hfreq * htotal(&adv7604_timings[i].bt); in stdi2dv_timings() 1130 if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings() 1135 if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings()
|
/drivers/video/i810/ |
D | i810_main.c | 2014 int i, err = -1, vfreq, hfreq, pixclock; in i810fb_init_pci() local 2074 hfreq = pixclock/(info->var.xres + info->var.left_margin + in i810fb_init_pci() 2076 vfreq = hfreq/(info->var.yres + info->var.upper_margin + in i810fb_init_pci()
|