Lines Matching refs:enetc_si
235 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);
448 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse,
451 int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count);
452 int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count);
453 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd);
455 static inline void *enetc_cbd_alloc_data_mem(struct enetc_si *si, in enetc_cbd_alloc_data_mem()
482 static inline void enetc_cbd_free_data_mem(struct enetc_si *si, int size, in enetc_cbd_free_data_mem()