Searched refs:hfreq (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1018 u32 hfreq; member 1043 static u32 fb_get_vblank(u32 hfreq) in fb_get_vblank() argument 1047 vblank = (hfreq * FLYBACK)/1000; in fb_get_vblank() 1072 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument 1079 m_val = (m_val * 1000000)/hfreq; in fb_get_hblank_by_hfreq() 1141 u32 divisor, hfreq; in fb_get_hfreq() local 1144 hfreq = (yres + V_FRONTPORCH) * vfreq * 1000; in fb_get_hfreq() 1145 return (hfreq/divisor); in fb_get_hfreq() 1150 timings->hfreq = fb_get_hfreq(timings->vfreq, timings->vactive); in fb_timings_vfreq() 1151 timings->vblank = fb_get_vblank(timings->hfreq); in fb_timings_vfreq() [all …]
|
H A D | fbcvt.c | 43 u32 hfreq; member 357 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
|
H A D | modedb.c | 858 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local 893 hfreq = pixclock/htotal; in fb_var_to_videomode() 894 mode->refresh = hfreq/vtotal; in fb_var_to_videomode()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 492 unsigned int hfreq, in v4l2_detect_cvt() argument 526 if (hfreq == 0) in v4l2_detect_cvt() 533 v_fp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt() 540 v_bp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt() 548 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt() 600 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt() 610 100 * CVT_C_PRIME - (CVT_M_PRIME * 100000) / hfreq; in v4l2_detect_cvt() 620 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt() 716 unsigned int hfreq, in v4l2_detect_gtf() argument 741 if (hfreq == 0) in v4l2_detect_gtf() [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-dv-timings.h | 156 bool v4l2_detect_cvt(unsigned int frame_height, unsigned int hfreq, 183 bool v4l2_detect_gtf(unsigned int frame_height, unsigned int hfreq,
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb.c | 897 int hfreq, vfreq; in falcon_decode_var() local 1247 hfreq = pclock->f / ((par->HHT + 2) * prescale * 2); in falcon_decode_var() 1248 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) { in falcon_decode_var() 1255 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin) in falcon_decode_var() 1285 vfreq = (hfreq * 2) / (par->VFT + 1); in falcon_decode_var() 1299 (hfreq * 2) / (par->VFT + 1 + 4 * lines - 2 * yres) > in falcon_decode_var() 1310 (hfreq * 2) / (par->VFT + 1 + 4 * lines) > in falcon_decode_var() 1321 (hfreq * 2) / (par->VFT + 1 + 4 * lines) > in falcon_decode_var()
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 2018 int err = -1, vfreq, hfreq, pixclock; in i810fb_init_pci() local 2080 hfreq = pixclock/(info->var.xres + info->var.left_margin + in i810fb_init_pci() 2082 vfreq = hfreq/(info->var.yres + info->var.upper_margin + in i810fb_init_pci()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | adv7604.c | 1380 u32 hfreq = (ADV76XX_FSC * 8) / stdi->bl; in stdi2dv_timings() local 1396 pix_clk = hfreq * htotal(bt); in stdi2dv_timings() 1405 if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0, in stdi2dv_timings() 1410 if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings()
|
H A D | adv7842.c | 1408 u32 hfreq = (ADV7842_fsc * 8) / stdi->bl; in stdi2dv_timings() local 1424 pix_clk = hfreq * htotal(bt); in stdi2dv_timings() 1433 if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0, in stdi2dv_timings() 1438 if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings()
|