Home
last modified time | relevance | path

Searched refs:pixel_clk (Results 1 – 25 of 58) sorted by relevance

123

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/vdpo/
Ddrv_vdpo_timing.c16 .pixel_clk = 13500000,
38 .pixel_clk = 13500000,
59 .pixel_clk = 13500000,
80 .pixel_clk = 13500000,
101 .pixel_clk = 27000000,
122 .pixel_clk = 27000000,
143 .pixel_clk = 74250000,
164 .pixel_clk = 74250000,
185 .pixel_clk = 74250000,
206 .pixel_clk = 74250000,
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_hdmi14.c26 .pixel_clk = 13500000,
48 .pixel_clk = 27000000,
69 .pixel_clk = 27000000,
90 .pixel_clk = 27000000,
111 .pixel_clk = 74250000,
132 .pixel_clk = 74250000,
153 .pixel_clk = 74250000,
174 .pixel_clk = 74250000,
195 .pixel_clk = 148500000,
216 .pixel_clk = 148500000,
[all …]
Dsunxi_tv.c37 .pixel_clk = 216000000,
59 .pixel_clk = 216000000,
83 .pixel_clk = 108000000,
104 .pixel_clk = 89000000,
125 .pixel_clk = 85800000,
146 .pixel_clk = 83500000,
167 .pixel_clk = 65000000,
188 .pixel_clk = 40000000,
209 .pixel_clk = 74250000,
230 .pixel_clk = 148500000,
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_tv.c119 return clk_set_rate(ptvp->clk, ptv->timings.pixel_clk); in tv_clk_config()
199 int pixel_clk; in tv_calc_judge_line() local
206 pixel_clk = ptvp->video_info->pixel_clk; in tv_calc_judge_line()
208 pixel_clk = (pixel_clk == TV_UGLY_CLK_RATE) ? in tv_calc_judge_line()
209 TV_COMPOSITE_CLK_RATE : pixel_clk; in tv_calc_judge_line()
217 DIV_ROUND_CLOSEST(pixel_clk * (ptvp->video_info->b_interlace + 1), in tv_calc_judge_line()
222 * 1000000 / pixel_clk; in tv_calc_judge_line()
262 clk_rate_set = ptvp->video_info->pixel_clk; in cal_real_frame_period()
Ddisp_vdpo.c165 int pixel_clk; in vdpo_calc_judge_line() local
173 pixel_clk = p_vdpop->video_info->pixel_clk; in vdpo_calc_judge_line()
180 p_vdpop->frame_per_sec = pixel_clk in vdpo_calc_judge_line()
187 do_div(temp, pixel_clk); in vdpo_calc_judge_line()
280 rate = p_vdpo->timings.pixel_clk * 4; /*tcon_dvi==4*/
Ddisp_edp.c154 do_div(temp, p_edp->timings.pixel_clk); in cal_real_frame_period()
190 int pixel_clk; in edp_calc_judge_line() local
197 pixel_clk = p_edpp->video_info->pixel_clk; in edp_calc_judge_line()
206 p_edpp->frame_per_sec = pixel_clk / in edp_calc_judge_line()
210 p_edpp->video_info->hor_total_time * 1000000 / pixel_clk; in edp_calc_judge_line()
403 p_info->pixel_clk = in edp_parse_panel_para()
872 1000000 / timings->pixel_clk; in disp_edp_usec_before_vblank()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/
Ddisp_al.c1109 video_info->pixel_clk / video_info->hor_total_time / in disp_al_hdmi_cfg()
1194 unsigned int pixel_clk; in disp_al_tv_cfg() local
1196 pixel_clk = video_info->pixel_clk; in disp_al_tv_cfg()
1198 pixel_clk = (pixel_clk == TV_UGLY_CLK_RATE) ? in disp_al_tv_cfg()
1199 TV_COMPOSITE_CLK_RATE : pixel_clk; in disp_al_tv_cfg()
1204 pixel_clk / video_info->hor_total_time in disp_al_tv_cfg()
1263 video_info->pixel_clk / video_info->hor_total_time in disp_al_vga_cfg()
1306 video_info->pixel_clk / video_info->hor_total_time in disp_al_vdevice_cfg()
1318 info.lcd_dclk_freq = video_info->pixel_clk; in disp_al_vdevice_cfg()
1604 video_info->pixel_clk / video_info->hor_total_time / in disp_al_vdpo_cfg()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
Ddrv_hdmi_dfm.c89 hdmi_info("pixel_clk = %lld\n", info->pixel_clk); in dfm_info_debug()
141 info->pixel_clk = dfm_div((hi_s64)info->htotal * info->vtotal * in->v_freq, HDMI_THOUSAND); in dfm_base_info_init()
153 …info->max_pixel_clk = dfm_div(info->pixel_clk * (HDMI_THOUSAND + PIXELCLK_TOLERANCE), HDMI_THOUSAN… in dfm_base_info_init()
156 …info->min_pixel_clk = dfm_div(info->pixel_clk * (HDMI_THOUSAND - PIXELCLK_TOLERANCE), HDMI_THOUSAN… in dfm_base_info_init()
Ddrv_hdmi_dfm.h76 hi_s64 pixel_clk; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/
Dhdmi_hal_ctrl.h92 hi_u32 pixel_clk; /* it is used to config N value */ member
102 hi_u32 pixel_clk; /* it is used to config N value */ member
Dhdmi_hal_intf.c232 video_path.in_pixel_clk = video_cfg->pixel_clk; in hal_hdmi_video_path_set()
337 cfg.pixel_clk = phy_cfg->pixel_clk; in hal_hdmi_phy_set()
549 audio_path.pixel_clk = audio_cfg->tmds_clk; in hal_hdmi_audio_path_set()
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c543 static int hdmi_match_tmds_n_table(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long … in hdmi_match_tmds_n_table() argument
551 if (pixel_clk == plat_data->tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
560 if (pixel_clk == common_tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
587 static u64 hdmi_audio_math_diff(unsigned int freq, unsigned int n, unsigned int pixel_clk) in hdmi_audio_math_diff() argument
592 final = (u64)pixel_clk * n; in hdmi_audio_math_diff()
602 static unsigned int hdmi_compute_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long … in hdmi_compute_n() argument
613 if (hdmi_audio_math_diff(freq, ideal_n, pixel_clk) == 0) { in hdmi_compute_n()
618 u64 diff = hdmi_audio_math_diff(freq, n, pixel_clk); in hdmi_compute_n()
637 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long sam… in hdmi_find_n() argument
641 n = hdmi_match_tmds_n_table(hdmi, pixel_clk, sample_rate); in hdmi_find_n()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c342 unsigned long pixel_clk, in hdmi_match_tmds_n_table() argument
351 if (pixel_clk == plat_data->tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
360 if (pixel_clk == common_tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
387 unsigned int pixel_clk) in hdmi_audio_math_diff() argument
392 final = (u64)pixel_clk * n; in hdmi_audio_math_diff()
403 unsigned long pixel_clk, in hdmi_compute_n() argument
415 if (hdmi_audio_math_diff(freq, ideal_n, pixel_clk) == 0) in hdmi_compute_n()
419 u64 diff = hdmi_audio_math_diff(freq, n, pixel_clk); in hdmi_compute_n()
439 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, in hdmi_find_n() argument
444 n = hdmi_match_tmds_n_table(hdmi, pixel_clk, sample_rate); in hdmi_find_n()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/mipi_tx/
Dhi_mipi_tx.h75 unsigned int pixel_clk; /* KHz */ member
Dmipi_tx_hal.c571 if (dev_cfg->pixel_clk == 0) { in set_timing_config()
577 dev_cfg->pixel_clk; in set_timing_config()
579 dev_cfg->pixel_clk; in set_timing_config()
581 dev_cfg->pixel_clk; in set_timing_config()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhi_mipi_tx.h72 unsigned int pixel_clk; /* KHz */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhi_mipi_tx.h72 unsigned int pixel_clk; /* KHz */ member
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Ddw-hdmi-qp.c343 unsigned long pixel_clk, in hdmi_match_tmds_n_table() argument
352 if (pixel_clk == plat_data->tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
361 if (pixel_clk == common_tmds_n_table[i].tmds) { in hdmi_match_tmds_n_table()
388 unsigned int pixel_clk) in hdmi_audio_math_diff() argument
393 final = (u64)pixel_clk * n; in hdmi_audio_math_diff()
404 unsigned long pixel_clk, in hdmi_compute_n() argument
416 if (hdmi_audio_math_diff(freq, ideal_n, pixel_clk) == 0) in hdmi_compute_n()
420 u64 diff = hdmi_audio_math_diff(freq, n, pixel_clk); in hdmi_compute_n()
440 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, in hdmi_find_n() argument
445 n = hdmi_match_tmds_n_table(hdmi, pixel_clk, sample_rate); in hdmi_find_n()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Ddw-mipi-dsi2-rockchip.c583 u64 pixel_clk, ipi_clk, phy_hsclk; in dw_mipi_dsi2_phy_ratio_cfg() local
597 pixel_clk = mode->clock * MSEC_PER_SEC; in dw_mipi_dsi2_phy_ratio_cfg()
598 ipi_clk = pixel_clk / 4; in dw_mipi_dsi2_phy_ratio_cfg()
707 u64 pixel_clk, phy_hs_clk; in dw_mipi_dsi2_ipi_set() local
736 pixel_clk = mode->clock * MSEC_PER_SEC; in dw_mipi_dsi2_ipi_set()
744 hsa_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
749 hbp_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
754 hact_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
759 hline_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c573 u64 pixel_clk, ipi_clk, phy_hsclk; in dw_mipi_dsi2_phy_ratio_cfg() local
588 pixel_clk = mode->clock; in dw_mipi_dsi2_phy_ratio_cfg()
589 ipi_clk = pixel_clk / 0x4; in dw_mipi_dsi2_phy_ratio_cfg()
701 u32 pixel_clk, phy_hs_clk; in dw_mipi_dsi2_ipi_set() local
731 pixel_clk = mode->clock / 0x3e8; in dw_mipi_dsi2_ipi_set()
740 hsa_time = DIV_ROUND_CLOSEST_ULL(tmp << 0x10, pixel_clk); in dw_mipi_dsi2_ipi_set()
744 hbp_time = DIV_ROUND_CLOSEST_ULL(tmp << 0x10, pixel_clk); in dw_mipi_dsi2_ipi_set()
748 hact_time = DIV_ROUND_CLOSEST_ULL(tmp << 0x10, pixel_clk); in dw_mipi_dsi2_ipi_set()
752 hline_time = DIV_ROUND_CLOSEST_ULL(tmp << 0x10, pixel_clk); in dw_mipi_dsi2_ipi_set()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c568 u64 pixel_clk, ipi_clk, phy_hsclk; in dw_mipi_dsi2_phy_ratio_cfg() local
582 pixel_clk = mode->clock; in dw_mipi_dsi2_phy_ratio_cfg()
583 ipi_clk = pixel_clk / 4; in dw_mipi_dsi2_phy_ratio_cfg()
693 u32 pixel_clk, phy_hs_clk; in dw_mipi_dsi2_ipi_set() local
721 pixel_clk = mode->clock / 1000; in dw_mipi_dsi2_ipi_set()
729 hsa_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
734 hbp_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
739 hact_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
744 hline_time = DIV_ROUND_CLOSEST_ULL(tmp << 16, pixel_clk); in dw_mipi_dsi2_ipi_set()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_tv_connector.c37 mode->clock = video_info->pixel_clk / 1000; in sunxi_connector_tv_disp_video_timing_to_display_mode()
198 *vfresh = p_info->pixel_clk / in sunxi_connector_tv_get_prefered_resolution()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/
Ddisp_al.c544 al_priv.output_fps[screen_id] = video_info->pixel_clk / video_info->hor_total_time /\ in disp_al_hdmi_cfg()
581 al_priv.output_fps[screen_id] = video_info->pixel_clk / video_info->hor_total_time /\ in disp_al_tv_cfg()
607 al_priv.output_fps[screen_id] = video_info->pixel_clk / video_info->hor_total_time /\ in disp_al_vdevice_cfg()
618 info.lcd_dclk_freq = video_info->pixel_clk; in disp_al_vdevice_cfg()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw8/
Ddisp_al.c413 video_info->pixel_clk / video_info->hor_total_time / in disp_al_hdmi_cfg()
438 video_info->pixel_clk / video_info->hor_total_time / in disp_al_vdevice_cfg()
449 info.lcd_dclk_freq = video_info->pixel_clk; in disp_al_vdevice_cfg()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v3x/
Ddisp_al.c703 video_info->pixel_clk / video_info->hor_total_time / in disp_al_hdmi_cfg()
795 video_info->pixel_clk / video_info->hor_total_time in disp_al_tv_cfg()
852 video_info->pixel_clk / video_info->hor_total_time in disp_al_vga_cfg()
894 video_info->pixel_clk / video_info->hor_total_time in disp_al_vdevice_cfg()
906 info.lcd_dclk_freq = video_info->pixel_clk; in disp_al_vdevice_cfg()

123