Searched refs:clk_mac_speed (Results 1 – 2 of 2) sorted by relevance
55 struct clk *clk_mac_speed; member104 if (IS_ERR(bsp_priv->clk_mac_speed)) { in px30_set_rmii_speed()113 ret = clk_set_rate(bsp_priv->clk_mac_speed, 2500000); in px30_set_rmii_speed()121 ret = clk_set_rate(bsp_priv->clk_mac_speed, 25000000); in px30_set_rmii_speed()1095 bsp_priv->clk_mac_speed = devm_clk_get(dev, "clk_mac_speed"); in rk_gmac_clk_init()1096 if (IS_ERR(bsp_priv->clk_mac_speed)) in rk_gmac_clk_init()1151 if (!IS_ERR(bsp_priv->clk_mac_speed)) in gmac_clk_enable()1152 clk_prepare_enable(bsp_priv->clk_mac_speed); in gmac_clk_enable()1179 clk_disable_unprepare(bsp_priv->clk_mac_speed); in gmac_clk_enable()
754 "pclk_mac", "clk_mac_speed";