Searched refs:clk_ptp_ref (Results 1 – 3 of 3) sorted by relevance
122 struct clk *clk_ptp_ref; member
648 priv->clk_ptp_ref = devm_clk_get(priv->device, "clk_ptp_ref"); in stmmac_init_ptp()649 if (IS_ERR(priv->clk_ptp_ref)) { in stmmac_init_ptp()651 priv->clk_ptp_ref = NULL; in stmmac_init_ptp()653 clk_prepare_enable(priv->clk_ptp_ref); in stmmac_init_ptp()654 priv->clk_ptp_rate = clk_get_rate(priv->clk_ptp_ref); in stmmac_init_ptp()676 if (priv->clk_ptp_ref) in stmmac_release_ptp()677 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