Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h114 struct clk *clk_ptp_ref; member
Dstmmac_main.c645 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()
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dstmmac.txt43 - clk_ptp_ref: this is the PTP reference clock; in case of the PTP is