/kernel/linux/linux-5.10/drivers/media/platform/cadence/ |
D | cdns-csi2rx.c | 70 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()
|
D | cdns-csi2tx.c | 107 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_audio.c | 523 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local 530 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog() 542 if (WARN_ON(!link_clk || !pixel_clk || !lanes || !vdsc_bpp || !cdclk)) in calc_hblank_early_prog() 545 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog() 546 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); in calc_hblank_early_prog() 551 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog() 554 tu_data = div64_u64(mul_u32_u32(pixel_clk * vdsc_bpp * 8, 1000000), in calc_hblank_early_prog() 557 mul_u32_u32(64 * pixel_clk, 1000000)); in calc_hblank_early_prog() 560 …hblank_rise = (link_clks_active + 6 * DIV_ROUND_UP(link_clks_active, 250) + 4) * pixel_clk / link_… in calc_hblank_early_prog() 567 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 66 struct clk *pixel_clk; member 371 clk_disable_unprepare(dpi->pixel_clk); in mtk_dpi_power_off() 388 ret = clk_prepare_enable(dpi->pixel_clk); in mtk_dpi_power_on() 429 clk_set_rate(dpi->pixel_clk, vm.pixelclock); in mtk_dpi_set_display_mode() 430 vm.pixelclock = clk_get_rate(dpi->pixel_clk); in mtk_dpi_set_display_mode() 722 dpi->pixel_clk = devm_clk_get(dev, "pixel"); in mtk_dpi_probe() 723 if (IS_ERR(dpi->pixel_clk)) { in mtk_dpi_probe() 724 ret = PTR_ERR(dpi->pixel_clk); in mtk_dpi_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
D | ltdc.c | 475 result = clk_round_rate(ldev->pixel_clk, target); in ltdc_crtc_mode_valid() 511 if (clk_set_rate(ldev->pixel_clk, rate) < 0) { in ltdc_crtc_mode_fixup() 516 adjusted_mode->clock = clk_get_rate(ldev->pixel_clk) / 1000; in ltdc_crtc_mode_fixup() 1197 clk_disable_unprepare(ldev->pixel_clk); in ltdc_suspend() 1207 ret = clk_prepare_enable(ldev->pixel_clk); in ltdc_resume() 1237 ldev->pixel_clk = devm_clk_get(dev, "lcd"); in ltdc_load() 1238 if (IS_ERR(ldev->pixel_clk)) { in ltdc_load() 1239 if (PTR_ERR(ldev->pixel_clk) != -EPROBE_DEFER) in ltdc_load() 1241 return PTR_ERR(ldev->pixel_clk); in ltdc_load() 1244 if (clk_prepare_enable(ldev->pixel_clk)) { in ltdc_load() [all …]
|
D | ltdc.h | 34 struct clk *pixel_clk; /* lcd pixel clock */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 65 struct clk *pixel_clk; member 155 ctrl->pixel_clk = msm_clk_get(pdev, "pixel"); in edp_clk_init() 156 if (IS_ERR(ctrl->pixel_clk)) { in edp_clk_init() 157 ret = PTR_ERR(ctrl->pixel_clk); in edp_clk_init() 159 ctrl->pixel_clk = NULL; in edp_clk_init() 237 ret = clk_set_rate(ctrl->pixel_clk, in edp_clk_enable() 245 ret = clk_prepare_enable(ctrl->pixel_clk); in edp_clk_enable() 263 clk_disable_unprepare(ctrl->pixel_clk); in edp_clk_enable() 282 clk_disable_unprepare(ctrl->pixel_clk); in edp_clk_disable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 110 struct clk *pixel_clk; member 411 msm_host->pixel_clk = msm_clk_get(pdev, "pixel"); in dsi_clk_init() 412 if (IS_ERR(msm_host->pixel_clk)) { in dsi_clk_init() 413 ret = PTR_ERR(msm_host->pixel_clk); in dsi_clk_init() 416 msm_host->pixel_clk = NULL; in dsi_clk_init() 436 msm_host->pixel_clk_src = clk_get_parent(msm_host->pixel_clk); in dsi_clk_init() 526 ret = clk_set_rate(msm_host->pixel_clk, msm_host->pixel_clk_rate); in dsi_link_clk_set_rate_6g() 562 ret = clk_prepare_enable(msm_host->pixel_clk); in dsi_link_clk_enable_6g() 580 clk_disable_unprepare(msm_host->pixel_clk); in dsi_link_clk_enable_6g() 615 ret = clk_set_rate(msm_host->pixel_clk, msm_host->pixel_clk_rate); in dsi_link_clk_set_rate_v2() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 573 static unsigned int hdmi_compute_n(unsigned int freq, unsigned long pixel_clk) in hdmi_compute_n() argument 585 if (pixel_clk == 25175000) in hdmi_compute_n() 587 else if (pixel_clk == 27027000) in hdmi_compute_n() 589 else if (pixel_clk == 74176000 || pixel_clk == 148352000) in hdmi_compute_n() 597 if (pixel_clk == 25175000) in hdmi_compute_n() 599 else if (pixel_clk == 74176000) in hdmi_compute_n() 601 else if (pixel_clk == 148352000) in hdmi_compute_n() 609 if (pixel_clk == 25175000) in hdmi_compute_n() 611 else if (pixel_clk == 27027000) in hdmi_compute_n() 613 else if (pixel_clk == 74176000) in hdmi_compute_n() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/aspeed/ |
D | aspeed_gfx_crtc.c | 93 clk_set_rate(priv->pixel_clk, m->crtc_clock * 1000); in aspeed_gfx_crtc_mode_set_nofb()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | grph_object_ctrl_defs.h | 128 uint32_t pixel_clk; /* in KHz */ member
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 192 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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | mx3fb.c | 507 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table.c | 1570 uint64_t pixel_clk = (uint64_t)bp_params->pixel_clock; in adjust_display_pll_v3() local 1574 div_u64(pixel_clk * pixel_clk_10_khz_out, in adjust_display_pll_v3()
|
D | bios_parser.c | 1233 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()
|
D | bios_parser2.c | 940 info->lcd_timing.pixel_clk = le16_to_cpu(lvds->lcd_timing.pixclk) * 10; in get_embedded_panel_info_v2_1()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 6207 + struct clk *pixel_clk; 6428 + if (dsi->pixel_clk) 6429 + clk_disable_unprepare(dsi->pixel_clk); 6768 + if (dsi->pixel_clk) 6769 + clk_set_rate(dsi->pixel_clk, adjusted_mode->crtc_clock * 1000); 6809 + if (dsi->pixel_clk && clk_prepare_enable(dsi->pixel_clk) < 0) 7016 + dsi->pixel_clk = clk; 9629 @@ -588,6 +591,8 @@ static unsigned int hdmi_compute_n(unsigned int freq, unsigned long pixel_clk) 9631 else if (pixel_clk == 74176000 || pixel_clk == 148352000) 9633 + else if (pixel_clk == 297000000) [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 11949 -static unsigned int hdmi_compute_n(unsigned int freq, unsigned long pixel_clk) 11951 + unsigned long pixel_clk, 11962 + if (pixel_clk == plat_data->tmds_n_table[i].tmds) { 11974 + if (pixel_clk == common_tmds_n_table[i].tmds) { 11986 - if (pixel_clk == 25175000) 11988 - else if (pixel_clk == 27027000) 11990 - else if (pixel_clk == 74176000 || pixel_clk == 148352000) 11999 - if (pixel_clk == 25175000) 12001 - else if (pixel_clk == 74176000) 12003 - else if (pixel_clk == 148352000) [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 10051 + uint32_t pixel_clk,
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 9633 + // pixel_clk(30MHz) & mipi_clk(400MHz)
|