Home
last modified time | relevance | path

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

/openbmc/linux/drivers/phy/broadcom/
H A 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()
/openbmc/linux/drivers/clk/
H A 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()
/openbmc/linux/drivers/phy/cadence/
H A Dphy-cadence-torrent.c358 enum cdns_torrent_ref_clk ref_clk_rate; member
1310 if (cdns_phy->ref_clk_rate == CLK_19_2_MHZ) in cdns_torrent_dp_configure_rate()
1313 else if (cdns_phy->ref_clk_rate == CLK_25_MHZ) in cdns_torrent_dp_configure_rate()
1316 else if (cdns_phy->ref_clk_rate == CLK_100_MHZ) in cdns_torrent_dp_configure_rate()
1719 if (cdns_phy->ref_clk_rate == CLK_19_2_MHZ) in cdns_torrent_dp_common_init()
1723 else if (cdns_phy->ref_clk_rate == CLK_25_MHZ) in cdns_torrent_dp_common_init()
1727 else if (cdns_phy->ref_clk_rate == CLK_100_MHZ) in cdns_torrent_dp_common_init()
1764 switch (cdns_phy->ref_clk_rate) { in cdns_torrent_dp_init()
1788 if (cdns_phy->ref_clk_rate != CLK_100_MHZ) { in cdns_torrent_dp_multilink_init()
2299 enum cdns_torrent_ref_clk ref_clk = cdns_phy->ref_clk_rate; in cdns_torrent_phy_init()
[all …]