Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc_cb.c149 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_cb_reg_init()
153 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_cb_reg_init()
218 u32 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_start() local
226 if (ioc_fwstate & BFA_IOC_CB_JOIN_MASK) { in bfa_ioc_cb_sync_start()
227 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_start()
257 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_join()
260 writel((r32 | join_pos), ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_join()
266 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_leave()
269 writel((r32 & ~join_pos), ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_leave()
276 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_set_cur_ioc_fwstate()
[all …]
Dbfa_ioc_ct.c55 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local
74 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock()
75 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_ct_firmware_lock()
80 WARN_ON(ioc_fwstate == BFI_IOC_UNINIT); in bfa_ioc_ct_firmware_lock()
196 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init()
204 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_ct_reg_init()
258 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC0_STATE_REG; in bfa_ioc_ct2_reg_init()
264 ioc->ioc_regs.ioc_fwstate = (rb + CT2_BFA_IOC1_STATE_REG); in bfa_ioc_ct2_reg_init()
419 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
483 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
[all …]
Dbfa_ioc.c1665 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_fwsig_invalidate() local
1667 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_fwsig_invalidate()
1668 if (!bfa_ioc_state_disabled(ioc_fwstate)) in bfa_ioc_fwsig_invalidate()
1694 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local
1699 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hwinit()
1702 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1704 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_hwinit()
1712 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()
1725 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit()
1738 if (ioc_fwstate == BFI_IOC_DISABLED || ioc_fwstate == BFI_IOC_OP) { in bfa_ioc_hwinit()
Dbfa_ioc.h210 void __iomem *ioc_fwstate; member
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_ioc_ct.c113 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local
137 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock()
142 BUG_ON(!(ioc_fwstate != BFI_IOC_UNINIT)); in bfa_ioc_ct_firmware_lock()
262 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init()
270 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC1_STATE_REG; in bfa_ioc_ct_reg_init()
324 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC0_STATE_REG; in bfa_ioc_ct2_reg_init()
330 ioc->ioc_regs.ioc_fwstate = rb + CT2_BFA_IOC1_STATE_REG; in bfa_ioc_ct2_reg_init()
498 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start()
558 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
578 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate()
[all …]
Dbfa_ioc.c1830 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local
1834 ioc_fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hwinit()
1837 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit()
1844 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit()
1859 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit()
1868 if (ioc_fwstate == BFI_IOC_DISABLED || ioc_fwstate == BFI_IOC_OP) { in bfa_ioc_hwinit()
Dbfa_ioc.h85 void __iomem *ioc_fwstate; member