Home
last modified time | relevance | path

Searched refs:clk_ptp_ref (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c605 plat->clk_ptp_ref = devm_clk_get(&pdev->dev, "ptp_ref"); in stmmac_probe_config_dt()
606 if (IS_ERR(plat->clk_ptp_ref)) { in stmmac_probe_config_dt()
608 plat->clk_ptp_ref = NULL; in stmmac_probe_config_dt()
611 plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref); in stmmac_probe_config_dt()
798 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_pltfr_noirq_suspend()
823 ret = clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_pltfr_noirq_resume()
H A Ddwmac-intel-plat.c138 rate = clk_get_rate(plat_dat->clk_ptp_ref); in intel_eth_plat_probe()
142 ret = clk_set_rate(plat_dat->clk_ptp_ref, rate); in intel_eth_plat_probe()
H A Dstmmac_main.c815 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_release_ptp()
2771 ret = clk_prepare_enable(priv->plat->clk_ptp_ref); in stmmac_hw_setup()
2850 clk_disable_unprepare(priv->plat->clk_ptp_ref); in stmmac_hw_teardown()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Ddwc_eth_qos.h60 struct clk clk_ptp_ref; member
H A Ddwc_eth_qos.c509 ret = clk_enable(&eqos->clk_ptp_ref); in eqos_start_clks_tegra186()
515 ret = clk_set_rate(&eqos->clk_ptp_ref, 125 * 1000 * 1000); in eqos_start_clks_tegra186()
533 clk_disable(&eqos->clk_ptp_ref); in eqos_start_clks_tegra186()
616 clk_disable(&eqos->clk_ptp_ref); in eqos_stop_clks_tegra186()
1788 ret = clk_get_by_name(dev, "ptp_ref", &eqos->clk_ptp_ref); in eqos_probe_resources_tegra186()
1805 clk_free(&eqos->clk_ptp_ref); in eqos_probe_resources_tegra186()
1971 clk_free(&eqos->clk_ptp_ref); in eqos_remove_resources_tegra186()
/OK3568_Linux_fs/kernel/include/linux/
H A Dstmmac.h195 struct clk *clk_ptp_ref; member
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/
H A Dstmmac.txt42 - clk_ptp_ref: this is the PTP reference clock; in case of the PTP is
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst457 struct clk *clk_ptp_ref;