Lines Matching refs:efx_nic

68 	struct efx_nic *efx;
127 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx) in efx_mcdi()
134 static inline struct efx_mcdi_mon *efx_mcdi_mon(struct efx_nic *efx) in efx_mcdi_mon()
141 int efx_mcdi_init(struct efx_nic *efx);
142 void efx_mcdi_detach(struct efx_nic *efx);
143 void efx_mcdi_fini(struct efx_nic *efx);
145 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf,
148 int efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd,
153 int efx_mcdi_rpc_start(struct efx_nic *efx, unsigned cmd,
155 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
158 int efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd,
162 typedef void efx_mcdi_async_completer(struct efx_nic *efx,
166 int efx_mcdi_rpc_async(struct efx_nic *efx, unsigned int cmd,
170 int efx_mcdi_rpc_async_quiet(struct efx_nic *efx, unsigned int cmd,
176 void efx_mcdi_display_error(struct efx_nic *efx, unsigned cmd,
180 int efx_mcdi_poll_reboot(struct efx_nic *efx);
181 void efx_mcdi_mode_poll(struct efx_nic *efx);
182 void efx_mcdi_mode_event(struct efx_nic *efx);
183 void efx_mcdi_flush_async(struct efx_nic *efx);
186 void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev);
396 void efx_mcdi_print_fwver(struct efx_nic *efx, char *buf, size_t len);
397 int efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address,
399 int efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart, u32 dest_evq);
400 int efx_mcdi_nvram_types(struct efx_nic *efx, u32 *nvram_types_out);
401 int efx_mcdi_nvram_info(struct efx_nic *efx, unsigned int type,
404 int efx_new_mcdi_nvram_test_all(struct efx_nic *efx);
405 int efx_mcdi_nvram_metadata(struct efx_nic *efx, unsigned int type,
408 int efx_mcdi_nvram_test_all(struct efx_nic *efx);
409 int efx_mcdi_handle_assertion(struct efx_nic *efx);
410 int efx_mcdi_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
411 int efx_mcdi_wol_filter_set_magic(struct efx_nic *efx, const u8 *mac,
413 int efx_mcdi_wol_filter_get_magic(struct efx_nic *efx, int *id_out);
414 int efx_mcdi_wol_filter_remove(struct efx_nic *efx, int id);
415 int efx_mcdi_wol_filter_reset(struct efx_nic *efx);
416 int efx_mcdi_flush_rxqs(struct efx_nic *efx);
417 void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev);
418 void efx_mcdi_mac_start_stats(struct efx_nic *efx);
419 void efx_mcdi_mac_stop_stats(struct efx_nic *efx);
420 void efx_mcdi_mac_pull_stats(struct efx_nic *efx);
422 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
423 int efx_mcdi_set_workaround(struct efx_nic *efx, u32 type, bool enabled,
425 int efx_mcdi_get_workarounds(struct efx_nic *efx, unsigned int *impl_out,
427 int efx_mcdi_get_privilege_mask(struct efx_nic *efx, u32 *mask);
430 int efx_mcdi_mon_probe(struct efx_nic *efx);
431 void efx_mcdi_mon_remove(struct efx_nic *efx);
433 static inline int efx_mcdi_mon_probe(struct efx_nic *efx) { return 0; } in efx_mcdi_mon_probe()
434 static inline void efx_mcdi_mon_remove(struct efx_nic *efx) {} in efx_mcdi_mon_remove()