Home
last modified time | relevance | path

Searched refs:fwstate (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/bfa/
Dbfa_ioc_cb.c231 uint32_t fwstate, alt_fwstate; in bfa_ioc_cb_sync_complete() local
232 fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_cb_sync_complete()
253 if (fwstate == BFI_IOC_UNINIT || in bfa_ioc_cb_sync_complete()
254 fwstate == BFI_IOC_INITING || in bfa_ioc_cb_sync_complete()
255 fwstate == BFI_IOC_DISABLED || in bfa_ioc_cb_sync_complete()
256 fwstate == BFI_IOC_MEMTEST || in bfa_ioc_cb_sync_complete()
257 fwstate == BFI_IOC_OP) in bfa_ioc_cb_sync_complete()
Dbfa_ioc.c688 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
701 fwstate = readl(iocpf->ioc->ioc_regs.ioc_fwstate); in bfa_iocpf_sm_fwcheck_entry()
702 if (fwstate == BFI_IOC_UNINIT) { in bfa_iocpf_sm_fwcheck_entry()
726 bfa_trc(iocpf->ioc, fwstate); in bfa_iocpf_sm_fwcheck_entry()
2920 u32 fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_poll_fwinit() local
2922 bfa_trc(ioc, fwstate); in bfa_ioc_poll_fwinit()
2924 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1156 u32 fwstate, r32; in bfa_ioc_hw_sem_init() local
1165 fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_hw_sem_init()
1166 if (fwstate == BFI_IOC_UNINIT) { in bfa_ioc_hw_sem_init()
2475 u32 fwstate = readl(ioc->ioc_regs.ioc_fwstate); in bfa_ioc_poll_fwinit() local
2477 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
/drivers/net/wireless/b43/
Dmain.c2820 u16 fwstate; in b43_mac_enable() local
2822 fwstate = b43_shm_read16(dev, B43_SHM_SHARED, in b43_mac_enable()
2824 if ((fwstate != B43_SHM_SH_UCODESTAT_SUSP) && in b43_mac_enable()
2825 (fwstate != B43_SHM_SH_UCODESTAT_SLEEP)) { in b43_mac_enable()
2828 fwstate); in b43_mac_enable()