Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c38 void (*set_to_rgmii)(struct rk_priv_data *bsp_priv,
40 void (*set_to_rmii)(struct rk_priv_data *bsp_priv);
41 int (*set_speed)(struct rk_priv_data *bsp_priv,
43 void (*set_clock_selection)(struct rk_priv_data *bsp_priv, bool input,
45 void (*integrated_phy_powerup)(struct rk_priv_data *bsp_priv);
46 void (*integrated_phy_powerdown)(struct rk_priv_data *bsp_priv);
94 static int rk_set_reg_speed(struct rk_priv_data *bsp_priv, in rk_set_reg_speed() argument
133 regmap_write(bsp_priv->grf, reg, val); in rk_set_reg_speed()
139 static int rk_set_clk_mac_speed(struct rk_priv_data *bsp_priv, in rk_set_clk_mac_speed() argument
142 struct clk *clk_mac_speed = bsp_priv->clks[RK_CLK_MAC_SPEED].clk; in rk_set_clk_mac_speed()
[all …]
H A Ddwmac-meson.c25 static int meson6_dwmac_set_clk_tx_rate(void *bsp_priv, struct clk *clk_tx_i, in meson6_dwmac_set_clk_tx_rate() argument
28 struct meson_dwmac *dwmac = bsp_priv; in meson6_dwmac_set_clk_tx_rate()
70 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
H A Dstmmac_main.c177 int stmmac_set_clk_tx_rate(void *bsp_priv, struct clk *clk_tx_i, in stmmac_set_clk_tx_rate() argument
936 priv->plat->mac_finish(ndev, priv->plat->bsp_priv, mode, interface); in stmmac_mac_finish()
967 priv->plat->serdes_powerup(priv->dev, priv->plat->bsp_priv); in stmmac_mac_link_up()
1032 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed, mode); in stmmac_mac_link_up()
1055 ret = priv->plat->set_clk_tx_rate(priv->plat->bsp_priv, in stmmac_mac_link_up()
1306 priv->plat->get_interfaces(priv, priv->plat->bsp_priv, in stmmac_phylink_setup()
3166 ret = plat_dat->set_phy_intf_sel(plat_dat->bsp_priv, phy_intf_sel); in stmmac_prereset_configure()
4082 ret = priv->plat->serdes_powerup(dev, priv->plat->bsp_priv); in __stmmac_open()
4192 priv->plat->serdes_powerdown(dev, priv->plat->bsp_priv); in __stmmac_release()
7933 priv->plat->dump_debug_regs(priv->plat->bsp_priv); in __stmmac_dvr_probe()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst451 void *bsp_priv;