Lines Matching refs:si

91 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd)  in enetc_send_cmd()  argument
93 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_send_cmd()
134 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) in enetc_clear_mac_flt_entry() argument
144 return enetc_send_cmd(si, &cbd); 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() argument
170 return enetc_send_cmd(si, &cbd); 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() argument
178 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_set_fs_entry()
190 tmp = enetc_cbd_alloc_data_mem(si, &cbd, sizeof(*rfse), in enetc_set_fs_entry()
197 err = enetc_send_cmd(si, &cbd); in enetc_set_fs_entry()
201 enetc_cbd_free_data_mem(si, sizeof(*rfse), tmp, &dma); 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() argument
210 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_cmd_rss_table()
220 tmp = enetc_cbd_alloc_data_mem(si, &cbd, count, in enetc_cmd_rss_table()
233 err = enetc_send_cmd(si, &cbd); in enetc_cmd_rss_table()
241 enetc_cbd_free_data_mem(si, count, tmp, &dma); in enetc_cmd_rss_table()
247 int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count) in enetc_get_rss_table() argument
249 return enetc_cmd_rss_table(si, table, count, true); 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() argument
256 return enetc_cmd_rss_table(si, (u32 *)table, count, false); in enetc_set_rss_table()