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,
132 bfa_fsm_state_decl(bfa_ioc, uninit, struct bfa_ioc_s, enum ioc_event);
133 bfa_fsm_state_decl(bfa_ioc, reset, struct bfa_ioc_s, enum ioc_event);
134 bfa_fsm_state_decl(bfa_ioc, enabling, struct bfa_ioc_s, enum ioc_event);
135 bfa_fsm_state_decl(bfa_ioc, getattr, struct bfa_ioc_s, enum ioc_event);
136 bfa_fsm_state_decl(bfa_ioc, op, struct bfa_ioc_s, enum ioc_event);
137 bfa_fsm_state_decl(bfa_ioc, fail_retry, struct bfa_ioc_s, enum ioc_event);
138 bfa_fsm_state_decl(bfa_ioc, fail, struct bfa_ioc_s, enum ioc_event);
139 bfa_fsm_state_decl(bfa_ioc, disabling, struct bfa_ioc_s, enum ioc_event);
140 bfa_fsm_state_decl(bfa_ioc, disabled, struct bfa_ioc_s, enum ioc_event);
141 bfa_fsm_state_decl(bfa_ioc, hwfail, struct bfa_ioc_s, enum ioc_event);
257 bfa_ioc_sm_uninit_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_uninit_entry()
265 bfa_ioc_sm_uninit(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_uninit()
282 bfa_ioc_sm_reset_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_reset_entry()
291 bfa_ioc_sm_reset(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_reset()
315 bfa_ioc_sm_enabling_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_enabling_entry()
325 bfa_ioc_sm_enabling(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_enabling()
367 bfa_ioc_sm_getattr_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_getattr_entry()
377 bfa_ioc_sm_getattr(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_getattr()
412 bfa_ioc_sm_op_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_op_entry()
424 bfa_ioc_sm_op(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_op()
460 bfa_ioc_sm_disabling_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_disabling_entry()
472 bfa_ioc_sm_disabling(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_disabling()
504 bfa_ioc_sm_disabled_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_disabled_entry()
510 bfa_ioc_sm_disabled(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_disabled()
535 bfa_ioc_sm_fail_retry_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_fail_retry_entry()
544 bfa_ioc_sm_fail_retry(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_fail_retry()
588 bfa_ioc_sm_fail_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_fail_entry()
597 bfa_ioc_sm_fail(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_fail()
628 bfa_ioc_sm_hwfail_entry(struct bfa_ioc_s *ioc) in bfa_ioc_sm_hwfail_entry()
634 bfa_ioc_sm_hwfail(struct bfa_ioc_s *ioc, enum ioc_event event) in bfa_ioc_sm_hwfail()
680 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_reset()
766 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fwcheck()
830 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_mismatch()
870 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_semwait()
914 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_hwinit()
959 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_enabling()
1001 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_ready()
1036 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabling()
1075 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabling_sync()
1112 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_disabled()
1144 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_initfail_sync()
1193 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_initfail()
1231 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fail_sync()
1284 struct bfa_ioc_s *ioc = iocpf->ioc; in bfa_iocpf_sm_fail()
1306 bfa_ioc_event_notify(struct bfa_ioc_s *ioc, enum bfa_ioc_event_e event) in bfa_ioc_event_notify()
1318 bfa_ioc_disable_comp(struct bfa_ioc_s *ioc) in bfa_ioc_disable_comp()
1346 bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc) in bfa_ioc_hw_sem_get()
1372 bfa_ioc_lmem_init(struct bfa_ioc_s *ioc) in bfa_ioc_lmem_init()
1409 bfa_ioc_lpu_start(struct bfa_ioc_s *ioc) in bfa_ioc_lpu_start()
1423 bfa_ioc_lpu_stop(struct bfa_ioc_s *ioc) in bfa_ioc_lpu_stop()
1440 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get()
1462 bfa_ioc_fwver_cmp(struct bfa_ioc_s *ioc, in bfa_ioc_fwver_cmp()
1502 bfa_ioc_fwver_valid(struct bfa_ioc_s *ioc, u32 boot_env) in bfa_ioc_fwver_valid()
1628 bfa_ioc_flash_img_get_chnk(struct bfa_ioc_s *ioc, u32 off, in bfa_ioc_flash_img_get_chnk()
1637 bfa_ioc_flash_fwver_cmp(struct bfa_ioc_s *ioc, in bfa_ioc_flash_fwver_cmp()
1660 bfa_ioc_fwsig_invalidate(struct bfa_ioc_s *ioc) in bfa_ioc_fwsig_invalidate()
1682 bfa_ioc_msgflush(struct bfa_ioc_s *ioc) in bfa_ioc_msgflush()
1692 bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force) in bfa_ioc_hwinit()
1759 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_ioc_timeout()
1766 bfa_ioc_mbox_send(struct bfa_ioc_s *ioc, void *ioc_msg, int len) in bfa_ioc_mbox_send()
1794 bfa_ioc_send_enable(struct bfa_ioc_s *ioc) in bfa_ioc_send_enable()
1807 bfa_ioc_send_disable(struct bfa_ioc_s *ioc) in bfa_ioc_send_disable()
1820 bfa_ioc_send_getattr(struct bfa_ioc_s *ioc) in bfa_ioc_send_getattr()
1833 struct bfa_ioc_s *ioc = cbarg; in bfa_ioc_hb_check()
1849 bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc) in bfa_ioc_hb_monitor()
1859 bfa_ioc_download_fw(struct bfa_ioc_s *ioc, u32 boot_type, in bfa_ioc_download_fw()
1959 bfa_ioc_getattr_reply(struct bfa_ioc_s *ioc) in bfa_ioc_getattr_reply()
1976 bfa_ioc_mbox_attach(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_attach()
1992 bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_poll()
2022 bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_flush()
2040 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) in bfa_ioc_smem_read()
2099 bfa_ioc_smem_clr(struct bfa_ioc_s *ioc, u32 soff, u32 sz) in bfa_ioc_smem_clr()
2148 bfa_ioc_fail_notify(struct bfa_ioc_s *ioc) in bfa_ioc_fail_notify()
2167 bfa_ioc_pf_fwmismatch(struct bfa_ioc_s *ioc) in bfa_ioc_pf_fwmismatch()
2181 bfa_ioc_pll_init(struct bfa_ioc_s *ioc) in bfa_ioc_pll_init()
2212 bfa_ioc_boot(struct bfa_ioc_s *ioc, u32 boot_type, u32 boot_env) in bfa_ioc_boot()
2270 bfa_ioc_is_operational(struct bfa_ioc_s *ioc) in bfa_ioc_is_operational()
2276 bfa_ioc_is_initialized(struct bfa_ioc_s *ioc) in bfa_ioc_is_initialized()
2286 bfa_ioc_msgget(struct bfa_ioc_s *ioc, void *mbmsg) in bfa_ioc_msgget()
2316 bfa_ioc_isr(struct bfa_ioc_s *ioc, struct bfi_mbmsg_s *m) in bfa_ioc_isr()
2357 bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa, struct bfa_ioc_cbfn_s *cbfn, in bfa_ioc_attach()
2379 bfa_ioc_detach(struct bfa_ioc_s *ioc) in bfa_ioc_detach()
2391 bfa_ioc_pci_init(struct bfa_ioc_s *ioc, struct bfa_pcidev_s *pcidev, in bfa_ioc_pci_init()
2479 bfa_ioc_mem_claim(struct bfa_ioc_s *ioc, u8 *dm_kva, u64 dm_pa) in bfa_ioc_mem_claim()
2490 bfa_ioc_enable(struct bfa_ioc_s *ioc) in bfa_ioc_enable()
2499 bfa_ioc_disable(struct bfa_ioc_s *ioc) in bfa_ioc_disable()
2506 bfa_ioc_suspend(struct bfa_ioc_s *ioc) in bfa_ioc_suspend()
2517 bfa_ioc_debug_memclaim(struct bfa_ioc_s *ioc, void *dbg_fwsave) in bfa_ioc_debug_memclaim()
2530 bfa_ioc_mbox_register(struct bfa_ioc_s *ioc, bfa_ioc_mbox_mcfunc_t *mcfuncs) in bfa_ioc_mbox_register()
2543 bfa_ioc_mbox_regisr(struct bfa_ioc_s *ioc, enum bfi_mclass mc, in bfa_ioc_mbox_regisr()
2560 bfa_ioc_mbox_queue(struct bfa_ioc_s *ioc, struct bfa_mbox_cmd_s *cmd) in bfa_ioc_mbox_queue()
2592 bfa_ioc_mbox_isr(struct bfa_ioc_s *ioc) in bfa_ioc_mbox_isr()
2623 bfa_ioc_error_isr(struct bfa_ioc_s *ioc) in bfa_ioc_error_isr()
2634 bfa_ioc_is_disabled(struct bfa_ioc_s *ioc) in bfa_ioc_is_disabled()
2644 bfa_ioc_fw_mismatch(struct bfa_ioc_s *ioc) in bfa_ioc_fw_mismatch()
2656 bfa_ioc_adapter_is_disabled(struct bfa_ioc_s *ioc) in bfa_ioc_adapter_is_disabled()
2680 bfa_ioc_reset_fwstate(struct bfa_ioc_s *ioc) in bfa_ioc_reset_fwstate()
2688 bfa_ioc_get_adapter_attr(struct bfa_ioc_s *ioc, in bfa_ioc_get_adapter_attr()
2737 bfa_ioc_get_type(struct bfa_ioc_s *ioc) in bfa_ioc_get_type()
2749 bfa_ioc_get_adapter_serial_num(struct bfa_ioc_s *ioc, char *serial_num) in bfa_ioc_get_adapter_serial_num()
2758 bfa_ioc_get_adapter_fw_ver(struct bfa_ioc_s *ioc, char *fw_ver) in bfa_ioc_get_adapter_fw_ver()
2765 bfa_ioc_get_pci_chip_rev(struct bfa_ioc_s *ioc, char *chip_rev) in bfa_ioc_get_pci_chip_rev()
2780 bfa_ioc_get_adapter_optrom_ver(struct bfa_ioc_s *ioc, char *optrom_ver) in bfa_ioc_get_adapter_optrom_ver()
2788 bfa_ioc_get_adapter_manufacturer(struct bfa_ioc_s *ioc, char *manufacturer) in bfa_ioc_get_adapter_manufacturer()
2795 bfa_ioc_get_adapter_model(struct bfa_ioc_s *ioc, char *model) in bfa_ioc_get_adapter_model()
2815 bfa_ioc_get_state(struct bfa_ioc_s *ioc) in bfa_ioc_get_state()
2855 bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr) in bfa_ioc_get_attr()
2876 bfa_ioc_get_mac(struct bfa_ioc_s *ioc) in bfa_ioc_get_mac()
2888 bfa_ioc_get_mfg_mac(struct bfa_ioc_s *ioc) in bfa_ioc_get_mfg_mac()
2906 bfa_ioc_aen_post(struct bfa_ioc_s *ioc, enum bfa_ioc_aen_event event) in bfa_ioc_aen_post()
2943 bfa_ioc_debug_fwsave(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) in bfa_ioc_debug_fwsave()
2964 bfa_ioc_debug_fwtrc(struct bfa_ioc_s *ioc, void *trcdata, int *trclen) in bfa_ioc_debug_fwtrc()
2982 bfa_ioc_send_fwsync(struct bfa_ioc_s *ioc) in bfa_ioc_send_fwsync()
2994 bfa_ioc_fwsync(struct bfa_ioc_s *ioc) in bfa_ioc_fwsync()
3019 bfa_ioc_debug_fwcore(struct bfa_ioc_s *ioc, void *buf, in bfa_ioc_debug_fwcore()
3066 bfa_ioc_fw_stats_get(struct bfa_ioc_s *ioc, void *stats) in bfa_ioc_fw_stats_get()
3087 bfa_ioc_fw_stats_clear(struct bfa_ioc_s *ioc) in bfa_ioc_fw_stats_clear()
3111 bfa_ioc_debug_save_ftrc(struct bfa_ioc_s *ioc) in bfa_ioc_debug_save_ftrc()
3128 bfa_ioc_recover(struct bfa_ioc_s *ioc) in bfa_ioc_recover()
3141 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_timeout()
3150 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_sem_timeout()
3156 bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc) in bfa_ioc_poll_fwinit()
3178 struct bfa_ioc_s *ioc = (struct bfa_ioc_s *) ioc_arg; in bfa_iocpf_poll_timeout()
3372 bfa_ablk_attach(struct bfa_ablk_s *ablk, struct bfa_ioc_s *ioc) in bfa_ablk_attach()
4018 bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc, void *dev, in bfa_sfp_attach()
4189 bfa_flash_aen_audit_post(struct bfa_ioc_s *ioc, enum bfa_audit_aen_event event, in bfa_flash_aen_audit_post()
4477 bfa_flash_attach(struct bfa_flash_s *flash, struct bfa_ioc_s *ioc, void *dev, in bfa_flash_attach()
4759 struct bfa_ioc_s *ioc = diag->ioc; in bfa_diag_memtest_done()
5262 bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, in bfa_diag_attach()
5459 bfa_phy_attach(struct bfa_phy_s *phy, struct bfa_ioc_s *ioc, void *dev, in bfa_phy_attach()
5503 bfa_phy_busy(struct bfa_ioc_s *ioc) in bfa_phy_busy()
6290 bfa_fru_attach(struct bfa_fru_s *fru, struct bfa_ioc_s *ioc, void *dev, in bfa_fru_attach()