Searched refs:pix_clk (Results 1 – 11 of 11) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 397 unsigned pix_clk; in v4l2_detect_cvt() local 492 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt() 493 pix_clk = (pix_clk / clk_gran) * clk_gran; in v4l2_detect_cvt() 512 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt() 513 pix_clk = (pix_clk / CVT_PXL_CLK_GRAN) * CVT_PXL_CLK_GRAN; in v4l2_detect_cvt() 547 fmt->bt.pixelclock = pix_clk; in v4l2_detect_cvt() 611 int pix_clk; in v4l2_detect_gtf() local 673 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_gtf() 674 pix_clk = pix_clk / GTF_PXL_CLK_GRAN * GTF_PXL_CLK_GRAN; in v4l2_detect_gtf() 705 fmt->bt.pixelclock = pix_clk; in v4l2_detect_gtf()
|
/drivers/gpu/drm/sti/ |
D | sti_crtc.c | 49 struct clk *compo_clk, *pix_clk; in sti_crtc_mode_set() local 67 pix_clk = compo->clk_pix_main; in sti_crtc_mode_set() 70 pix_clk = compo->clk_pix_aux; in sti_crtc_mode_set() 80 if (clk_set_rate(pix_clk, rate) < 0) { in sti_crtc_mode_set() 84 if (clk_prepare_enable(pix_clk)) { in sti_crtc_mode_set() 99 clk_disable_unprepare(pix_clk); in sti_crtc_mode_set()
|
/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_drv.c | 382 fsl_dev->pix_clk = clk_register_divider(dev, pix_clk_name, in fsl_dcu_drm_probe() 385 if (IS_ERR(fsl_dev->pix_clk)) { in fsl_dcu_drm_probe() 387 ret = PTR_ERR(fsl_dev->pix_clk); in fsl_dcu_drm_probe() 418 clk_unregister(fsl_dev->pix_clk); in fsl_dcu_drm_probe() 429 clk_unregister(fsl_dev->pix_clk); in fsl_dcu_drm_remove()
|
D | fsl_dcu_drm_crtc.c | 63 clk_disable_unprepare(fsl_dev->pix_clk); in fsl_dcu_drm_crtc_atomic_disable() 71 clk_prepare_enable(fsl_dev->pix_clk); in fsl_dcu_drm_crtc_enable() 90 clk_set_rate(fsl_dev->pix_clk, mode->clock * 1000); in fsl_dcu_drm_crtc_mode_set_nofb()
|
D | fsl_dcu_drm_drv.h | 187 struct clk *pix_clk; member
|
/drivers/video/fbdev/omap/ |
D | hwa742.c | 763 unsigned long *sys_clk, unsigned long *pix_clk) in calc_hwa742_clk_rates() argument 779 *pix_clk = *sys_clk / pix_div; /* HZ */ in calc_hwa742_clk_rates() 784 *sys_clk, *pix_clk); in calc_hwa742_clk_rates() 788 static int setup_tearsync(unsigned long pix_clk, int extif_div) in setup_tearsync() argument 830 hwa742.line_upd_time = (hdisp + hndp) * 1000000 / (pix_clk / 1000); in setup_tearsync() 866 hs = hs * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync() 869 vs = vs * (hdisp + hndp) * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync() 889 pix_clk, hwa742.pix_tx_time, hwa742.line_upd_time); in setup_tearsync() 940 unsigned long sys_clk, pix_clk; in hwa742_init() local 968 calc_hwa742_clk_rates(ext_clk, &sys_clk, &pix_clk); in hwa742_init() [all …]
|
/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_phy_8996.c | 225 static int pll_calculate(unsigned long pix_clk, unsigned long ref_clk, in pll_calculate() argument 244 bclk = ((u64)pix_clk) * 10; in pll_calculate() 247 tmds_clk = pix_clk >> 2; in pll_calculate() 249 tmds_clk = pix_clk; in pll_calculate() 279 DBG("pix_clk: %lu", pix_clk); in pll_calculate()
|
/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 534 u32 pix_clk) in ipu_csi_set_test_generator() argument 549 ipu_csi_set_testgen_mclk(csi, pix_clk, ipu_clk); in ipu_csi_set_test_generator()
|
/drivers/gpu/drm/radeon/ |
D | r100.c | 3151 fixed20_12 peak_disp_bw, mem_bw, pix_clk, pix_clk2, temp_ff; in r100_bandwidth_update() local 3262 pix_clk.full = 0; in r100_bandwidth_update() 3267 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ in r100_bandwidth_update() 3268 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3270 peak_disp_bw.full += dfixed_mul(pix_clk, temp_ff); in r100_bandwidth_update() 3473 disp_drain_rate.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update()
|
/drivers/media/i2c/ |
D | adv7604.c | 1372 u32 pix_clk; in stdi2dv_timings() local 1387 pix_clk = hfreq * htotal(bt); in stdi2dv_timings() 1389 if ((pix_clk < bt->pixelclock + 1000000) && in stdi2dv_timings() 1390 (pix_clk > bt->pixelclock - 1000000)) { in stdi2dv_timings()
|
D | adv7842.c | 1432 u32 pix_clk; in stdi2dv_timings() local 1447 pix_clk = hfreq * htotal(bt); in stdi2dv_timings() 1449 if ((pix_clk < bt->pixelclock + 1000000) && in stdi2dv_timings() 1450 (pix_clk > bt->pixelclock - 1000000)) { in stdi2dv_timings()
|