Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c2276 if (fep->clk_ptp) { in fec_enet_clk_enable()
2278 ret = clk_prepare_enable(fep->clk_ptp); in fec_enet_clk_enable()
2299 if (fep->clk_ptp) { in fec_enet_clk_enable()
2301 clk_disable_unprepare(fep->clk_ptp); in fec_enet_clk_enable()
2315 if (fep->clk_ptp) { in fec_enet_clk_enable()
2317 clk_disable_unprepare(fep->clk_ptp); in fec_enet_clk_enable()
4448 fep->clk_ptp = devm_clk_get(&pdev->dev, "ptp"); in fec_probe()
4449 if (IS_ERR(fep->clk_ptp)) { in fec_probe()
4450 fep->clk_ptp = NULL; in fec_probe()
H A Dfec.h609 struct clk *clk_ptp; member
H A Dfec_ptp.c728 fep->cycle_speed = clk_get_rate(fep->clk_ptp); in fec_ptp_init()