Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c55 struct clk *clk_mac_speed; member
104 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()
/Linux-v5.4/arch/arm64/boot/dts/rockchip/
Dpx30.dtsi754 "pclk_mac", "clk_mac_speed";