Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfa_ioc_cb.c156 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_cb_reg_init()
160 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_cb_reg_init()
225 u32 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_start() local
233 if (ioc_fwstate & BFA_IOC_CB_JOIN_MASK) { in bfa_ioc_cb_sync_start()
234 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_start()
264 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_join()
267 writel((r32 | join_pos), ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_join()
273 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_leave()
276 writel((r32 & ~join_pos), ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_leave()
283 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_set_cur_ioc_fwstate()
[all …]
Dbfa_ioc_ct.c62 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local
81 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock()
82 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_ct_firmware_lock()
87 WARN_ON(ioc_fwstate == BFI_IOC_UNINIT); in bfa_ioc_ct_firmware_lock()
203 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init()
211 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_ct_reg_init()
265 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC0_STATE_REG; in bfa_ioc_ct2_reg_init()
271 ioc->ioc_regs.ioc_fwstate = (rb + CT2_BFA_IOC1_STATE_REG); in bfa_ioc_ct2_reg_init()
426 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
490 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
[all …]
Dbfa_ioc.c1678 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_fwsig_invalidate() local
1680 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_fwsig_invalidate()
1681 if (!bfa_ioc_state_disabled(ioc_fwstate)) in bfa_ioc_fwsig_invalidate()
1708 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local
1713 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hwinit()
1716 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1718 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_hwinit()
1726 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()
1739 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit()
1752 if (ioc_fwstate == BFI_IOC_DISABLED || ioc_fwstate == BFI_IOC_OP) { in bfa_ioc_hwinit()
Dbfa_ioc.h213 void __iomem *ioc_fwstate; member
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc_ct.c121 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local
145 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock()
150 BUG_ON(!(ioc_fwstate != BFI_IOC_UNINIT)); in bfa_ioc_ct_firmware_lock()
270 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init()
278 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC1_STATE_REG; in bfa_ioc_ct_reg_init()
332 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC0_STATE_REG; in bfa_ioc_ct2_reg_init()
338 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC1_STATE_REG; in bfa_ioc_ct2_reg_init()
506 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
566 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
586 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate()
[all …]
Dbfa_ioc.c1842 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local
1846 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hwinit()
1849 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1856 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()
1871 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit()
1880 if (ioc_fwstate == BFI_IOC_DISABLED || ioc_fwstate == BFI_IOC_OP) { in bfa_ioc_hwinit()
Dbfa_ioc.h93 void __iomem *ioc_fwstate; member