Home
last modified time | relevance | path

Searched refs:enetc_si (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h238 struct enetc_si { struct
257 static inline void *enetc_si_priv(const struct enetc_si *si) in enetc_si_priv() argument
259 return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); in enetc_si_priv()
262 static inline bool enetc_si_is_pf(struct enetc_si *si) in enetc_si_is_pf()
352 struct enetc_si *si;
413 u32 enetc_port_mac_rd(struct enetc_si *si, u32 reg);
414 void enetc_port_mac_wr(struct enetc_si *si, u32 reg, u32 val);
419 void enetc_get_si_caps(struct enetc_si *si);
448 int enetc_set_mac_flt_entry(struct enetc_si *si, int index,
450 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index);
[all …]
H A Denetc_msg.c22 struct enetc_si *si = (struct enetc_si *)data; in enetc_msg_psi_msix()
64 static int enetc_msg_alloc_mbx(struct enetc_si *si, int idx) in enetc_msg_alloc_mbx()
93 static void enetc_msg_free_mbx(struct enetc_si *si, int idx) in enetc_msg_free_mbx()
109 struct enetc_si *si = pf->si; in enetc_msg_psi_init()
151 struct enetc_si *si = pf->si; in enetc_msg_psi_free()
H A Denetc_cbdr.c91 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd) in enetc_send_cmd()
134 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) in enetc_clear_mac_flt_entry()
148 int enetc_set_mac_flt_entry(struct enetc_si *si, int index, in enetc_set_mac_flt_entry()
175 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, in enetc_set_fs_entry()
207 static int enetc_cmd_rss_table(struct enetc_si *si, u32 *table, int count, in enetc_cmd_rss_table()
247 int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count) in enetc_get_rss_table()
254 int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count) in enetc_set_rss_table()
H A Denetc_pf.c122 static void enetc_clear_mac_ht_flt(struct enetc_si *si, int si_idx, int type) in enetc_clear_mac_ht_flt()
135 static void enetc_set_mac_ht_flt(struct enetc_si *si, int si_idx, int type, in enetc_set_mac_ht_flt()
156 struct enetc_si *si = pf->si; in enetc_sync_mac_filters()
322 struct enetc_si *si = priv->si; in enetc_set_loopback()
446 static void enetc_port_assign_rfs_entries(struct enetc_si *si) in enetc_port_assign_rfs_entries()
467 static void enetc_port_si_configure(struct enetc_si *si) in enetc_port_si_configure()
540 static void enetc_configure_port_mac(struct enetc_si *si) in enetc_configure_port_mac()
559 static void enetc_mac_config(struct enetc_si *si, phy_interface_t phy_mode) in enetc_mac_config()
576 static void enetc_mac_enable(struct enetc_si *si, bool en) in enetc_mac_enable()
662 struct enetc_si *si = pci_get_drvdata(pdev); in enetc_sriov_configure()
[all …]
H A Denetc_vf.c20 static int enetc_msg_vsi_send(struct enetc_si *si, struct enetc_msg_swbd *msg) in enetc_msg_vsi_send()
126 static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev, in enetc_vf_netdev_setup()
166 struct enetc_si *si; in enetc_vf_probe()
239 struct enetc_si *si = pci_get_drvdata(pdev); in enetc_vf_remove()
H A Denetc_ethtool.c332 struct enetc_si *si = priv->si; in enetc_get_pause_stats()
419 struct enetc_si *si = priv->si; in enetc_get_eth_mac_stats()
440 struct enetc_si *si = priv->si; in enetc_get_eth_ctrl_stats()
462 struct enetc_si *si = priv->si; in enetc_get_rmon_stats()
516 static int enetc_set_cls_entry(struct enetc_si *si, in enetc_set_cls_entry()
942 struct enetc_si *si = priv->si; in enetc_get_mm_stats()
958 struct enetc_si *si = priv->si; in enetc_get_mm()
1073 static void enetc_restart_emac_rx(struct enetc_si *si) in enetc_restart_emac_rx()
1088 struct enetc_si *si = priv->si; in enetc_set_mm()
H A Denetc_pf.h32 struct enetc_si *si;
H A Denetc.c14 u32 enetc_port_mac_rd(struct enetc_si *si, u32 reg) in enetc_port_mac_rd()
20 void enetc_port_mac_wr(struct enetc_si *si, u32 reg, u32 val) in enetc_port_mac_wr()
1735 void enetc_get_si_caps(struct enetc_si *si) in enetc_get_si_caps()
2042 static int enetc_setup_default_rss_table(struct enetc_si *si, int num_groups) in enetc_setup_default_rss_table()
2064 struct enetc_si *si = priv->si; in enetc_configure_si()
2087 struct enetc_si *si = priv->si; in enetc_init_si_rings_params()
2107 struct enetc_si *si = priv->si; in enetc_alloc_si_resources()
3149 static void enetc_kfree_si(struct enetc_si *si) in enetc_kfree_si()
3156 static void enetc_detect_errata(struct enetc_si *si) in enetc_detect_errata()
3164 struct enetc_si *si, *p; in enetc_pci_probe()
[all …]
H A Denetc_qos.c1668 struct enetc_si *si = priv->si; in enetc_qos_query_caps()