Lines Matching refs:bfa_ioc_s
90 static void bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc);
91 static void bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force);
93 static void bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc);
94 static void bfa_ioc_send_enable(struct bfa_ioc_s *ioc);
95 static void bfa_ioc_send_disable(struct bfa_ioc_s *ioc);
96 static void bfa_ioc_send_getattr(struct bfa_ioc_s *ioc);
97 static void bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc);
98 static void bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc);
99 static void bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc);
100 static void bfa_ioc_recover(struct bfa_ioc_s *ioc);
101 static void bfa_ioc_event_notify(struct bfa_ioc_s *ioc ,
103 static void bfa_ioc_disable_comp(struct bfa_ioc_s *ioc);
104 static void bfa_ioc_lpu_stop(struct bfa_ioc_s *ioc);
105 static void bfa_ioc_fail_notify(struct bfa_ioc_s *ioc);
106 static void bfa_ioc_pf_fwmismatch(struct bfa_ioc_s *ioc);
111 struct bfa_ioc_s *ioc,
117 bfa_fsm_state_decl(bfa_ioc, uninit, struct bfa_ioc_s, enum ioc_event);
118 bfa_fsm_state_decl(bfa_ioc, reset, struct bfa_ioc_s, enum ioc_event);
119 bfa_fsm_state_decl(bfa_ioc, enabling, struct bfa_ioc_s, enum ioc_event);
120 bfa_fsm_state_decl(bfa_ioc, getattr, struct bfa_ioc_s, enum ioc_event);
121 bfa_fsm_state_decl(bfa_ioc, op, struct bfa_ioc_s, enum ioc_event);
122 bfa_fsm_state_decl(bfa_ioc, fail_retry, struct bfa_ioc_s, enum ioc_event);
123 bfa_fsm_state_decl(bfa_ioc, fail, struct bfa_ioc_s, enum ioc_event);
124 bfa_fsm_state_decl(bfa_ioc, disabling, struct bfa_ioc_s, enum ioc_event);
125 bfa_fsm_state_decl(bfa_ioc, disabled, struct bfa_ioc_s, enum ioc_event);
126 bfa_fsm_state_decl(bfa_ioc, hwfail, struct bfa_ioc_s, enum ioc_event);
256 bfa_ioc_sm_uninit_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_uninit_entry()
264 bfa_ioc_sm_uninit(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_uninit()
281 bfa_ioc_sm_reset_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_reset_entry()
290 bfa_ioc_sm_reset(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_reset()
314 bfa_ioc_sm_enabling_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_enabling_entry()
324 bfa_ioc_sm_enabling(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_enabling()
366 bfa_ioc_sm_getattr_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_getattr_entry()
376 bfa_ioc_sm_getattr(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_getattr()
411 bfa_ioc_sm_op_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_op_entry()
423 bfa_ioc_sm_op(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_op()
459 bfa_ioc_sm_disabling_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_disabling_entry()
471 bfa_ioc_sm_disabling(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_disabling()
503 bfa_ioc_sm_disabled_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_disabled_entry()
509 bfa_ioc_sm_disabled(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_disabled()
534 bfa_ioc_sm_fail_retry_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_fail_retry_entry()
543 bfa_ioc_sm_fail_retry(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_fail_retry()
587 bfa_ioc_sm_fail_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_fail_entry()
596 bfa_ioc_sm_fail(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_fail()
627 bfa_ioc_sm_hwfail_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_hwfail_entry()
633 bfa_ioc_sm_hwfail(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_hwfail()
679 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_reset()
765 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fwcheck()
829 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_mismatch()
869 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_semwait()
913 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_hwinit()
958 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_enabling()
1000 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_ready()
1035 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabling()
1074 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabling_sync()
1111 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabled()
1143 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_initfail_sync()
1192 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_initfail()
1230 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fail_sync()
1283 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fail()
1305 bfa_ioc_event_notify(struct bfa_ioc_s *ioc, enum bfa_ioc_event_e event) in bfa_ioc_event_notify()
1317 bfa_ioc_disable_comp(struct bfa_ioc_s *ioc) in bfa_ioc_disable_comp()
1345 bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc) in bfa_ioc_hw_sem_get()
1371 bfa_ioc_lmem_init(struct bfa_ioc_s *ioc) in bfa_ioc_lmem_init()
1408 bfa_ioc_lpu_start(struct bfa_ioc_s *ioc) in bfa_ioc_lpu_start()
1422 bfa_ioc_lpu_stop(struct bfa_ioc_s *ioc) in bfa_ioc_lpu_stop()
1439 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get()
1461 bfa_ioc_fwver_cmp(struct bfa_ioc_s *ioc, in bfa_ioc_fwver_cmp()
1501 bfa_ioc_fwver_valid(struct bfa_ioc_s *ioc, u32 boot_env) in bfa_ioc_fwver_valid()
1627 bfa_ioc_flash_img_get_chnk(struct bfa_ioc_s *ioc, u32 off, in bfa_ioc_flash_img_get_chnk()
1636 bfa_ioc_flash_fwver_cmp(struct bfa_ioc_s *ioc, in bfa_ioc_flash_fwver_cmp()
1659 bfa_ioc_fwsig_invalidate(struct bfa_ioc_s *ioc) in bfa_ioc_fwsig_invalidate()
1681 bfa_ioc_msgflush(struct bfa_ioc_s *ioc) in bfa_ioc_msgflush()
1691 bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force) in bfa_ioc_hwinit()
1758 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_ioc_timeout()
1765 bfa_ioc_mbox_send(struct bfa_ioc_s *ioc, void *ioc_msg, int len) in bfa_ioc_mbox_send()
1793 bfa_ioc_send_enable(struct bfa_ioc_s *ioc) in bfa_ioc_send_enable()
1806 bfa_ioc_send_disable(struct bfa_ioc_s *ioc) in bfa_ioc_send_disable()
1819 bfa_ioc_send_getattr(struct bfa_ioc_s *ioc) in bfa_ioc_send_getattr()
1832 struct bfa_ioc_s *ioc = cbarg; in bfa_ioc_hb_check()
1848 bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc) in bfa_ioc_hb_monitor()
1858 bfa_ioc_download_fw(struct bfa_ioc_s *ioc, u32 boot_type, in bfa_ioc_download_fw()
1958 bfa_ioc_getattr_reply(struct bfa_ioc_s *ioc) in bfa_ioc_getattr_reply()
1975 bfa_ioc_mbox_attach(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_attach()
1991 bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_poll()
2021 bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_flush()
2039 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) in bfa_ioc_smem_read()
2098 bfa_ioc_smem_clr(struct bfa_ioc_s *ioc, u32 soff, u32 sz) in bfa_ioc_smem_clr()
2147 bfa_ioc_fail_notify(struct bfa_ioc_s *ioc) in bfa_ioc_fail_notify()
2166 bfa_ioc_pf_fwmismatch(struct bfa_ioc_s *ioc) in bfa_ioc_pf_fwmismatch()
2180 bfa_ioc_pll_init(struct bfa_ioc_s *ioc) in bfa_ioc_pll_init()
2211 bfa_ioc_boot(struct bfa_ioc_s *ioc, u32 boot_type, u32 boot_env) in bfa_ioc_boot()
2269 bfa_ioc_is_operational(struct bfa_ioc_s *ioc) in bfa_ioc_is_operational()
2275 bfa_ioc_is_initialized(struct bfa_ioc_s *ioc) in bfa_ioc_is_initialized()
2285 bfa_ioc_msgget(struct bfa_ioc_s *ioc, void *mbmsg) in bfa_ioc_msgget()
2315 bfa_ioc_isr(struct bfa_ioc_s *ioc, struct bfi_mbmsg_s *m) in bfa_ioc_isr()
2356 bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa, struct bfa_ioc_cbfn_s *cbfn, in bfa_ioc_attach()
2378 bfa_ioc_detach(struct bfa_ioc_s *ioc) in bfa_ioc_detach()
2390 bfa_ioc_pci_init(struct bfa_ioc_s *ioc, struct bfa_pcidev_s *pcidev, in bfa_ioc_pci_init()
2478 bfa_ioc_mem_claim(struct bfa_ioc_s *ioc, u8 *dm_kva, u64 dm_pa) in bfa_ioc_mem_claim()
2489 bfa_ioc_enable(struct bfa_ioc_s *ioc) in bfa_ioc_enable()
2498 bfa_ioc_disable(struct bfa_ioc_s *ioc) in bfa_ioc_disable()
2505 bfa_ioc_suspend(struct bfa_ioc_s *ioc) in bfa_ioc_suspend()
2516 bfa_ioc_debug_memclaim(struct bfa_ioc_s *ioc, void *dbg_fwsave) in bfa_ioc_debug_memclaim()
2529 bfa_ioc_mbox_register(struct bfa_ioc_s *ioc, bfa_ioc_mbox_mcfunc_t *mcfuncs) in bfa_ioc_mbox_register()
2542 bfa_ioc_mbox_regisr(struct bfa_ioc_s *ioc, enum bfi_mclass mc, in bfa_ioc_mbox_regisr()
2559 bfa_ioc_mbox_queue(struct bfa_ioc_s *ioc, struct bfa_mbox_cmd_s *cmd) in bfa_ioc_mbox_queue()
2591 bfa_ioc_mbox_isr(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_isr()
2622 bfa_ioc_error_isr(struct bfa_ioc_s *ioc) in bfa_ioc_error_isr()
2633 bfa_ioc_is_disabled(struct bfa_ioc_s *ioc) in bfa_ioc_is_disabled()
2643 bfa_ioc_fw_mismatch(struct bfa_ioc_s *ioc) in bfa_ioc_fw_mismatch()
2655 bfa_ioc_adapter_is_disabled(struct bfa_ioc_s *ioc) in bfa_ioc_adapter_is_disabled()
2679 bfa_ioc_reset_fwstate(struct bfa_ioc_s *ioc) in bfa_ioc_reset_fwstate()
2687 bfa_ioc_get_adapter_attr(struct bfa_ioc_s *ioc, in bfa_ioc_get_adapter_attr()
2736 bfa_ioc_get_type(struct bfa_ioc_s *ioc) in bfa_ioc_get_type()
2748 bfa_ioc_get_adapter_serial_num(struct bfa_ioc_s *ioc, char *serial_num) in bfa_ioc_get_adapter_serial_num()
2757 bfa_ioc_get_adapter_fw_ver(struct bfa_ioc_s *ioc, char *fw_ver) in bfa_ioc_get_adapter_fw_ver()
2764 bfa_ioc_get_pci_chip_rev(struct bfa_ioc_s *ioc, char *chip_rev) in bfa_ioc_get_pci_chip_rev()
2779 bfa_ioc_get_adapter_optrom_ver(struct bfa_ioc_s *ioc, char *optrom_ver) in bfa_ioc_get_adapter_optrom_ver()
2787 bfa_ioc_get_adapter_manufacturer(struct bfa_ioc_s *ioc, char *manufacturer) in bfa_ioc_get_adapter_manufacturer()
2794 bfa_ioc_get_adapter_model(struct bfa_ioc_s *ioc, char *model) in bfa_ioc_get_adapter_model()
2814 bfa_ioc_get_state(struct bfa_ioc_s *ioc) in bfa_ioc_get_state()
2854 bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr) in bfa_ioc_get_attr()
2875 bfa_ioc_get_mac(struct bfa_ioc_s *ioc) in bfa_ioc_get_mac()
2887 bfa_ioc_get_mfg_mac(struct bfa_ioc_s *ioc) in bfa_ioc_get_mfg_mac()
2905 bfa_ioc_aen_post(struct bfa_ioc_s *ioc, enum bfa_ioc_aen_event event) in bfa_ioc_aen_post()
2942 bfa_ioc_debug_fwsave(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) in bfa_ioc_debug_fwsave()
2963 bfa_ioc_debug_fwtrc(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) in bfa_ioc_debug_fwtrc()
2981 bfa_ioc_send_fwsync(struct bfa_ioc_s *ioc) in bfa_ioc_send_fwsync()
2993 bfa_ioc_fwsync(struct bfa_ioc_s *ioc) in bfa_ioc_fwsync()
3018 bfa_ioc_debug_fwcore(struct bfa_ioc_s *ioc, void *buf, in bfa_ioc_debug_fwcore()
3065 bfa_ioc_fw_stats_get(struct bfa_ioc_s *ioc, void *stats) in bfa_ioc_fw_stats_get()
3086 bfa_ioc_fw_stats_clear(struct bfa_ioc_s *ioc) in bfa_ioc_fw_stats_clear()
3110 bfa_ioc_debug_save_ftrc(struct bfa_ioc_s *ioc) in bfa_ioc_debug_save_ftrc()
3127 bfa_ioc_recover(struct bfa_ioc_s *ioc) in bfa_ioc_recover()
3140 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_timeout()
3149 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_sem_timeout()
3155 bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc) in bfa_ioc_poll_fwinit()
3177 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_poll_timeout()
3371 bfa_ablk_attach(struct bfa_ablk_s *ablk, struct bfa_ioc_s *ioc) in bfa_ablk_attach()
4017 bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc, void *dev, in bfa_sfp_attach()
4188 bfa_flash_aen_audit_post(struct bfa_ioc_s *ioc, enum bfa_audit_aen_event event, in bfa_flash_aen_audit_post()
4476 bfa_flash_attach(struct bfa_flash_s *flash, struct bfa_ioc_s *ioc, void *dev, in bfa_flash_attach()
4758 struct bfa_ioc_s *ioc = diag->ioc; in bfa_diag_memtest_done()
5261 bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, in bfa_diag_attach()
5458 bfa_phy_attach(struct bfa_phy_s *phy, struct bfa_ioc_s *ioc, void *dev, in bfa_phy_attach()
5502 bfa_phy_busy(struct bfa_ioc_s *ioc) in bfa_phy_busy()
6277 bfa_fru_attach(struct bfa_fru_s *fru, struct bfa_ioc_s *ioc, void *dev, in bfa_fru_attach()