/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 33 struct stmmac_priv *priv = in stmmac_adjust_freq() 34 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_freq() 68 struct stmmac_priv *priv = in stmmac_adjust_time() 69 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_time() 105 struct stmmac_priv *priv = in stmmac_get_time() 106 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_get_time() 131 struct stmmac_priv *priv = in stmmac_set_time() 132 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_set_time() 145 struct stmmac_priv *priv = in stmmac_enable() 146 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_enable() [all …]
|
D | stmmac.h | 54 struct stmmac_priv *priv_data; 68 struct stmmac_priv *priv_data; 82 struct stmmac_priv *priv_data; 119 struct stmmac_priv { struct 138 int (*hwif_quirks)(struct stmmac_priv *priv); argument 220 void stmmac_ptp_register(struct stmmac_priv *priv); argument 221 void stmmac_ptp_unregister(struct stmmac_priv *priv); 228 void stmmac_disable_eee_mode(struct stmmac_priv *priv); 229 bool stmmac_eee_init(struct stmmac_priv *priv);
|
D | stmmac_main.c | 148 static void stmmac_disable_all_queues(struct stmmac_priv *priv) in stmmac_disable_all_queues() 166 static void stmmac_enable_all_queues(struct stmmac_priv *priv) in stmmac_enable_all_queues() 184 static void stmmac_stop_all_queues(struct stmmac_priv *priv) in stmmac_stop_all_queues() 197 static void stmmac_start_all_queues(struct stmmac_priv *priv) in stmmac_start_all_queues() 206 static void stmmac_service_event_schedule(struct stmmac_priv *priv) in stmmac_service_event_schedule() 213 static void stmmac_global_err(struct stmmac_priv *priv) in stmmac_global_err() 232 static void stmmac_clk_csr_set(struct stmmac_priv *priv) in stmmac_clk_csr_set() 293 static inline u32 stmmac_tx_avail(struct stmmac_priv *priv, u32 queue) in stmmac_tx_avail() 311 static inline u32 stmmac_rx_dirty(struct stmmac_priv *priv, u32 queue) in stmmac_rx_dirty() 330 static inline void stmmac_hw_fix_mac_speed(struct stmmac_priv *priv) in stmmac_hw_fix_mac_speed() [all …]
|
D | stmmac_ethtool.c | 46 offsetof(struct stmmac_priv, xstats.m)} 174 offsetof(struct stmmac_priv, mmc.m)} 262 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getdrvinfo() 276 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_get_link_ksettings() 374 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_set_link_ksettings() 407 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getmsglevel() 413 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_setmsglevel() 435 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_gregs() 450 struct stmmac_priv *priv = netdev_priv(netdev); in stmmac_get_pauseparam() 479 struct stmmac_priv *priv = netdev_priv(netdev); in stmmac_set_pauseparam() [all …]
|
D | hwif.c | 11 static u32 stmmac_get_id(struct stmmac_priv *priv, u32 id_reg) in stmmac_get_id() 26 static void stmmac_dwmac_mode_quirk(struct stmmac_priv *priv) in stmmac_dwmac_mode_quirk() 41 static int stmmac_dwmac1_quirks(struct stmmac_priv *priv) in stmmac_dwmac1_quirks() 66 static int stmmac_dwmac4_quirks(struct stmmac_priv *priv) in stmmac_dwmac4_quirks() 84 int (*setup)(struct stmmac_priv *priv); 85 int (*quirks)(struct stmmac_priv *priv); 210 int stmmac_hwif_init(struct stmmac_priv *priv) in stmmac_hwif_init()
|
D | stmmac_tc.c | 28 static struct stmmac_tc_entry *tc_find_entry(struct stmmac_priv *priv, in tc_find_entry() 91 static int tc_fill_entry(struct stmmac_priv *priv, in tc_fill_entry() 171 static void tc_unfill_entry(struct stmmac_priv *priv, in tc_unfill_entry() 188 static int tc_config_knode(struct stmmac_priv *priv, in tc_config_knode() 209 static int tc_delete_knode(struct stmmac_priv *priv, in tc_delete_knode() 225 static int tc_setup_cls_u32(struct stmmac_priv *priv, in tc_setup_cls_u32() 241 static int tc_init(struct stmmac_priv *priv) in tc_init() 291 static int tc_setup_cbs(struct stmmac_priv *priv, in tc_setup_cbs()
|
D | stmmac_mdio.c | 52 static int stmmac_xgmac2_c22_format(struct stmmac_priv *priv, int phyaddr, in stmmac_xgmac2_c22_format() 79 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_xgmac2_mdio_read() 119 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_xgmac2_mdio_write() 165 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_read() 208 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_write() 248 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_reset() 314 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_register() 423 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_unregister()
|
D | ring_mode.c | 31 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 114 struct stmmac_priv *priv = (struct stmmac_priv *)priv_ptr; in refill_desc3() 130 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
|
D | common.h | 443 int dwmac100_setup(struct stmmac_priv *priv); 444 int dwmac1000_setup(struct stmmac_priv *priv); 445 int dwmac4_setup(struct stmmac_priv *priv); 446 int dwxgmac2_setup(struct stmmac_priv *priv);
|
D | chain_mode.c | 31 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 141 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3() 157 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
|
D | dwmac-sun8i.c | 682 static int sun8i_dwmac_reset(struct stmmac_priv *priv) in sun8i_dwmac_reset() 704 static int get_ephy_nodes(struct stmmac_priv *priv) in get_ephy_nodes() 742 static int sun8i_dwmac_power_internal_phy(struct stmmac_priv *priv) in sun8i_dwmac_power_internal_phy() 800 struct stmmac_priv *priv = data; in mdio_mux_syscon_switch_fn() 841 static int sun8i_dwmac_register_mdio_mux(struct stmmac_priv *priv) in sun8i_dwmac_register_mdio_mux() 856 static int sun8i_dwmac_set_syscon(struct stmmac_priv *priv) in sun8i_dwmac_set_syscon() 995 struct stmmac_priv *priv = ppriv; in sun8i_dwmac_setup() 1070 struct stmmac_priv *priv; in sun8i_dwmac_probe()
|
D | stmmac_platform.h | 38 struct stmmac_priv *priv = netdev_priv(ndev); in get_stmmac_bsp_priv()
|
D | dwmac-stm32.c | 327 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_remove() 368 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_suspend() 384 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_resume()
|
D | hwif.h | 448 struct stmmac_priv; 453 int (*init)(struct stmmac_priv *priv); 454 int (*setup_cls_u32)(struct stmmac_priv *priv, 456 int (*setup_cbs)(struct stmmac_priv *priv, 489 int stmmac_hwif_init(struct stmmac_priv *priv);
|
D | dwmac-socfpga.c | 312 struct stmmac_priv *stpriv; in socfpga_dwmac_probe() 377 struct stmmac_priv *priv = netdev_priv(ndev); in socfpga_dwmac_resume()
|
D | stmmac_platform.c | 663 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_remove() 688 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_suspend() 708 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_resume()
|
D | dwmac-dwc-qos-eth.c | 170 struct stmmac_priv *priv = netdev_priv(ndev); in dwc_qos_remove() 483 struct stmmac_priv *priv = netdev_priv(ndev); in dwc_eth_dwmac_remove()
|
D | dwmac100_core.c | 176 int dwmac100_setup(struct stmmac_priv *priv) in dwmac100_setup()
|
D | dwxgmac2_core.c | 338 int dwxgmac2_setup(struct stmmac_priv *priv) in dwxgmac2_setup()
|
D | dwmac1000_core.c | 523 int dwmac1000_setup(struct stmmac_priv *priv) in dwmac1000_setup()
|
D | dwmac4_core.c | 802 int dwmac4_setup(struct stmmac_priv *priv) in dwmac4_setup()
|