Searched refs:link_clk (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_audio.c | 428 unsigned int link_clk, lanes; in calc_hblank_early_prog() local 438 link_clk = crtc_state->port_clock; in calc_hblank_early_prog() 443 h_active, link_clk, lanes, vdsc_bpp, cdclk); in calc_hblank_early_prog() 445 if (WARN_ON(!link_clk || !pixel_clk || !lanes || !vdsc_bpp || !cdclk)) in calc_hblank_early_prog() 448 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog() 454 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog() 455 mul_u32_u32(link_clk, cdclk)); in calc_hblank_early_prog() 458 mul_u32_u32(link_clk * lanes, fec_coeff)); in calc_hblank_early_prog() 459 tu_line = div64_u64(h_active * mul_u32_u32(link_clk, fec_coeff), in calc_hblank_early_prog() 463 …ank_rise = (link_clks_active + 6 * DIV_ROUND_UP(link_clks_active, 250) + 4) * pixel_clk / link_clk; in calc_hblank_early_prog() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-qcom-ethqos.c | 112 struct clk *link_clk; member 193 clk_set_rate(ethqos->link_clk, ethqos->link_clk_rate); in ethqos_update_link_clk() 706 ret = clk_prepare_enable(ethqos->link_clk); in ethqos_clks_config() 719 clk_disable_unprepare(ethqos->link_clk); in ethqos_clks_config() 808 ethqos->link_clk = devm_clk_get(dev, data->link_clk_name ?: "rgmii"); in qcom_ethqos_probe() 809 if (IS_ERR(ethqos->link_clk)) in qcom_ethqos_probe() 810 return dev_err_probe(dev, PTR_ERR(ethqos->link_clk), in qcom_ethqos_probe()
|