Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c39 void (*set_to_rgmii)(struct rk_priv_data *bsp_priv,
41 void (*set_to_rmii)(struct rk_priv_data *bsp_priv);
42 void (*set_rgmii_speed)(struct rk_priv_data *bsp_priv, int speed);
43 void (*set_rmii_speed)(struct rk_priv_data *bsp_priv, int speed);
44 void (*integrated_phy_powerup)(struct rk_priv_data *bsp_priv);
95 static void px30_set_to_rmii(struct rk_priv_data *bsp_priv) in px30_set_to_rmii() argument
97 struct device *dev = &bsp_priv->pdev->dev; in px30_set_to_rmii()
99 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii()
104 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii()
108 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed() argument
[all …]
Ddwmac-stm32.c64 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32_dwmac_init()
122 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32mp1_set_mode()
162 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32mcu_set_mode()
304 plat_dat->bsp_priv = dwmac; in stm32_dwmac_probe()
330 stm32_dwmac_clk_disable(priv->plat->bsp_priv); in stm32_dwmac_remove()
369 struct stm32_dwmac *dwmac = priv->plat->bsp_priv; in stm32_dwmac_suspend()
385 struct stm32_dwmac *dwmac = priv->plat->bsp_priv; in stm32_dwmac_resume()
Ddwmac-oxnas.c138 plat_dat->bsp_priv = dwmac; in oxnas_dwmac_probe()
156 ret = oxnas_dwmac_init(pdev, plat_dat->bsp_priv); in oxnas_dwmac_probe()
168 oxnas_dwmac_exit(pdev, plat_dat->bsp_priv); in oxnas_dwmac_probe()
Ddwmac-sunxi.c152 plat_dat->bsp_priv = gmac; in sun7i_gmac_probe()
157 ret = sun7i_gmac_init(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe()
168 sun7i_gmac_exit(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe()
Ddwmac-generic.c51 ret = plat_dat->init(pdev, plat_dat->bsp_priv); in dwmac_generic_probe()
64 plat_dat->exit(pdev, plat_dat->bsp_priv); in dwmac_generic_probe()
Ddwmac-sun8i.c706 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in get_ephy_nodes()
744 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_power_internal_phy()
801 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in mdio_mux_syscon_switch_fn()
845 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_register_mdio_mux()
858 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_set_syscon()
1150 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe()
1155 ret = sun8i_dwmac_init(pdev, plat_dat->bsp_priv); in sun8i_dwmac_probe()
1187 sun8i_dwmac_exit(pdev, plat_dat->bsp_priv); in sun8i_dwmac_probe()
Dstmmac_platform.h40 return priv->plat->bsp_priv; in get_stmmac_bsp_priv()
Ddwmac-meson.c79 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
Ddwmac-socfpga.c343 plat_dat->bsp_priv = dwmac; in socfpga_dwmac_probe()
379 socfpga_dwmac_set_phy_mode(priv->plat->bsp_priv); in socfpga_dwmac_resume()
Dstmmac_platform.c668 plat->exit(pdev, plat->bsp_priv); in stmmac_pltfr_remove()
693 priv->plat->exit(pdev, priv->plat->bsp_priv); in stmmac_pltfr_suspend()
712 priv->plat->init(pdev, priv->plat->bsp_priv); in stmmac_pltfr_resume()
Ddwmac-anarion.c122 plat_dat->bsp_priv = gmac; in anarion_dwmac_probe()
Ddwmac-ipq806x.c338 plat_dat->bsp_priv = gmac; in ipq806x_gmac_probe()
Ddwmac-meson8b.c373 plat_dat->bsp_priv = dwmac; in meson8b_dwmac_probe()
Ddwmac-sti.c345 plat_dat->bsp_priv = dwmac; in sti_dwmac_probe()
Dstmmac_mdio.c291 data->phy_reset(priv->plat->bsp_priv); in stmmac_mdio_reset()
Ddwmac-dwc-qos-eth.c362 data->bsp_priv = eqos; in tegra_eqos_probe()
Dstmmac_main.c336 priv->plat->fix_mac_speed(priv->plat->bsp_priv, phydev->speed); in stmmac_hw_fix_mac_speed()
/Linux-v4.19/include/linux/
Dstmmac.h182 void *bsp_priv; member
/Linux-v4.19/Documentation/networking/
Dstmmac.txt139 void *bsp_priv;
186 o bsp_priv: another private pointer.