Home
last modified time | relevance | path

Searched refs:hfreq (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbmon.c1017 u32 hfreq; member
1029 * @hfreq: horizontal freq
1038 * flyback * hfreq
1042 static u32 fb_get_vblank(u32 hfreq) in fb_get_vblank() argument
1046 vblank = (hfreq * FLYBACK)/1000; in fb_get_vblank()
1052 * fb_get_hblank_by_freq - get horizontal blank time given hfreq
1053 * @hfreq: horizontal freq
1071 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument
1078 m_val = (m_val * 1000000)/hfreq; in fb_get_hblank_by_hfreq()
1134 * hfreq
1141 u32 divisor, hfreq; fb_get_hfreq() local
1435 u32 hfreq, vfreq, htotal, vtotal, pixclock; fb_validate_mode() local
[all...]
H A Dfbcvt.c43 u32 hfreq; member
357 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
H A Dmodedb.c854 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local
889 hfreq = pixclock/htotal; in fb_var_to_videomode()
890 mode->refresh = hfreq/vtotal; in fb_var_to_videomode()
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbmon.c1018 u32 hfreq; member
1030 * @hfreq: horizontal freq
1039 * flyback * hfreq
1043 static u32 fb_get_vblank(u32 hfreq) in fb_get_vblank() argument
1047 vblank = (hfreq * FLYBACK)/1000; in fb_get_vblank()
1053 * fb_get_hblank_by_hfreq - get horizontal blank time given hfreq
1054 * @hfreq: horizontal freq
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()
1134 * hfreq
1141 u32 divisor, hfreq; fb_get_hfreq() local
1435 u32 hfreq, vfreq, htotal, vtotal, pixclock; fb_validate_mode() local
[all...]
H A Dfbcvt.c43 u32 hfreq; member
357 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
H A Dmodedb.c858 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()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c476 * @hfreq - the horizontal frequency in Hz.
491 unsigned hfreq, in v4l2_detect_cvt()
523 if (hfreq == 0) in v4l2_detect_cvt()
530 v_fp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
537 v_bp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
545 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
597 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
607 100 * CVT_C_PRIME - (CVT_M_PRIME * 100000) / hfreq; in v4l2_detect_cvt()
617 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
692 * @hfreq
490 v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, unsigned active_width, u32 polarities, bool interlaced, struct v4l2_dv_timings *fmt) v4l2_detect_cvt() argument
708 v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, u32 polarities, bool interlaced, struct v4l2_fract aspect, struct v4l2_dv_timings *fmt) v4l2_detect_gtf() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c476 * @hfreq - the horizontal frequency in Hz.
491 unsigned hfreq, in v4l2_detect_cvt()
523 if (hfreq == 0) in v4l2_detect_cvt()
530 v_fp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
537 v_bp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
545 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
597 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
607 100 * CVT_C_PRIME - (CVT_M_PRIME * 100000) / hfreq; in v4l2_detect_cvt()
617 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
692 * @hfreq
490 v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, unsigned active_width, u32 polarities, bool interlaced, struct v4l2_dv_timings *fmt) v4l2_detect_cvt() argument
708 v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, u32 polarities, bool interlaced, struct v4l2_fract aspect, struct v4l2_dv_timings *fmt) v4l2_detect_gtf() argument
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-dv-timings.h141 * @hfreq: the horizontal frequency in Hz.
155 bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync,
163 * @hfreq: the horizontal frequency in Hz.
179 bool v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync,
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-dv-timings.h141 * @hfreq: the horizontal frequency in Hz.
155 bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync,
163 * @hfreq: the horizontal frequency in Hz.
179 bool v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync,
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Datafb.c909 int hfreq, vfreq; in falcon_decode_var() local
923 Additional constraints: hfreq. in falcon_decode_var()
1255 /* if this happens increase margins, decrease hfreq. */ in falcon_decode_var()
1266 hfreq = pclock->f / ((par->HHT + 2) * prescale * 2); in falcon_decode_var()
1267 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) { in falcon_decode_var()
1274 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin) in falcon_decode_var()
1304 vfreq = (hfreq * 2) / (par->VFT + 1); in falcon_decode_var()
1318 (hfreq * 2) / (par->VFT + 1 + 4 * lines - 2 * yres) > in falcon_decode_var()
1329 (hfreq * in falcon_decode_var()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Datafb.c897 int hfreq, vfreq; in falcon_decode_var() local
911 Additional constraints: hfreq. in falcon_decode_var()
1236 /* if this happens increase margins, decrease hfreq. */ in falcon_decode_var()
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 * in falcon_decode_var()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/
H A Di810_main.c2017 int err = -1, vfreq, hfreq, pixclock; in i810fb_init_pci() local
2075 hfreq = pixclock/(info->var.xres + info->var.left_margin + in i810fb_init_pci()
2077 vfreq = hfreq/(info->var.yres + info->var.upper_margin + in i810fb_init_pci()
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/
H A Di810_main.c2018 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()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dadv7604.c1366 u32 hfreq = (ADV76XX_FSC * 8) / stdi->bl; in stdi2dv_timings() local
1382 pix_clk = hfreq * htotal(bt); in stdi2dv_timings()
1391 if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0, in stdi2dv_timings()
1396 if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings()
H A Dadv7842.c1420 u32 hfreq = (ADV7842_fsc * 8) / stdi->bl; in stdi2dv_timings() local
1436 pix_clk = hfreq * htotal(bt); in stdi2dv_timings()
1445 if (v4l2_detect_cvt(stdi->lcf + 1, hfreq, stdi->lcvs, 0, in stdi2dv_timings()
1450 if (v4l2_detect_gtf(stdi->lcf + 1, hfreq, stdi->lcvs, in stdi2dv_timings()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dadv7604.c1380 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 Dadv7842.c1408 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()

Completed in 51 milliseconds