Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhix5hd2_gmac.c264 struct clk *mac_core_clk; member
831 ret = clk_prepare_enable(priv->mac_core_clk); in hix5hd2_net_open()
839 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_open()
848 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_open()
882 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_close()
1132 priv->mac_core_clk = devm_clk_get(&pdev->dev, "mac_core"); in hix5hd2_dev_probe()
1133 if (IS_ERR(priv->mac_core_clk)) { in hix5hd2_dev_probe()
1139 ret = clk_prepare_enable(priv->mac_core_clk); in hix5hd2_dev_probe()
1260 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_dev_probe()
1278 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_dev_probe()