Home
last modified time | relevance | path

Searched refs:stmmac_priv (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h64 struct stmmac_priv *priv_data;
102 struct stmmac_priv *priv_data;
123 struct stmmac_priv *priv_data;
191 struct stmmac_priv { struct
213 int (*hwif_quirks)(struct stmmac_priv *priv); argument
336 int stmmac_init_tstamp_counter(struct stmmac_priv *priv, u32 systime_flags); argument
337 void stmmac_ptp_register(struct stmmac_priv *priv);
338 void stmmac_ptp_unregister(struct stmmac_priv *priv);
347 void stmmac_disable_eee_mode(struct stmmac_priv *priv);
348 bool stmmac_eee_init(struct stmmac_priv *priv);
[all …]
Dstmmac_ptp.c24 struct stmmac_priv *priv = in stmmac_adjust_freq()
25 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_freq()
59 struct stmmac_priv *priv = in stmmac_adjust_time()
60 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_time()
135 struct stmmac_priv *priv = in stmmac_get_time()
136 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_get_time()
161 struct stmmac_priv *priv = in stmmac_set_time()
162 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_set_time()
175 struct stmmac_priv *priv = in stmmac_enable()
176 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_enable()
[all …]
Dstmmac_ethtool.c46 offsetof(struct stmmac_priv, xstats.m)}
181 offsetof(struct stmmac_priv, mmc.m)}
287 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getdrvinfo()
306 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_get_link_ksettings()
392 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_set_link_ksettings()
421 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getmsglevel()
427 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_setmsglevel()
441 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_get_regs_len()
453 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_gregs()
474 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_nway_reset()
[all …]
Dstmmac_main.c133 static void stmmac_tx_timer_arm(struct stmmac_priv *priv, u32 queue);
134 static void stmmac_flush_tx_descriptors(struct stmmac_priv *priv, int queue);
135 static void stmmac_set_dma_operation_mode(struct stmmac_priv *priv, u32 txmode,
146 int stmmac_bus_clks_config(struct stmmac_priv *priv, bool enabled) in stmmac_bus_clks_config()
199 static void __stmmac_disable_all_queues(struct stmmac_priv *priv) in __stmmac_disable_all_queues()
226 static void stmmac_disable_all_queues(struct stmmac_priv *priv) in stmmac_disable_all_queues()
248 static void stmmac_enable_all_queues(struct stmmac_priv *priv) in stmmac_enable_all_queues()
271 static void stmmac_service_event_schedule(struct stmmac_priv *priv) in stmmac_service_event_schedule()
278 static void stmmac_global_err(struct stmmac_priv *priv) in stmmac_global_err()
297 static void stmmac_clk_csr_set(struct stmmac_priv *priv) in stmmac_clk_csr_set()
[all …]
Dstmmac_selftests.c59 static struct sk_buff *stmmac_test_get_udp_skb(struct stmmac_priv *priv, in stmmac_test_get_udp_skb()
219 static struct sk_buff *stmmac_test_get_arp_skb(struct stmmac_priv *priv, in stmmac_test_get_arp_skb()
320 static int __stmmac_test_loopback(struct stmmac_priv *priv, in __stmmac_test_loopback()
369 static int stmmac_test_mac_loopback(struct stmmac_priv *priv) in stmmac_test_mac_loopback()
377 static int stmmac_test_phy_loopback(struct stmmac_priv *priv) in stmmac_test_phy_loopback()
396 static int stmmac_test_mmc(struct stmmac_priv *priv) in stmmac_test_mmc()
428 static int stmmac_test_eee(struct stmmac_priv *priv) in stmmac_test_eee()
487 static int stmmac_filter_check(struct stmmac_priv *priv) in stmmac_filter_check()
496 static bool stmmac_hash_check(struct stmmac_priv *priv, unsigned char *addr) in stmmac_hash_check()
518 static bool stmmac_perfect_check(struct stmmac_priv *priv, unsigned char *addr) in stmmac_perfect_check()
[all …]
Dstmmac_tc.c28 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()
219 static int tc_setup_cls_u32(struct stmmac_priv *priv, in tc_setup_cls_u32()
235 static int tc_rfs_init(struct stmmac_priv *priv) in tc_rfs_init()
259 static int tc_init(struct stmmac_priv *priv) in tc_init()
342 static int tc_setup_cbs(struct stmmac_priv *priv, in tc_setup_cbs()
428 static int tc_parse_flow_actions(struct stmmac_priv *priv, in tc_parse_flow_actions()
[all …]
Dhwif.c11 static u32 stmmac_get_id(struct stmmac_priv *priv, u32 id_reg) in stmmac_get_id()
26 static u32 stmmac_get_dev_id(struct stmmac_priv *priv, u32 id_reg) in stmmac_get_dev_id()
38 static void stmmac_dwmac_mode_quirk(struct stmmac_priv *priv) in stmmac_dwmac_mode_quirk()
53 static int stmmac_dwmac1_quirks(struct stmmac_priv *priv) in stmmac_dwmac1_quirks()
78 static int stmmac_dwmac4_quirks(struct stmmac_priv *priv) in stmmac_dwmac4_quirks()
84 static int stmmac_dwxlgmac_quirks(struct stmmac_priv *priv) in stmmac_dwxlgmac_quirks()
104 int (*setup)(struct stmmac_priv *priv);
105 int (*quirks)(struct stmmac_priv *priv);
257 int stmmac_hwif_init(struct stmmac_priv *priv) in stmmac_hwif_init()
Dstmmac_mdio.c48 static int stmmac_xgmac2_c45_format(struct stmmac_priv *priv, int phyaddr, in stmmac_xgmac2_c45_format()
63 static int stmmac_xgmac2_c22_format(struct stmmac_priv *priv, int phyaddr, in stmmac_xgmac2_c22_format()
85 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_xgmac2_mdio_read()
151 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_xgmac2_mdio_write()
221 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_read()
287 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_write()
350 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_reset()
396 struct stmmac_priv *priv; in stmmac_xpcs_setup()
436 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_register()
550 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_unregister()
Dstmmac_xdp.c9 static int stmmac_xdp_enable_pool(struct stmmac_priv *priv, in stmmac_xdp_enable_pool()
58 static int stmmac_xdp_disable_pool(struct stmmac_priv *priv, u16 queue) in stmmac_xdp_disable_pool()
95 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool, in stmmac_xdp_setup_pool()
102 int stmmac_xdp_set_prog(struct stmmac_priv *priv, struct bpf_prog *prog, in stmmac_xdp_set_prog()
Dstmmac_xdp.h10 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool,
12 int stmmac_xdp_set_prog(struct stmmac_priv *priv, struct bpf_prog *prog,
Dcommon.h544 int dwmac100_setup(struct stmmac_priv *priv);
545 int dwmac1000_setup(struct stmmac_priv *priv);
546 int dwmac4_setup(struct stmmac_priv *priv);
547 int dwxgmac2_setup(struct stmmac_priv *priv);
548 int dwxlgmac2_setup(struct stmmac_priv *priv);
Dchain_mode.c21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm()
131 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
147 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
Dring_mode.c21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm()
107 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
123 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
Dstmmac_platform.c711 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_remove()
735 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_suspend()
755 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_resume()
767 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_runtime_suspend()
777 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_runtime_resume()
785 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_noirq_suspend()
806 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_pltfr_noirq_resume()
Ddwmac-socfpga.c233 struct stmmac_priv *priv = netdev_priv(ndev); in socfpga_get_plat_phymode()
387 struct stmmac_priv *stpriv; in socfpga_dwmac_probe()
460 struct stmmac_priv *priv = netdev_priv(ndev); in socfpga_dwmac_resume()
490 struct stmmac_priv *priv = netdev_priv(ndev); in socfpga_dwmac_runtime_suspend()
500 struct stmmac_priv *priv = netdev_priv(ndev); in socfpga_dwmac_runtime_resume()
Ddwmac-intel.c61 static int serdes_status_poll(struct stmmac_priv *priv, int phyaddr, in serdes_status_poll()
80 struct stmmac_priv *priv = netdev_priv(ndev); in intel_serdes_powerup()
167 struct stmmac_priv *priv = netdev_priv(ndev); in intel_serdes_powerdown()
236 struct stmmac_priv *priv = netdev_priv(ndev); in intel_speed_mode_2500()
264 struct stmmac_priv *priv = (struct stmmac_priv *)npriv; in intel_mgbe_ptp_clk_freq_config()
301 static int stmmac_cross_ts_isr(struct stmmac_priv *priv) in stmmac_cross_ts_isr()
312 struct stmmac_priv *priv = (struct stmmac_priv *)ctx; in intel_crosststamp()
1103 struct stmmac_priv *priv = netdev_priv(ndev); in intel_eth_pci_remove()
Ddwmac-sun8i.c565 static int sun8i_dwmac_power_internal_phy(struct stmmac_priv *priv);
734 static int sun8i_dwmac_reset(struct stmmac_priv *priv) in sun8i_dwmac_reset()
756 static int get_ephy_nodes(struct stmmac_priv *priv) in get_ephy_nodes()
802 static int sun8i_dwmac_power_internal_phy(struct stmmac_priv *priv) in sun8i_dwmac_power_internal_phy()
859 struct stmmac_priv *priv = data; in mdio_mux_syscon_switch_fn()
898 static int sun8i_dwmac_register_mdio_mux(struct stmmac_priv *priv) in sun8i_dwmac_register_mdio_mux()
1069 struct stmmac_priv *priv = ppriv; in sun8i_dwmac_setup()
1142 struct stmmac_priv *priv; in sun8i_dwmac_probe()
1288 struct stmmac_priv *priv = netdev_priv(ndev); in sun8i_dwmac_remove()
1307 struct stmmac_priv *priv = netdev_priv(ndev); in sun8i_dwmac_shutdown()
Dhwif.h505 struct stmmac_priv;
518 void (*timestamp_interrupt)(struct stmmac_priv *priv);
572 int (*init)(struct stmmac_priv *priv);
573 int (*setup_cls_u32)(struct stmmac_priv *priv,
575 int (*setup_cbs)(struct stmmac_priv *priv,
577 int (*setup_cls)(struct stmmac_priv *priv,
579 int (*setup_taprio)(struct stmmac_priv *priv,
581 int (*setup_etf)(struct stmmac_priv *priv,
638 int stmmac_hwif_init(struct stmmac_priv *priv);
Dstmmac_platform.h28 struct stmmac_priv *priv = netdev_priv(ndev); in get_stmmac_bsp_priv()
Ddwmac-stm32.c423 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_remove()
470 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_suspend()
486 struct stmmac_priv *priv = netdev_priv(ndev); in stm32_dwmac_resume()
Ddwmac-visconti.c205 struct stmmac_priv *priv = netdev_priv(ndev); in visconti_eth_clock_remove()
265 struct stmmac_priv *priv = netdev_priv(ndev); in visconti_eth_dwmac_remove()
Ddwmac-dwc-qos-eth.c165 struct stmmac_priv *priv = netdev_priv(ndev); in dwc_qos_remove()
476 struct stmmac_priv *priv = netdev_priv(ndev); in dwc_eth_dwmac_remove()
Dstmmac_hwtstamp.c174 static void timestamp_interrupt(struct stmmac_priv *priv) in timestamp_interrupt()
Ddwmac100_core.c179 int dwmac100_setup(struct stmmac_priv *priv) in dwmac100_setup()
Ddwmac1000_core.c27 struct stmmac_priv *priv = netdev_priv(dev); in dwmac1000_core_init()
535 int dwmac1000_setup(struct stmmac_priv *priv) in dwmac1000_setup()

12