Home
last modified time | relevance | path

Searched refs:BFI_IOC_UNINIT (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc_cb.c88 if (cur_fwstate == BFI_IOC_UNINIT) in bfa_ioc_cb_firmware_lock()
227 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_start()
228 writel(BFI_IOC_UNINIT, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_cb_sync_start()
337 if (fwstate == BFI_IOC_UNINIT || in bfa_ioc_cb_sync_complete()
347 alt_fwstate == BFI_IOC_UNINIT || in bfa_ioc_cb_sync_complete()
371 writel((BFI_IOC_UNINIT | join_bits), (rb + BFA_IOC0_STATE_REG)); in bfa_ioc_cb_pll_init()
374 writel((BFI_IOC_UNINIT | join_bits), (rb + BFA_IOC1_STATE_REG)); in bfa_ioc_cb_pll_init()
H A Dbfa_ioc_ct.c80 WARN_ON(ioc_fwstate == BFI_IOC_UNINIT); in bfa_ioc_ct_firmware_lock()
419 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
420 writel(BFI_IOC_UNINIT, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_sync_start()
604 writel(BFI_IOC_UNINIT, (rb + BFA_IOC0_STATE_REG)); in bfa_ioc_ct_pll_init()
605 writel(BFI_IOC_UNINIT, (rb + BFA_IOC1_STATE_REG)); in bfa_ioc_ct_pll_init()
960 writel(BFI_IOC_UNINIT, (rb + CT2_BFA_IOC0_STATE_REG)); in bfa_ioc_ct2_pll_init()
961 writel(BFI_IOC_UNINIT, (rb + CT2_BFA_IOC1_STATE_REG)); in bfa_ioc_ct2_pll_init()
H A Dbfa_ioc.c43 (((__sm) == BFI_IOC_UNINIT) || \
718 if (fwstate == BFI_IOC_UNINIT) { in bfa_iocpf_sm_fwcheck_entry()
743 bfa_ioc_set_cur_ioc_fwstate(iocpf->ioc, BFI_IOC_UNINIT); in bfa_iocpf_sm_fwcheck_entry()
744 bfa_ioc_set_alt_ioc_fwstate(iocpf->ioc, BFI_IOC_UNINIT); in bfa_iocpf_sm_fwcheck_entry()
1702 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1712 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()
2280 return ((r32 != BFI_IOC_UNINIT) && in bfa_ioc_is_initialized()
2682 bfa_ioc_set_cur_ioc_fwstate(ioc, BFI_IOC_UNINIT); in bfa_ioc_reset_fwstate()
2683 bfa_ioc_set_alt_ioc_fwstate(ioc, BFI_IOC_UNINIT); in bfa_ioc_reset_fwstate()
H A Dbfi.h397 BFI_IOC_UNINIT = 0, /* not initialized */ enumerator
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc_ct.c142 BUG_ON(!(ioc_fwstate != BFI_IOC_UNINIT)); in bfa_ioc_ct_firmware_lock()
498 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
499 writel(BFI_IOC_UNINIT, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_sync_start()
626 writel(BFI_IOC_UNINIT, (rb + BFA_IOC0_STATE_REG)); in bfa_ioc_ct_pll_init()
627 writel(BFI_IOC_UNINIT, (rb + BFA_IOC1_STATE_REG)); in bfa_ioc_ct_pll_init()
933 writel(BFI_IOC_UNINIT, rb + CT2_BFA_IOC0_STATE_REG); in bfa_ioc_ct2_pll_init()
934 writel(BFI_IOC_UNINIT, rb + CT2_BFA_IOC1_STATE_REG); in bfa_ioc_ct2_pll_init()
H A Dbfi.h298 BFI_IOC_UNINIT = 0, /*!< not initialized */ enumerator
H A Dbfa_ioc.c1155 if (fwstate == BFI_IOC_UNINIT) { in bfa_ioc_hw_sem_init()
1168 bfa_ioc_set_cur_ioc_fwstate(ioc, BFI_IOC_UNINIT); in bfa_ioc_hw_sem_init()
1169 bfa_ioc_set_alt_ioc_fwstate(ioc, BFI_IOC_UNINIT); in bfa_ioc_hw_sem_init()
1837 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1844 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()