Home
last modified time | relevance | path

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

/linux/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/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c15 static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) in enetc_pf_get_primary_mac_addr()
24 static void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si, in enetc_pf_set_primary_mac_addr()
45 static void enetc_set_isol_vlan(struct enetc_hw *hw, int si, u16 vlan, u8 qos) in enetc_set_isol_vlan()
255 struct enetc_hw *hw = &si->hw; in enetc_port_assign_rfs_entries()
275 struct enetc_hw *hw = &si->hw; in enetc_port_get_caps()
293 struct enetc_hw *hw = &si->hw; in enetc_port_si_configure()
343 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *max_sdu) in enetc_set_ptcmsdur()
357 void enetc_reset_ptcmsdur(struct enetc_hw *hw) in enetc_reset_ptcmsdur()
367 struct enetc_hw *hw = &si->hw; in enetc_configure_port_mac()
413 struct enetc_hw *h in enetc_configure_port()
[all...]
H A Denetc4_pf.c17 struct enetc_hw *hw = &pf->si->hw;
30 struct enetc_hw *hw = &si->hw; in enetc4_get_port_caps()
38 static void enetc4_pf_set_si_primary_mac(struct enetc_hw *hw, int si, in enetc4_get_psi_hw_features()
53 static void enetc4_pf_get_si_primary_mac(struct enetc_hw *hw, int si, in enetc4_pf_set_si_primary_mac()
274 struct enetc_hw *hw = &pf->si->hw; in enetc4_default_rings_allocation()
321 struct enetc_hw *hw = &pf->si->hw; in enetc4_set_si_msix_num()
379 struct enetc_hw *hw = &pf->si->hw; in enetc4_configure_port_si()
393 struct enetc_hw *hw = &pf->si->hw; in enetc4_pf_reset_tc_msdu()
412 static void enetc4_pf_reset_tc_msdu(struct enetc_hw *hw) in enetc4_set_trx_frame_size()
443 struct enetc_hw *h in enetc4_ntmp_bitmap_free()
[all...]
H A Denetc_ethtool.c47 struct enetc_hw *hw = &priv->si->hw; in enetc_get_reglen()
69 struct enetc_hw *hw = &priv->si->hw; in enetc_get_regs()
360 struct enetc_hw *hw = &si->hw; in enetc_pf_get_ethtool_stats()
378 struct enetc_hw *hw = &si->hw; in enetc4_pf_get_ethtool_stats()
402 struct enetc_hw *hw = &si->hw; in enetc_get_ethtool_stats()
438 struct enetc_hw *hw = &si->hw; in enetc_pause_stats()
474 static void enetc_mac_stats(struct enetc_hw *hw, int mac, in enetc_mac_stats()
497 static void enetc4_mac_stats(struct enetc_hw *hw, int mac, in enetc4_mac_stats()
522 struct enetc_hw *hw = &si->hw; in enetc_ctrl_stats()
549 static void enetc_rmon_stats(struct enetc_hw *h
[all...]
H A Denetc_pf_common.c12 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()
92 struct enetc_hw *hw = &si->hw; in enetc_set_si_uc_promisc()
114 struct enetc_hw *hw = &si->hw; in enetc_set_si_mc_promisc()
137 struct enetc_hw *hw = &si->hw; in enetc_set_si_uc_hash_filter()
171 struct enetc_hw *hw = &si->hw; in enetc_set_si_mc_hash_filter()
182 struct enetc_hw *hw = &si->hw; in enetc_set_si_vlan_promisc()
194 struct enetc_hw *hw = &si->hw;
535 struct enetc_hw *hw = &si->hw; in enetc_vlan_rx_add_vid()
H A Denetc_pf.h38 void (*set_si_primary_mac)(struct enetc_hw *hw, int si, const u8 *addr);
39 void (*get_si_primary_mac)(struct enetc_hw *hw, int si, u8 *addr);
H A Denetc4_debugfs.c37 struct enetc_hw *hw = &pf->si->hw; in enetc_mac_filter_show()
56 struct enetc_hw *hw = &pf->si->hw; in enetc_mac_filter_show()
H A Denetc.h17 #include "enetc_hw.h"
312 struct enetc_hw hw;
610 void enetc_reset_ptcmsdur(struct enetc_hw *hw); in enetc_ptp_clock_is_enabled()
611 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *queue_max_sdu);
636 struct enetc_hw *hw = &priv->si->hw; in enetc_get_max_cap()
655 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_enable()
673 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_disable()
H A Denetc.c87 struct enetc_hw *hw = &si->hw; in enetc_set_congestion_mode()
289 struct enetc_hw *hw = &si->hw; in enetc_update_ptp_sync_msg()
1177 static void enetc_get_tx_tstamp(struct enetc_hw *hw, union enetc_tx_bd *txbd, in enetc_reuse_page()
1417 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rx_tstamp()
1449 struct enetc_hw *hw = &priv->si->hw; in enetc_get_offloads()
2193 struct enetc_hw *hw = &si->hw;
2518 static void enetc_set_lso_flags_mask(struct enetc_hw *hw) in enetc_setup_default_rss_table()
2529 struct enetc_hw *hw = &priv->si->hw; in enetc_set_rss()
2543 struct enetc_hw *hw = &si->hw; in enetc_configure_si()
2610 static void enetc_setup_txbdr(struct enetc_hw *h in enetc_free_si_resources()
[all...]
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_hw.h423 struct enetc_hw {
745 static inline void enetc_get_primary_mac_addr(struct enetc_hw *hw, u8 *addr)
757 static inline void enetc_load_primary_mac_addr(struct enetc_hw *hw,
799 static inline void enetc_bdr_enable_rxvlan(struct enetc_hw *hw, int idx, in enetc_set_bdr_prio()
808 static inline void enetc_bdr_enable_txvlan(struct enetc_hw *hw, int idx,
817 static inline void enetc_set_bdr_prio(struct enetc_hw *hw, int bdr_idx,
397 struct enetc_hw { global() struct
399 regenetc_hw global() argument
401 portenetc_hw global() argument
403 globalenetc_hw global() argument
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_pf_common.h30 static inline u16 enetc_get_ip_revision(struct enetc_hw *hw)
H A Denetc_vf.c33 static void enetc_msg_vsi_write_msg(struct enetc_hw *hw, in enetc_msg_vsi_write_msg()
589 struct enetc_hw *hw = &si->hw;
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c966 struct enetc_hw *hw; in vsc9959_mdio_bus_alloc()