Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/
Dhix5hd2_gmac.c268 struct clk *mac_core_clk; member
835 ret = clk_prepare_enable(priv->mac_core_clk); in hix5hd2_net_open()
843 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_open()
852 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_open()
886 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_net_close()
1140 priv->mac_core_clk = devm_clk_get(&pdev->dev, "mac_core"); in hix5hd2_dev_probe()
1141 if (IS_ERR(priv->mac_core_clk)) { in hix5hd2_dev_probe()
1147 ret = clk_prepare_enable(priv->mac_core_clk); in hix5hd2_dev_probe()
1272 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_dev_probe()
1290 clk_disable_unprepare(priv->mac_core_clk); in hix5hd2_dev_probe()