Searched refs:clk_ptp_ref (Results 1 – 3 of 3) sorted by relevance
114 struct clk *clk_ptp_ref; member
645 priv->clk_ptp_ref = devm_clk_get(priv->device, "clk_ptp_ref"); in stmmac_init_ptp()646 if (IS_ERR(priv->clk_ptp_ref)) { in stmmac_init_ptp()648 priv->clk_ptp_ref = NULL; in stmmac_init_ptp()650 clk_prepare_enable(priv->clk_ptp_ref); in stmmac_init_ptp()651 priv->clk_ptp_rate = clk_get_rate(priv->clk_ptp_ref); in stmmac_init_ptp()673 if (priv->clk_ptp_ref) in stmmac_release_ptp()674 clk_disable_unprepare(priv->clk_ptp_ref); in stmmac_release_ptp()
43 - clk_ptp_ref: this is the PTP reference clock; in case of the PTP is