/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-rk.c | 30 void (*set_to_rgmii)(struct rk_priv_data *bsp_priv, 32 void (*set_to_rmii)(struct rk_priv_data *bsp_priv); 33 void (*set_rgmii_speed)(struct rk_priv_data *bsp_priv, int speed); 34 void (*set_rmii_speed)(struct rk_priv_data *bsp_priv, int speed); 35 void (*set_clock_selection)(struct rk_priv_data *bsp_priv, bool input, 37 void (*integrated_phy_powerup)(struct rk_priv_data *bsp_priv); 92 static void px30_set_to_rmii(struct rk_priv_data *bsp_priv) in px30_set_to_rmii() argument 94 struct device *dev = &bsp_priv->pdev->dev; in px30_set_to_rmii() 96 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii() 101 regmap_write(bsp_priv->grf, PX30_GRF_GMAC_CON1, in px30_set_to_rmii() [all …]
|
D | dwmac-ingenic.c | 76 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init() 90 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode() 132 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1000_mac_set_mode() 150 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1600_mac_set_mode() 170 struct ingenic_mac *mac = plat_dat->bsp_priv; in x1830_mac_set_mode() 191 struct ingenic_mac *mac = plat_dat->bsp_priv; in x2000_mac_set_mode() 295 plat_dat->bsp_priv = mac; in ingenic_mac_probe()
|
D | dwmac-stm32.c | 112 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32_dwmac_init() 169 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32mp1_set_mode() 230 struct stm32_dwmac *dwmac = plat_dat->bsp_priv; in stm32mcu_set_mode() 400 plat_dat->bsp_priv = dwmac; in stm32_dwmac_probe() 425 struct stm32_dwmac *dwmac = priv->plat->bsp_priv; in stm32_dwmac_remove() 427 stm32_dwmac_clk_disable(priv->plat->bsp_priv); in stm32_dwmac_remove() 471 struct stm32_dwmac *dwmac = priv->plat->bsp_priv; in stm32_dwmac_suspend() 487 struct stm32_dwmac *dwmac = priv->plat->bsp_priv; in stm32_dwmac_resume()
|
D | dwmac-sunxi.c | 149 plat_dat->bsp_priv = gmac; in sun7i_gmac_probe() 156 ret = sun7i_gmac_init(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe() 167 sun7i_gmac_exit(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe()
|
D | dwmac-generic.c | 51 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()
|
D | dwmac-oxnas.c | 174 plat_dat->bsp_priv = dwmac; in oxnas_dwmac_probe() 192 ret = oxnas_dwmac_init(pdev, plat_dat->bsp_priv); in oxnas_dwmac_probe() 204 oxnas_dwmac_exit(pdev, plat_dat->bsp_priv); in oxnas_dwmac_probe()
|
D | dwmac-imx.c | 55 struct imx_priv_data *dwmac = plat_dat->bsp_priv; in imx8mp_set_intf_mode() 259 plat_dat->bsp_priv = dwmac; in imx_dwmac_probe() 277 imx_dwmac_exit(pdev, plat_dat->bsp_priv); in imx_dwmac_probe()
|
D | dwmac-sun8i.c | 758 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in get_ephy_nodes() 804 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_power_internal_phy() 860 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in mdio_mux_syscon_switch_fn() 902 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_register_mdio_mux() 917 struct sunxi_priv_data *gmac = plat->bsp_priv; in sun8i_dwmac_set_syscon() 1219 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe() 1230 ret = sun8i_dwmac_init(pdev, plat_dat->bsp_priv); in sun8i_dwmac_probe() 1289 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_remove() 1308 struct sunxi_priv_data *gmac = priv->plat->bsp_priv; in sun8i_dwmac_shutdown()
|
D | dwmac-visconti.c | 143 struct visconti_eth *dwmac = plat_dat->bsp_priv; in visconti_eth_init_hw() 184 struct visconti_eth *dwmac = plat_dat->bsp_priv; in visconti_eth_clock_probe() 237 plat_dat->bsp_priv = dwmac; in visconti_eth_dwmac_probe()
|
D | stmmac_platform.h | 30 return priv->plat->bsp_priv; in get_stmmac_bsp_priv()
|
D | dwmac-meson.c | 71 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
|
D | dwmac-intel.c | 267 intel_priv = (struct intel_priv_data *)priv->plat->bsp_priv; in intel_mgbe_ptp_clk_freq_config() 325 intel_priv = priv->plat->bsp_priv; in intel_crosststamp() 683 struct intel_priv_data *intel_priv = plat->bsp_priv; in ehl_pse0_common_data() 724 struct intel_priv_data *intel_priv = plat->bsp_priv; in ehl_pse1_common_data() 1076 plat->bsp_priv = intel_priv; in intel_eth_pci_probe()
|
D | stmmac_platform.c | 717 plat->exit(pdev, plat->bsp_priv); in stmmac_pltfr_remove() 741 priv->plat->exit(pdev, priv->plat->bsp_priv); in stmmac_pltfr_suspend() 760 priv->plat->init(pdev, priv->plat->bsp_priv); in stmmac_pltfr_resume()
|
D | dwmac-anarion.c | 125 plat_dat->bsp_priv = gmac; in anarion_dwmac_probe()
|
D | dwmac-socfpga.c | 426 plat_dat->bsp_priv = dwmac; in socfpga_dwmac_probe() 463 dwmac_priv->ops->set_phy_mode(priv->plat->bsp_priv); in socfpga_dwmac_resume()
|
D | dwmac-intel-plat.c | 148 plat_dat->bsp_priv = dwmac; in intel_eth_plat_probe()
|
D | dwmac-sti.c | 346 plat_dat->bsp_priv = dwmac; in sti_dwmac_probe()
|
D | dwmac-meson8b.c | 482 plat_dat->bsp_priv = dwmac; in meson8b_dwmac_probe()
|
D | dwmac-ipq806x.c | 470 plat_dat->bsp_priv = gmac; in ipq806x_gmac_probe()
|
D | dwmac-dwc-qos-eth.c | 363 data->bsp_priv = eqos; in tegra_eqos_probe()
|
D | dwmac-qcom-ethqos.c | 557 plat_dat->bsp_priv = ethqos; in qcom_ethqos_probe()
|
D | stmmac_main.c | 163 ret = priv->plat->clks_config(priv->plat->bsp_priv, enabled); in stmmac_bus_clks_config() 174 priv->plat->clks_config(priv->plat->bsp_priv, enabled); in stmmac_bus_clks_config() 1056 priv->plat->fix_mac_speed(priv->plat->bsp_priv, speed); in stmmac_mac_link_up() 3814 ret = priv->plat->serdes_powerup(dev, priv->plat->bsp_priv); in __stmmac_open() 3927 priv->plat->serdes_powerdown(dev, priv->plat->bsp_priv); in stmmac_release() 7282 priv->plat->speed_mode_2500(ndev, priv->plat->bsp_priv); in stmmac_dvr_probe() 7308 priv->plat->dump_debug_regs(priv->plat->bsp_priv); in stmmac_dvr_probe() 7358 priv->plat->serdes_powerdown(ndev, priv->plat->bsp_priv); in stmmac_dvr_remove() 7415 priv->plat->serdes_powerdown(ndev, priv->plat->bsp_priv); in stmmac_suspend() 7524 priv->plat->bsp_priv); in stmmac_resume()
|
D | dwmac-mediatek.c | 619 plat->bsp_priv = priv_plat; in mediatek_dwmac_common_data()
|
/Linux-v6.1/include/linux/ |
D | stmmac.h | 237 void *bsp_priv; member
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/stmicro/ |
D | stmmac.rst | 451 void *bsp_priv;
|