|
#define | MCDI_PTR2(_buf, _ofst) (((u8 *)_buf) + _ofst) |
|
#define | MCDI_SET_DWORD2(_buf, _ofst, _value) |
|
#define | MCDI_DWORD2(_buf, _ofst) |
|
#define | MCDI_QWORD2(_buf, _ofst) |
|
#define | MCDI_PTR(_buf, _ofst) MCDI_PTR2(_buf, MC_CMD_ ## _ofst ## _OFST) |
|
#define | MCDI_ARRAY_PTR(_buf, _field, _type, _index) |
|
#define | MCDI_SET_DWORD(_buf, _ofst, _value) MCDI_SET_DWORD2(_buf, MC_CMD_ ## _ofst ## _OFST, _value) |
|
#define | MCDI_DWORD(_buf, _ofst) MCDI_DWORD2(_buf, MC_CMD_ ## _ofst ## _OFST) |
|
#define | MCDI_QWORD(_buf, _ofst) MCDI_QWORD2(_buf, MC_CMD_ ## _ofst ## _OFST) |
|
#define | MCDI_EVENT_FIELD(_ev, _field) EFX_QWORD_FIELD(_ev, MCDI_EVENT_ ## _field) |
|
#define | MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) |
|
#define | EFX_MCDI_NVRAM_LEN_MAX 128 |
|
|
void | efx_mcdi_init (struct efx_nic *efx) |
|
int | efx_mcdi_rpc (struct efx_nic *efx, unsigned cmd, const u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, size_t *outlen_actual) |
|
void | efx_mcdi_rpc_start (struct efx_nic *efx, unsigned cmd, const u8 *inbuf, size_t inlen) |
|
int | efx_mcdi_rpc_finish (struct efx_nic *efx, unsigned cmd, size_t inlen, u8 *outbuf, size_t outlen, size_t *outlen_actual) |
|
int | efx_mcdi_poll_reboot (struct efx_nic *efx) |
|
void | efx_mcdi_mode_poll (struct efx_nic *efx) |
|
void | efx_mcdi_mode_event (struct efx_nic *efx) |
|
void | efx_mcdi_process_event (struct efx_channel *channel, efx_qword_t *event) |
|
void | efx_mcdi_sensor_event (struct efx_nic *efx, efx_qword_t *ev) |
|
void | efx_mcdi_print_fwver (struct efx_nic *efx, char *buf, size_t len) |
|
int | efx_mcdi_drv_attach (struct efx_nic *efx, bool driver_operating, bool *was_attached_out) |
|
int | efx_mcdi_get_board_cfg (struct efx_nic *efx, u8 *mac_address, u16 *fw_subtype_list, u32 *capabilities) |
|
int | efx_mcdi_log_ctrl (struct efx_nic *efx, bool evq, bool uart, u32 dest_evq) |
|
int | efx_mcdi_nvram_types (struct efx_nic *efx, u32 *nvram_types_out) |
|
int | efx_mcdi_nvram_info (struct efx_nic *efx, unsigned int type, size_t *size_out, size_t *erase_size_out, bool *protected_out) |
|
int | efx_mcdi_nvram_update_start (struct efx_nic *efx, unsigned int type) |
|
int | efx_mcdi_nvram_read (struct efx_nic *efx, unsigned int type, loff_t offset, u8 *buffer, size_t length) |
|
int | efx_mcdi_nvram_write (struct efx_nic *efx, unsigned int type, loff_t offset, const u8 *buffer, size_t length) |
|
int | efx_mcdi_nvram_erase (struct efx_nic *efx, unsigned int type, loff_t offset, size_t length) |
|
int | efx_mcdi_nvram_update_finish (struct efx_nic *efx, unsigned int type) |
|
int | efx_mcdi_nvram_test_all (struct efx_nic *efx) |
|
int | efx_mcdi_handle_assertion (struct efx_nic *efx) |
|
void | efx_mcdi_set_id_led (struct efx_nic *efx, enum efx_led_mode mode) |
|
int | efx_mcdi_reset_port (struct efx_nic *efx) |
|
int | efx_mcdi_reset_mc (struct efx_nic *efx) |
|
int | efx_mcdi_wol_filter_set_magic (struct efx_nic *efx, const u8 *mac, int *id_out) |
|
int | efx_mcdi_wol_filter_get_magic (struct efx_nic *efx, int *id_out) |
|
int | efx_mcdi_wol_filter_remove (struct efx_nic *efx, int id) |
|
int | efx_mcdi_wol_filter_reset (struct efx_nic *efx) |
|
int | efx_mcdi_flush_rxqs (struct efx_nic *efx) |
|
int | efx_mcdi_set_mac (struct efx_nic *efx) |
|
int | efx_mcdi_mac_stats (struct efx_nic *efx, dma_addr_t dma_addr, u32 dma_len, int enable, int clear) |
|
int | efx_mcdi_mac_reconfigure (struct efx_nic *efx) |
|
bool | efx_mcdi_mac_check_fault (struct efx_nic *efx) |
|