Searched refs:clk_ptp (Results 1 – 3 of 3) sorted by relevance
1996 if (fep->clk_ptp) { in fec_enet_clk_enable()1998 ret = clk_prepare_enable(fep->clk_ptp); in fec_enet_clk_enable()2019 if (fep->clk_ptp) { in fec_enet_clk_enable()2021 clk_disable_unprepare(fep->clk_ptp); in fec_enet_clk_enable()2035 if (fep->clk_ptp) { in fec_enet_clk_enable()2037 clk_disable_unprepare(fep->clk_ptp); in fec_enet_clk_enable()3915 fep->clk_ptp = devm_clk_get(&pdev->dev, "ptp"); in fec_probe()3916 if (IS_ERR(fep->clk_ptp)) { in fec_probe()3917 fep->clk_ptp = NULL; in fec_probe()
556 struct clk *clk_ptp; member
600 fep->cycle_speed = clk_get_rate(fep->clk_ptp); in fec_ptp_init()