Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/bfa/
Dbfa_ioc_cb.c71 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()
Dbfa_ioc_ct.c79 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()
Dbfa_ioc.c942 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()
Dbfa_ioc.h151 void __iomem *ioc_fwstate; member
/linux-2.6.39/drivers/net/bna/
Dbfa_ioc_ct.c82 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()
Dbfa_ioc.c894 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()
Dbfa_ioc.h85 void __iomem *ioc_fwstate; member