Home
last modified time | relevance | path

Searched refs:ref_clk_rate (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/phy/broadcom/
Dphy-bcm-ns-usb2.c36 u32 ref_clk_rate, usb2ctl, usb_pll_ndiv, usb_pll_pdiv; in bcm_ns_usb2_phy_init() local
45 ref_clk_rate = clk_get_rate(usb2->ref_clk); in bcm_ns_usb2_phy_init()
46 if (!ref_clk_rate) { in bcm_ns_usb2_phy_init()
66 usb_pll_ndiv = (1920000000 * usb_pll_pdiv) / ref_clk_rate; in bcm_ns_usb2_phy_init()
/linux-6.12.1/drivers/gpu/drm/bridge/imx/
Dimx93-mipi-dsi.c101 unsigned long ref_clk_rate; member
225 unsigned long fin = dsi->ref_clk_rate; in dphy_pll_get_configure_from_opts()
865 dsi->ref_clk_rate = clk_get_rate(dsi->clk_ref); in imx93_dsi_probe()
866 if (dsi->ref_clk_rate < REF_CLK_RATE_MIN || in imx93_dsi_probe()
867 dsi->ref_clk_rate > REF_CLK_RATE_MAX) { in imx93_dsi_probe()
869 dsi->ref_clk_rate); in imx93_dsi_probe()
872 dev_dbg(dev, "phy ref clock rate: %lu\n", dsi->ref_clk_rate); in imx93_dsi_probe()
/linux-6.12.1/drivers/clk/
Dclk-cs2000-cp.c468 int ref_clk_rate; in cs2000_clk_register() local
486 ref_clk_rate = clk_get_rate(priv->ref_clk); in cs2000_clk_register()
487 ret = cs2000_ref_clk_bound_rate(priv, ref_clk_rate); in cs2000_clk_register()
500 ret = __cs2000_set_rate(priv, ch, ref_clk_rate, ref_clk_rate); in cs2000_clk_register()
/linux-6.12.1/drivers/phy/cadence/
Dphy-cadence-torrent.c360 enum cdns_torrent_ref_clk ref_clk_rate; member
1314 if (cdns_phy->ref_clk_rate == CLK_19_2_MHZ) in cdns_torrent_dp_configure_rate()
1317 else if (cdns_phy->ref_clk_rate == CLK_25_MHZ) in cdns_torrent_dp_configure_rate()
1320 else if (cdns_phy->ref_clk_rate == CLK_100_MHZ) in cdns_torrent_dp_configure_rate()
1732 if (cdns_phy->ref_clk_rate == CLK_19_2_MHZ) in cdns_torrent_dp_common_init()
1736 else if (cdns_phy->ref_clk_rate == CLK_25_MHZ) in cdns_torrent_dp_common_init()
1740 else if (cdns_phy->ref_clk_rate == CLK_100_MHZ) in cdns_torrent_dp_common_init()
1777 switch (cdns_phy->ref_clk_rate) { in cdns_torrent_dp_init()
1801 if (cdns_phy->ref_clk_rate != CLK_100_MHZ) { in cdns_torrent_dp_multilink_init()
2313 enum cdns_torrent_ref_clk ref_clk = cdns_phy->ref_clk_rate; in cdns_torrent_phy_init()
[all …]