|
enum | ioc_event {
IOC_E_RESET = 1,
IOC_E_ENABLE = 2,
IOC_E_DISABLE = 3,
IOC_E_DETACH = 4,
IOC_E_ENABLED = 5,
IOC_E_FWRSP_GETATTR = 6,
IOC_E_DISABLED = 7,
IOC_E_PFFAILED = 8,
IOC_E_HBFAIL = 9,
IOC_E_HWERROR = 10,
IOC_E_TIMEOUT = 11,
IOC_E_HWFAILED = 12,
IOC_E_RESET = 1,
IOC_E_ENABLE = 2,
IOC_E_DISABLE = 3,
IOC_E_DETACH = 4,
IOC_E_ENABLED = 5,
IOC_E_FWRSP_GETATTR = 6,
IOC_E_DISABLED = 7,
IOC_E_PFFAILED = 8,
IOC_E_HBFAIL = 9,
IOC_E_HWERROR = 10,
IOC_E_TIMEOUT = 11,
IOC_E_HWFAILED = 12
} |
|
enum | iocpf_event {
IOCPF_E_ENABLE = 1,
IOCPF_E_DISABLE = 2,
IOCPF_E_STOP = 3,
IOCPF_E_FWREADY = 4,
IOCPF_E_FWRSP_ENABLE = 5,
IOCPF_E_FWRSP_DISABLE = 6,
IOCPF_E_FAIL = 7,
IOCPF_E_INITFAIL = 8,
IOCPF_E_GETATTRFAIL = 9,
IOCPF_E_SEMLOCKED = 10,
IOCPF_E_TIMEOUT = 11,
IOCPF_E_SEM_ERROR = 12,
IOCPF_E_ENABLE = 1,
IOCPF_E_DISABLE = 2,
IOCPF_E_STOP = 3,
IOCPF_E_FWREADY = 4,
IOCPF_E_FWRSP_ENABLE = 5,
IOCPF_E_FWRSP_DISABLE = 6,
IOCPF_E_FAIL = 7,
IOCPF_E_INITFAIL = 8,
IOCPF_E_GETATTRFAIL = 9,
IOCPF_E_SEMLOCKED = 10,
IOCPF_E_TIMEOUT = 11,
IOCPF_E_SEM_ERROR = 12
} |
|
enum | bfa_iocpf_state {
BFA_IOCPF_RESET = 1,
BFA_IOCPF_SEMWAIT = 2,
BFA_IOCPF_HWINIT = 3,
BFA_IOCPF_READY = 4,
BFA_IOCPF_INITFAIL = 5,
BFA_IOCPF_FAIL = 6,
BFA_IOCPF_DISABLING = 7,
BFA_IOCPF_DISABLED = 8,
BFA_IOCPF_FWMISMATCH = 9,
BFA_IOCPF_RESET = 1,
BFA_IOCPF_SEMWAIT = 2,
BFA_IOCPF_HWINIT = 3,
BFA_IOCPF_READY = 4,
BFA_IOCPF_INITFAIL = 5,
BFA_IOCPF_FAIL = 6,
BFA_IOCPF_DISABLING = 7,
BFA_IOCPF_DISABLED = 8,
BFA_IOCPF_FWMISMATCH = 9
} |
|
|
| bfa_fsm_state_decl (bfa_ioc, uninit, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, reset, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, enabling, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, getattr, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, op, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, fail_retry, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, fail, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, disabling, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, disabled, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_ioc, hwfail, struct bfa_ioc, enum ioc_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, reset, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, fwcheck, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, mismatch, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, semwait, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, hwinit, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, enabling, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, ready, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, initfail_sync, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, initfail, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, fail_sync, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, fail, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, disabling, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, disabling_sync, struct bfa_iocpf, enum iocpf_event) |
|
| bfa_fsm_state_decl (bfa_iocpf, disabled, struct bfa_iocpf, enum iocpf_event) |
|
bool | bfa_nw_ioc_sem_get (void __iomem *sem_reg) |
|
void | bfa_nw_ioc_sem_release (void __iomem *sem_reg) |
|
void | bfa_nw_ioc_hw_sem_release (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_fwver_get (struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) |
|
bool | bfa_nw_ioc_fwver_cmp (struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) |
|
void | bfa_nw_ioc_timeout (void *ioc_arg) |
|
void | bfa_nw_ioc_hb_check (void *cbarg) |
|
int | bfa_nw_ioc_debug_fwtrc (struct bfa_ioc *ioc, void *trcdata, int *trclen) |
|
int | bfa_nw_ioc_debug_fwsave (struct bfa_ioc *ioc, void *trcdata, int *trclen) |
|
void | bfa_nw_ioc_auto_recover (bool auto_recover) |
|
void | bfa_nw_ioc_attach (struct bfa_ioc *ioc, void *bfa, struct bfa_ioc_cbfn *cbfn) |
|
void | bfa_nw_ioc_detach (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_pci_init (struct bfa_ioc *ioc, struct bfa_pcidev *pcidev, enum bfi_pcifn_class clscode) |
|
void | bfa_nw_ioc_mem_claim (struct bfa_ioc *ioc, u8 *dm_kva, u64 dm_pa) |
|
u32 | bfa_nw_ioc_meminfo (void) |
|
void | bfa_nw_ioc_enable (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_disable (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_debug_memclaim (struct bfa_ioc *ioc, void *dbg_fwsave) |
|
void | bfa_nw_ioc_mbox_regisr (struct bfa_ioc *ioc, enum bfi_mclass mc, bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) |
|
bool | bfa_nw_ioc_mbox_queue (struct bfa_ioc *ioc, struct bfa_mbox_cmd *cmd, bfa_mbox_cmd_cbfn_t cbfn, void *cbarg) |
|
void | bfa_nw_ioc_mbox_isr (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_error_isr (struct bfa_ioc *ioc) |
|
bool | bfa_nw_ioc_is_disabled (struct bfa_ioc *ioc) |
|
bool | bfa_nw_ioc_is_operational (struct bfa_ioc *ioc) |
|
void | bfa_nw_ioc_notify_register (struct bfa_ioc *ioc, struct bfa_ioc_notify *notify) |
|
void | bfa_nw_ioc_get_attr (struct bfa_ioc *ioc, struct bfa_ioc_attr *ioc_attr) |
|
mac_t | bfa_nw_ioc_get_mac (struct bfa_ioc *ioc) |
|
void | bfa_nw_iocpf_timeout (void *ioc_arg) |
|
void | bfa_nw_iocpf_sem_timeout (void *ioc_arg) |
|
u32 | bfa_nw_flash_meminfo (void) |
|
void | bfa_nw_flash_attach (struct bfa_flash *flash, struct bfa_ioc *ioc, void *dev) |
|
void | bfa_nw_flash_memclaim (struct bfa_flash *flash, u8 *dm_kva, u64 dm_pa) |
|
enum bfa_status | bfa_nw_flash_get_attr (struct bfa_flash *flash, struct bfa_flash_attr *attr, bfa_cb_flash cbfn, void *cbarg) |
|
enum bfa_status | bfa_nw_flash_update_part (struct bfa_flash *flash, u32 type, u8 instance, void *buf, u32 len, u32 offset, bfa_cb_flash cbfn, void *cbarg) |
|
enum bfa_status | bfa_nw_flash_read_part (struct bfa_flash *flash, u32 type, u8 instance, void *buf, u32 len, u32 offset, bfa_cb_flash cbfn, void *cbarg) |
|
bfa_nw_ioc_mbox_queue - Queue a mailbox command request to firmware.
: IOC instance : Mailbox command
Waits if mailbox is busy. Responsibility of caller to serialize
If a previous command is pending, queue new command
If mailbox is busy, queue command for poll timer
mailbox is free – queue command to firmware
Definition at line 2120 of file bfa_ioc.c.