Searched refs:ioc_fwstate (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/scsi/bfa/ |
D | bfa_ioc_cb.c | 71 uint32_t fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_firmware_lock() 83 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_firmware_lock() 134 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_cb_reg_init() 138 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_cb_reg_init() 229 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_ack() 236 fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_complete()
|
D | bfa_ioc_ct.c | 79 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local 110 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock() 111 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_ct_firmware_lock() 116 WARN_ON(ioc_fwstate == BFI_IOC_UNINIT); in bfa_ioc_ct_firmware_lock() 232 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init() 240 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_ct_reg_init() 410 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
|
D | bfa_ioc.c | 942 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_iocpf_sm_disabling() 1403 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local 1408 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_hwinit() 1411 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit() 1413 bfa_trc(ioc, ioc_fwstate); in bfa_ioc_hwinit() 1421 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit() 1433 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit() 1446 if (ioc_fwstate == BFI_IOC_DISABLED || ioc_fwstate == BFI_IOC_OP) { in bfa_ioc_hwinit() 1926 u32 r32 = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_is_initialized() 2264 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_reset_fwstate()
|
D | bfa_ioc.h | 151 void __iomem *ioc_fwstate; member
|
/linux-2.6.39/drivers/net/bna/ |
D | bfa_ioc_ct.c | 82 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_ct_firmware_lock() local 112 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_firmware_lock() 117 BUG_ON(!(ioc_fwstate != BFI_IOC_UNINIT)); in bfa_ioc_ct_firmware_lock() 230 ioc->ioc_regs.ioc_fwstate = rb + BFA_IOC0_STATE_REG; in bfa_ioc_ct_reg_init() 238 ioc->ioc_regs.ioc_fwstate = (rb + BFA_IOC1_STATE_REG); in bfa_ioc_ct_reg_init() 366 writel(BFI_IOC_UNINIT, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_start() 428 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_sync_complete()
|
D | bfa_ioc.c | 894 writel(BFI_IOC_FAIL, ioc->ioc_regs.ioc_fwstate); in bfa_iocpf_sm_disabling() 1355 enum bfi_ioc_state ioc_fwstate; in bfa_ioc_hwinit() local 1359 ioc_fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_hwinit() 1364 ioc_fwstate = BFI_IOC_UNINIT; in bfa_ioc_hwinit() 1369 fwvalid = (ioc_fwstate == BFI_IOC_UNINIT) ? in bfa_ioc_hwinit() 1381 if (ioc_fwstate == BFI_IOC_INITING) { in bfa_ioc_hwinit() 1390 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
|