Lines Matching refs:u16

24 			   u16 *events_pending);
27 void *buff, /* can be NULL */ u16 buff_size,
33 u16 buff_size,
38 void *buff, /* can be NULL */ u16 buff_size,
45 u16 buff_size,
52 void *desc, void *buffer, u16 buf_len);
58 int i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 seid,
59 bool pf_lut, u8 *lut, u16 lut_size);
60 int i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 seid,
61 bool pf_lut, u8 *lut, u16 lut_size);
63 u16 seid,
66 u16 seid,
72 u16 led_addr, u32 mode);
73 int i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
74 u16 *val);
81 u16 *fw_major_version, u16 *fw_minor_version,
83 u16 *api_major_version, u16 *api_minor_version,
93 int i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,
95 int i40e_aq_clear_default_vsi(struct i40e_hw *hw, u16 vsi_id,
109 int i40e_aq_set_phy_int_mask(struct i40e_hw *hw, u16 mask,
126 u16 vsi_id, bool set_filter,
128 int i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw, u16 vsi_id, bool set,
131 int i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw, u16 vsi_id, bool set,
134 u16 seid, bool enable,
135 u16 vid,
138 u16 seid, bool enable,
139 u16 vid,
142 u16 seid, bool enable, u16 vid,
145 u16 seid, bool enable,
153 int i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid,
154 u16 downlink_seid, u8 enabled_tc,
155 bool default_port, u16 *pveb_seid,
159 u16 veb_seid, u16 *switch_id, bool *floating,
160 u16 *statistic_index, u16 *vebs_used,
161 u16 *vebs_free,
163 int i40e_aq_add_macvlan(struct i40e_hw *hw, u16 vsi_id,
165 u16 count, struct i40e_asq_cmd_details *cmd_details);
167 i40e_aq_add_macvlan_v2(struct i40e_hw *hw, u16 seid,
169 u16 count, struct i40e_asq_cmd_details *cmd_details,
171 int i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 vsi_id,
173 u16 count, struct i40e_asq_cmd_details *cmd_details);
175 i40e_aq_remove_macvlan_v2(struct i40e_hw *hw, u16 seid,
177 u16 count, struct i40e_asq_cmd_details *cmd_details,
179 int i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
180 u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
182 u16 *rule_id, u16 *rules_used, u16 *rules_free);
183 int i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
184 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
186 u16 *rules_used, u16 *rules_free);
188 int i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
189 u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen,
193 u16 buf_size, u16 *start_seid,
196 u16 flags,
197 u16 valid_flags, u8 mode,
209 u32 offset, u16 length, void *data,
213 u32 offset, u16 length, bool last_command,
216 void *buff, u16 buff_size, u16 *data_size,
220 u32 offset, u16 length, void *data,
227 u8 mib_type, void *buff, u16 buff_size,
228 u16 *local_len, u16 *remote_len,
232 u8 mib_type, void *buff, u16 buff_size,
250 void *buff, u16 buff_size,
253 u16 udp_port, u8 protocol_index,
258 int i40e_aq_delete_element(struct i40e_hw *hw, u16 seid,
261 u16 flags, u8 *mac_addr,
264 u16 seid, u16 credit, u8 max_credit,
268 int i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, u16 seid,
273 u16 seid,
278 u16 seid,
282 u16 seid,
287 u16 seid,
292 u16 seid,
297 u16 seid,
302 u16 seid,
308 i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
312 i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 vsi,
316 i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 vsi,
320 i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
326 i40e_aq_suspend_port_tx(struct i40e_hw *hw, u16 seid,
351 int i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
352 u16 *data);
355 u16 module_offset,
356 u16 data_offset,
357 u16 words_data_size,
358 u16 *data_ptr);
359 int i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
360 u16 *words, u16 *data);
363 u16 *checksum);
367 void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
370 void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status);
415 u8 *mac_addr, u16 ethtype, u16 flags,
416 u16 vsi_seid, u16 queue, bool is_add,
420 u8 table_id, u32 start_index, u16 buff_size,
421 void *buff, u16 *ret_buff_size,
425 u16 vsi_seid);
454 u16 reg, u8 phy_addr, u16 *value);
456 u16 reg, u8 phy_addr, u16 value);
458 u8 page, u16 reg, u8 phy_addr, u16 *value);
460 u8 page, u16 reg, u8 phy_addr, u16 value);
461 int i40e_read_phy_register(struct i40e_hw *hw, u8 page, u16 reg,
462 u8 phy_addr, u16 *value);
463 int i40e_write_phy_register(struct i40e_hw *hw, u8 page, u16 reg,
464 u8 phy_addr, u16 value);
469 u16 buff_size, u32 track_id,
474 u16 buff_size, u8 flags,
507 static inline bool i40e_is_aq_api_ver_ge(struct i40e_hw *hw, u16 maj, u16 min)
521 static inline bool i40e_is_aq_api_ver_lt(struct i40e_hw *hw, u16 maj, u16 min)
534 static inline bool i40e_is_fw_ver_ge(struct i40e_hw *hw, u16 maj, u16 min)
548 static inline bool i40e_is_fw_ver_lt(struct i40e_hw *hw, u16 maj, u16 min)
561 static inline bool i40e_is_fw_ver_eq(struct i40e_hw *hw, u16 maj, u16 min)