Lines Matching refs:si
239 static inline void *enetc_si_priv(const struct enetc_si *si) in enetc_si_priv() argument
241 return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); in enetc_si_priv()
244 static inline bool enetc_si_is_pf(struct enetc_si *si) in enetc_si_is_pf() argument
246 return !!(si->hw.port); in enetc_si_is_pf()
333 struct enetc_si *si; member
385 void enetc_get_si_caps(struct enetc_si *si);
411 int enetc_set_mac_flt_entry(struct enetc_si *si, int index,
413 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index);
414 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse,
417 int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count);
418 int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count);
419 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd);
421 static inline void *enetc_cbd_alloc_data_mem(struct enetc_si *si, in enetc_cbd_alloc_data_mem() argument
426 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_cbd_alloc_data_mem()
448 static inline void enetc_cbd_free_data_mem(struct enetc_si *si, int size, in enetc_cbd_free_data_mem() argument
451 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_cbd_free_data_mem()
475 struct enetc_hw *hw = &priv->si->hw; in enetc_get_max_cap()
494 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_enable()
512 struct enetc_hw *hw = &priv->si->hw; in enetc_psfp_disable()