Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/cadence/
Dcdns-csi2rx.c70 struct clk *pixel_clk[CSI2RX_STREAMS_MAX]; member
154 ret = clk_prepare_enable(csi2rx->pixel_clk[i]); in csi2rx_start()
179 clk_disable_unprepare(csi2rx->pixel_clk[i - 1]); in csi2rx_start()
197 clk_disable_unprepare(csi2rx->pixel_clk[i]); in csi2rx_stop()
352 csi2rx->pixel_clk[i] = devm_clk_get(&pdev->dev, clk_name); in csi2rx_get_resources()
353 if (IS_ERR(csi2rx->pixel_clk[i])) { in csi2rx_get_resources()
355 return PTR_ERR(csi2rx->pixel_clk[i]); in csi2rx_get_resources()
Dcdns-csi2tx.c107 struct clk *pixel_clk[CSI2TX_STREAMS_MAX]; member
481 csi2tx->pixel_clk[i] = devm_clk_get(&pdev->dev, clk_name); in csi2tx_get_resources()
482 if (IS_ERR(csi2tx->pixel_clk[i])) { in csi2tx_get_resources()
485 return PTR_ERR(csi2tx->pixel_clk[i]); in csi2tx_get_resources()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_dpi.c67 struct clk *pixel_clk; member
382 clk_disable_unprepare(dpi->pixel_clk); in mtk_dpi_power_off()
399 ret = clk_prepare_enable(dpi->pixel_clk); in mtk_dpi_power_on()
441 clk_set_rate(dpi->pixel_clk, vm.pixelclock); in mtk_dpi_set_display_mode()
442 vm.pixelclock = clk_get_rate(dpi->pixel_clk); in mtk_dpi_set_display_mode()
707 dpi->pixel_clk = devm_clk_get(dev, "pixel"); in mtk_dpi_probe()
708 if (IS_ERR(dpi->pixel_clk)) { in mtk_dpi_probe()
709 ret = PTR_ERR(dpi->pixel_clk); in mtk_dpi_probe()
/Linux-v5.4/drivers/gpu/drm/stm/
Dltdc.c479 result = clk_round_rate(ldev->pixel_clk, target); in ltdc_crtc_mode_valid()
523 if (clk_set_rate(ldev->pixel_clk, rate) < 0) { in ltdc_crtc_mode_fixup()
528 adjusted_mode->clock = clk_get_rate(ldev->pixel_clk) / 1000; in ltdc_crtc_mode_fixup()
1123 clk_disable_unprepare(ldev->pixel_clk); in ltdc_suspend()
1133 ret = clk_prepare_enable(ldev->pixel_clk); in ltdc_resume()
1179 ldev->pixel_clk = devm_clk_get(dev, "lcd"); in ltdc_load()
1180 if (IS_ERR(ldev->pixel_clk)) { in ltdc_load()
1181 if (PTR_ERR(ldev->pixel_clk) != -EPROBE_DEFER) in ltdc_load()
1183 return PTR_ERR(ldev->pixel_clk); in ltdc_load()
1186 if (clk_prepare_enable(ldev->pixel_clk)) { in ltdc_load()
[all …]
Dltdc.h33 struct clk *pixel_clk; /* lcd pixel clock */ member
/Linux-v5.4/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c65 struct clk *pixel_clk; member
156 ctrl->pixel_clk = msm_clk_get(pdev, "pixel"); in edp_clk_init()
157 if (IS_ERR(ctrl->pixel_clk)) { in edp_clk_init()
158 ret = PTR_ERR(ctrl->pixel_clk); in edp_clk_init()
160 ctrl->pixel_clk = NULL; in edp_clk_init()
238 ret = clk_set_rate(ctrl->pixel_clk, in edp_clk_enable()
246 ret = clk_prepare_enable(ctrl->pixel_clk); in edp_clk_enable()
264 clk_disable_unprepare(ctrl->pixel_clk); in edp_clk_enable()
283 clk_disable_unprepare(ctrl->pixel_clk); in edp_clk_disable()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c109 struct clk *pixel_clk; member
407 msm_host->pixel_clk = msm_clk_get(pdev, "pixel"); in dsi_clk_init()
408 if (IS_ERR(msm_host->pixel_clk)) { in dsi_clk_init()
409 ret = PTR_ERR(msm_host->pixel_clk); in dsi_clk_init()
412 msm_host->pixel_clk = NULL; in dsi_clk_init()
432 msm_host->pixel_clk_src = clk_get_parent(msm_host->pixel_clk); in dsi_clk_init()
521 ret = clk_set_rate(msm_host->pixel_clk, msm_host->pixel_clk_rate); in dsi_link_clk_enable_6g()
549 ret = clk_prepare_enable(msm_host->pixel_clk); in dsi_link_clk_enable_6g()
567 clk_disable_unprepare(msm_host->pixel_clk); in dsi_link_clk_enable_6g()
602 ret = clk_set_rate(msm_host->pixel_clk, msm_host->pixel_clk_rate); in dsi_link_clk_enable_v2()
[all …]
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c527 static unsigned int hdmi_compute_n(unsigned int freq, unsigned long pixel_clk) in hdmi_compute_n() argument
539 if (pixel_clk == 25175000) in hdmi_compute_n()
541 else if (pixel_clk == 27027000) in hdmi_compute_n()
543 else if (pixel_clk == 74176000 || pixel_clk == 148352000) in hdmi_compute_n()
551 if (pixel_clk == 25175000) in hdmi_compute_n()
553 else if (pixel_clk == 74176000) in hdmi_compute_n()
555 else if (pixel_clk == 148352000) in hdmi_compute_n()
563 if (pixel_clk == 25175000) in hdmi_compute_n()
565 else if (pixel_clk == 27027000) in hdmi_compute_n()
567 else if (pixel_clk == 74176000) in hdmi_compute_n()
[all …]
/Linux-v5.4/drivers/gpu/drm/aspeed/
Daspeed_gfx_crtc.c93 clk_set_rate(priv->pixel_clk, m->crtc_clock * 1000); in aspeed_gfx_crtc_mode_set_nofb()
/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dgrph_object_ctrl_defs.h128 uint32_t pixel_clk; /* in KHz */ member
/Linux-v5.4/drivers/gpu/ipu-v3/
Dipu-csi.c192 static int ipu_csi_set_testgen_mclk(struct ipu_csi *csi, u32 pixel_clk, in ipu_csi_set_testgen_mclk() argument
198 div_ratio = (ipu_clk / pixel_clk) - 1; in ipu_csi_set_testgen_mclk()
/Linux-v5.4/drivers/video/fbdev/
Dmx3fb.c507 uint32_t pixel_clk, in sdc_init_panel() argument
568 div = clk_get_rate(ipu_clk) * 16 / pixel_clk; in sdc_init_panel()
581 pixel_clk, div >> 4, (div & 7) * 125); in sdc_init_panel()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c1509 uint64_t pixel_clk = (uint64_t)bp_params->pixel_clock; in adjust_display_pll_v3() local
1513 div_u64(pixel_clk * pixel_clk_10_khz_out, in adjust_display_pll_v3()
Dbios_parser.c1233 info->lcd_timing.pixel_clk = in get_embedded_panel_info_v1_2()
1351 info->lcd_timing.pixel_clk = in get_embedded_panel_info_v1_3()
Dbios_parser2.c868 info->lcd_timing.pixel_clk = le16_to_cpu(lvds->lcd_timing.pixclk) * 10; in get_embedded_panel_info_v2_1()
/Linux-v5.4/arch/arm/boot/dts/
Dqcom-apq8064.dtsi1265 "src_clk", "byte_clk", "pixel_clk",