Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.h235 struct enetc_si { struct
254 static inline void *enetc_si_priv(const struct enetc_si *si) in enetc_si_priv() argument
256 return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); in enetc_si_priv()
259 static inline bool enetc_si_is_pf(struct enetc_si *si) in enetc_si_is_pf()
349 struct enetc_si *si;
410 u32 enetc_port_mac_rd(struct enetc_si *si, u32 reg);
411 void enetc_port_mac_wr(struct enetc_si *si, u32 reg, u32 val);
416 void enetc_get_si_caps(struct enetc_si *si);
445 int enetc_set_mac_flt_entry(struct enetc_si *si, int index,
447 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index);
[all …]
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()
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()
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 …]
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()
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()
943 struct enetc_si *si = priv->si; in enetc_get_mm_stats()
959 struct enetc_si *si = priv->si; in enetc_get_mm()
1074 static void enetc_restart_emac_rx(struct enetc_si *si) in enetc_restart_emac_rx()
1089 struct enetc_si *si = priv->si; in enetc_set_mm()
Denetc_pf.h32 struct enetc_si *si;
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()
1729 void enetc_get_si_caps(struct enetc_si *si) in enetc_get_si_caps()
2036 static int enetc_setup_default_rss_table(struct enetc_si *si, int num_groups) in enetc_setup_default_rss_table()
2058 struct enetc_si *si = priv->si; in enetc_configure_si()
2081 struct enetc_si *si = priv->si; in enetc_init_si_rings_params()
2101 struct enetc_si *si = priv->si; in enetc_alloc_si_resources()
3142 static void enetc_kfree_si(struct enetc_si *si) in enetc_kfree_si()
3149 static void enetc_detect_errata(struct enetc_si *si) in enetc_detect_errata()
3157 struct enetc_si *si, *p; in enetc_pci_probe()
[all …]
Denetc_qos.c1668 struct enetc_si *si = priv->si; in enetc_qos_query_caps()