Home
last modified time | relevance | path

Searched refs:enetc_hw (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/include/linux/fsl/
H A Denetc_mdio.h31 struct enetc_hw;
34 struct enetc_hw *hw;
46 struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs);
62 static inline struct enetc_hw *enetc_hw_alloc(struct device *dev, in enetc_hw_alloc()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc4_pf.c16 struct enetc_hw *hw = &pf->si->hw; in enetc4_get_port_caps()
31 static void enetc4_pf_set_si_primary_mac(struct enetc_hw *hw, int si, in enetc4_pf_set_si_primary_mac()
93 struct enetc_hw *hw = &pf->si->hw; in enetc4_default_rings_allocation()
146 struct enetc_hw *hw = &pf->si->hw; in enetc4_set_default_si_vlan_promisc()
158 struct enetc_hw *hw = &pf->si->hw; in enetc4_set_si_msix_num()
177 struct enetc_hw *hw = &pf->si->hw; in enetc4_enable_all_si()
191 struct enetc_hw *hw = &pf->si->hw; in enetc4_configure_port_si()
208 static void enetc4_pf_reset_tc_msdu(struct enetc_hw *hw) in enetc4_pf_reset_tc_msdu()
240 struct enetc_hw *hw = &pf->si->hw; in enetc4_set_default_rss_key()
249 struct enetc_hw *hw = &pf->si->hw; in enetc4_enable_trx()
[all …]
H A Denetc_msg.c6 static void enetc_msg_disable_mr_int(struct enetc_hw *hw) in enetc_msg_disable_mr_int()
13 static void enetc_msg_enable_mr_int(struct enetc_hw *hw) in enetc_msg_enable_mr_int()
34 struct enetc_hw *hw = &pf->si->hw; in enetc_msg_task()
68 struct enetc_hw *hw = &si->hw; in enetc_msg_alloc_mbx()
96 struct enetc_hw *hw = &si->hw; in enetc_msg_free_mbx()
H A Denetc_ethtool.c44 struct enetc_hw *hw = &priv->si->hw; in enetc_get_reglen()
66 struct enetc_hw *hw = &priv->si->hw; in enetc_get_regs()
277 struct enetc_hw *hw = &priv->si->hw; in enetc_get_ethtool_stats()
318 struct enetc_hw *hw = &priv->si->hw; in enetc_get_pause_stats()
405 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_mac_stats()
426 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_ctrl_stats()
448 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rmon_stats()
684 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rxfh()
718 struct enetc_hw *hw = &priv->si->hw; in enetc_set_rxfh()
934 struct enetc_hw *hw = &priv->si->hw; in enetc_get_mm_stats()
[all …]
H A Denetc_pf.c196 struct enetc_hw *hw = &priv->si->hw; in enetc_pf_set_rx_mode()
394 struct enetc_hw *hw = &si->hw; in enetc_port_assign_rfs_entries()
414 struct enetc_hw *hw = &si->hw; in enetc_port_get_caps()
432 struct enetc_hw *hw = &si->hw; in enetc_port_si_configure()
482 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *max_sdu) in enetc_set_ptcmsdur()
496 void enetc_reset_ptcmsdur(struct enetc_hw *hw) in enetc_reset_ptcmsdur()
506 struct enetc_hw *hw = &si->hw; in enetc_configure_port_mac()
553 struct enetc_hw *hw = &pf->si->hw; in enetc_configure_port()
786 struct enetc_hw *hw = &pf->si->hw; in enetc_pl_mac_link_up()
884 struct enetc_hw *hw = &si->hw; in enetc_init_port_rfs_memory()
[all …]
H A Denetc.h272 struct enetc_hw hw;
493 int enetc_setup_cbdr(struct device *dev, struct enetc_hw *hw, int bd_count,
501 void enetc_set_rss_key(struct enetc_hw *hw, const u8 *bytes);
542 void enetc_reset_ptcmsdur(struct enetc_hw *hw);
543 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *queue_max_sdu);
560 struct enetc_hw *hw = &priv->si->hw; in enetc_get_max_cap()
579 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_enable()
597 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_disable()
H A Denetc_pf.h42 void (*set_si_primary_mac)(struct enetc_hw *hw, int si, const u8 *addr);
43 void (*get_si_primary_mac)(struct enetc_hw *hw, int si, u8 *addr);
H A Denetc.c192 struct enetc_hw *hw = &priv->si->hw; in enetc_map_tx_buffs()
1310 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rx_tstamp()
2064 struct enetc_hw *hw = &si->hw; in enetc_get_si_caps()
2400 struct enetc_hw *hw = &si->hw; in enetc_configure_si()
2553 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_bdrs()
2585 struct enetc_hw *hw = &priv->si->hw; in enetc_enable_rx_bdrs()
2594 struct enetc_hw *hw = &priv->si->hw; in enetc_enable_tx_bdrs()
2619 struct enetc_hw *hw = &priv->si->hw; in enetc_disable_rx_bdrs()
2628 struct enetc_hw *hw = &priv->si->hw; in enetc_disable_tx_bdrs()
3529 struct enetc_hw *hw; in enetc_pci_probe()
[all …]
H A Denetc_pf_common.h16 static inline u16 enetc_get_ip_revision(struct enetc_hw *hw) in enetc_get_ip_revision()
H A Denetc_mdio.c220 struct enetc_hw *enetc_hw_alloc(struct device *dev, void __iomem *port_regs) in enetc_hw_alloc()
222 struct enetc_hw *hw; in enetc_hw_alloc()
H A Denetc_qos.c12 static u16 enetc_get_max_gcl_len(struct enetc_hw *hw) in enetc_get_max_gcl_len()
19 struct enetc_hw *hw = &priv->si->hw; in enetc_sched_speed_set()
49 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_taprio()
140 struct enetc_hw *hw = &priv->si->hw; in enetc_reset_taprio()
224 static u32 enetc_get_cbs_enable(struct enetc_hw *hw, u8 tc) in enetc_get_cbs_enable()
229 static u8 enetc_get_cbs_bw(struct enetc_hw *hw, u8 tc) in enetc_get_cbs_bw()
240 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_tc_cbs()
355 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_tc_txtime()
713 static u64 get_ptp_now(struct enetc_hw *hw) in get_ptp_now()
H A Denetc_hw.h384 struct enetc_hw { struct
705 static inline void enetc_load_primary_mac_addr(struct enetc_hw *hw, in enetc_load_primary_mac_addr()
748 static inline void enetc_bdr_enable_rxvlan(struct enetc_hw *hw, int idx, in enetc_bdr_enable_rxvlan()
757 static inline void enetc_bdr_enable_txvlan(struct enetc_hw *hw, int idx, in enetc_bdr_enable_txvlan()
766 static inline void enetc_set_bdr_prio(struct enetc_hw *hw, int bdr_idx, in enetc_set_bdr_prio()
H A Denetc_pf_common.c13 struct enetc_hw *hw = &pf->si->hw; in enetc_set_si_hw_addr()
20 struct enetc_hw *hw = &pf->si->hw; in enetc_get_si_hw_addr()
H A Denetc_pci_mdio.c42 struct enetc_hw *hw; in enetc_pci_mdio_probe()
H A Denetc_cbdr.c6 int enetc_setup_cbdr(struct device *dev, struct enetc_hw *hw, int bd_count, in enetc_setup_cbdr()
H A Denetc_vf.c10 static void enetc_msg_vsi_write_msg(struct enetc_hw *hw, in enetc_msg_vsi_write_msg()
/linux-6.15/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c965 struct enetc_hw *hw; in vsc9959_mdio_bus_alloc()