Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhix5hd2_gmac.c265 struct clk *mac_ifc_clk; member
837 ret = clk_prepare_enable(priv->mac_ifc_clk); in hix5hd2_net_open()
847 clk_disable_unprepare(priv->mac_ifc_clk); in hix5hd2_net_open()
881 clk_disable_unprepare(priv->mac_ifc_clk); in hix5hd2_net_close()
1145 priv->mac_ifc_clk = devm_clk_get(&pdev->dev, "mac_ifc"); in hix5hd2_dev_probe()
1146 if (IS_ERR(priv->mac_ifc_clk)) in hix5hd2_dev_probe()
1147 priv->mac_ifc_clk = NULL; in hix5hd2_dev_probe()
1149 ret = clk_prepare_enable(priv->mac_ifc_clk); in hix5hd2_dev_probe()
1259 clk_disable_unprepare(priv->mac_ifc_clk); in hix5hd2_dev_probe()
1276 clk_disable_unprepare(priv->mac_ifc_clk); in hix5hd2_dev_probe()