Searched refs:ioc_fwstate (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/scsi/bfa/ |
D | bfa_ioc_cb.c | 149 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 …]
|
D | bfa_ioc_ct.c | 55 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 …]
|
D | bfa_ioc.c | 1665 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()
|
D | bfa_ioc.h | 210 void __iomem *ioc_fwstate; member
|
/linux-5.19.10/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 113 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 …]
|
D | bfa_ioc.c | 1830 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()
|
D | bfa_ioc.h | 85 void __iomem *ioc_fwstate; member
|