Home
last modified time | relevance | path

Searched refs:enetc_hw (Results 1 – 13 of 13) 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_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()
290 struct enetc_hw *hw = &priv->si->hw; in enetc_get_ethtool_stats()
320 static void enetc_pause_stats(struct enetc_hw *hw, int mac, in enetc_pause_stats()
331 struct enetc_hw *hw = &priv->si->hw; in enetc_get_pause_stats()
348 static void enetc_mac_stats(struct enetc_hw *hw, int mac, in enetc_mac_stats()
371 static void enetc_ctrl_stats(struct enetc_hw *hw, int mac, in enetc_ctrl_stats()
389 static void enetc_rmon_stats(struct enetc_hw *hw, int mac, in enetc_rmon_stats()
418 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_mac_stats()
439 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_ctrl_stats()
[all …]
H A Denetc.h237 struct enetc_hw hw;
442 int enetc_setup_cbdr(struct device *dev, struct enetc_hw *hw, int bd_count,
450 void enetc_set_rss_key(struct enetc_hw *hw, const u8 *bytes);
491 void enetc_reset_ptcmsdur(struct enetc_hw *hw);
492 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *queue_max_sdu);
509 struct enetc_hw *hw = &priv->si->hw; in enetc_get_max_cap()
528 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_enable()
546 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_disable()
H A Denetc_pf.c17 static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) in enetc_pf_get_primary_mac_addr()
26 static void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si, in enetc_pf_set_primary_mac_addr()
50 static void enetc_set_vlan_promisc(struct enetc_hw *hw, char si_map) in enetc_set_vlan_promisc()
70 static void enetc_set_isol_vlan(struct enetc_hw *hw, int si, u16 vlan, u8 qos) in enetc_set_isol_vlan()
201 struct enetc_hw *hw = &priv->si->hw; in enetc_pf_set_rx_mode()
258 static void enetc_set_vlan_ht_filter(struct enetc_hw *hw, int si_idx, in enetc_set_vlan_ht_filter()
400 struct enetc_hw *hw = &pf->si->hw; in enetc_setup_mac_address()
449 struct enetc_hw *hw = &si->hw; in enetc_port_assign_rfs_entries()
470 struct enetc_hw *hw = &si->hw; in enetc_port_si_configure()
518 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *max_sdu) in enetc_set_ptcmsdur()
[all …]
H A Denetc.c149 struct enetc_hw *hw = &priv->si->hw; in enetc_map_tx_buffs()
750 static void enetc_get_tx_tstamp(struct enetc_hw *hw, union enetc_tx_bd *txbd, in enetc_get_tx_tstamp()
987 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rx_tstamp()
1731 struct enetc_hw *hw = &si->hw; in enetc_get_si_caps()
2059 struct enetc_hw *hw = &si->hw; in enetc_configure_si()
2118 static void enetc_setup_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_setup_txbdr()
2152 static void enetc_setup_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring, in enetc_setup_rxbdr()
2206 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_bdrs()
2216 static void enetc_enable_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_enable_txbdr()
2226 static void enetc_enable_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_enable_rxbdr()
[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_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.h376 struct enetc_hw { struct
665 static inline void enetc_load_primary_mac_addr(struct enetc_hw *hw, in enetc_load_primary_mac_addr()
708 static inline void enetc_bdr_enable_rxvlan(struct enetc_hw *hw, int idx, in enetc_bdr_enable_rxvlan()
717 static inline void enetc_bdr_enable_txvlan(struct enetc_hw *hw, int idx, in enetc_bdr_enable_txvlan()
726 static inline void enetc_set_bdr_prio(struct enetc_hw *hw, int bdr_idx, in enetc_set_bdr_prio()
H A Denetc_pci_mdio.c18 struct enetc_hw *hw; in enetc_pci_mdio_probe()
H A Denetc_vf.c10 static void enetc_msg_vsi_write_msg(struct enetc_hw *hw, in enetc_msg_vsi_write_msg()
H A Denetc_cbdr.c6 int enetc_setup_cbdr(struct device *dev, struct enetc_hw *hw, int bd_count, in enetc_setup_cbdr()
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c965 struct enetc_hw *hw; in vsc9959_mdio_bus_alloc()