Lines Matching refs:efx
63 struct efx_nic *efx; member
114 static inline struct efx_mcdi_iface *efx_mcdi(struct efx_nic *efx) in efx_mcdi() argument
116 EFX_BUG_ON_PARANOID(!efx->mcdi); in efx_mcdi()
117 return &efx->mcdi->iface; in efx_mcdi()
121 static inline struct efx_mcdi_mon *efx_mcdi_mon(struct efx_nic *efx) in efx_mcdi_mon() argument
123 EFX_BUG_ON_PARANOID(!efx->mcdi); in efx_mcdi_mon()
124 return &efx->mcdi->hwmon; in efx_mcdi_mon()
128 int efx_mcdi_init(struct efx_nic *efx);
129 void efx_mcdi_fini(struct efx_nic *efx);
131 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf,
134 int efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd,
139 int efx_mcdi_rpc_start(struct efx_nic *efx, unsigned cmd,
141 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen,
144 int efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd,
148 typedef void efx_mcdi_async_completer(struct efx_nic *efx,
152 int efx_mcdi_rpc_async(struct efx_nic *efx, unsigned int cmd,
156 int efx_mcdi_rpc_async_quiet(struct efx_nic *efx, unsigned int cmd,
162 void efx_mcdi_display_error(struct efx_nic *efx, unsigned cmd,
166 int efx_mcdi_poll_reboot(struct efx_nic *efx);
167 void efx_mcdi_mode_poll(struct efx_nic *efx);
168 void efx_mcdi_mode_event(struct efx_nic *efx);
169 void efx_mcdi_flush_async(struct efx_nic *efx);
172 void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev);
310 void efx_mcdi_print_fwver(struct efx_nic *efx, char *buf, size_t len);
311 int efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address,
313 int efx_mcdi_log_ctrl(struct efx_nic *efx, bool evq, bool uart, u32 dest_evq);
314 int efx_mcdi_nvram_types(struct efx_nic *efx, u32 *nvram_types_out);
315 int efx_mcdi_nvram_info(struct efx_nic *efx, unsigned int type,
318 int efx_mcdi_nvram_test_all(struct efx_nic *efx);
319 int efx_mcdi_handle_assertion(struct efx_nic *efx);
320 void efx_mcdi_set_id_led(struct efx_nic *efx, enum efx_led_mode mode);
321 int efx_mcdi_wol_filter_set_magic(struct efx_nic *efx, const u8 *mac,
323 int efx_mcdi_wol_filter_get_magic(struct efx_nic *efx, int *id_out);
324 int efx_mcdi_wol_filter_remove(struct efx_nic *efx, int id);
325 int efx_mcdi_wol_filter_reset(struct efx_nic *efx);
326 int efx_mcdi_flush_rxqs(struct efx_nic *efx);
327 int efx_mcdi_port_probe(struct efx_nic *efx);
328 void efx_mcdi_port_remove(struct efx_nic *efx);
329 int efx_mcdi_port_reconfigure(struct efx_nic *efx);
330 int efx_mcdi_port_get_number(struct efx_nic *efx);
331 u32 efx_mcdi_phy_get_caps(struct efx_nic *efx);
332 void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev);
333 int efx_mcdi_set_mac(struct efx_nic *efx);
335 void efx_mcdi_mac_start_stats(struct efx_nic *efx);
336 void efx_mcdi_mac_stop_stats(struct efx_nic *efx);
337 void efx_mcdi_mac_pull_stats(struct efx_nic *efx);
338 bool efx_mcdi_mac_check_fault(struct efx_nic *efx);
340 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
341 int efx_mcdi_set_workaround(struct efx_nic *efx, u32 type, bool enabled);
344 int efx_mcdi_mon_probe(struct efx_nic *efx);
345 void efx_mcdi_mon_remove(struct efx_nic *efx);
347 static inline int efx_mcdi_mon_probe(struct efx_nic *efx) { return 0; } in efx_mcdi_mon_probe() argument
348 static inline void efx_mcdi_mon_remove(struct efx_nic *efx) {} in efx_mcdi_mon_remove() argument