Searched refs:fwstate (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc_cb.c | 274 enum bfi_ioc_state fwstate) in bfa_ioc_cb_set_cur_ioc_fwstate() argument 278 writel((fwstate | (r32 & BFA_IOC_CB_JOIN_MASK)), in bfa_ioc_cb_set_cur_ioc_fwstate() 291 enum bfi_ioc_state fwstate) in bfa_ioc_cb_set_alt_ioc_fwstate() argument 295 writel((fwstate | (r32 & BFA_IOC_CB_JOIN_MASK)), in bfa_ioc_cb_set_alt_ioc_fwstate() 315 u32 fwstate, alt_fwstate; in bfa_ioc_cb_sync_complete() local 316 fwstate = bfa_ioc_cb_get_cur_ioc_fwstate(ioc); in bfa_ioc_cb_sync_complete() 337 if (fwstate == BFI_IOC_UNINIT || in bfa_ioc_cb_sync_complete() 338 fwstate == BFI_IOC_INITING || in bfa_ioc_cb_sync_complete() 339 fwstate == BFI_IOC_DISABLED || in bfa_ioc_cb_sync_complete() 340 fwstate == BFI_IOC_MEMTEST || in bfa_ioc_cb_sync_complete() [all …]
|
H A D | bfa_ioc_ct.c | 40 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate); 43 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate); 968 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_cur_ioc_fwstate() argument 970 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate() 981 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_alt_ioc_fwstate() argument 983 writel(fwstate, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_set_alt_ioc_fwstate()
|
H A D | bfa_ioc.h | 347 enum bfi_ioc_state fwstate); 350 enum bfi_ioc_state fwstate);
|
H A D | bfa_ioc.c | 704 u32 r32, fwstate, pgnum, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local 717 fwstate = bfa_ioc_get_cur_ioc_fwstate(iocpf->ioc); in bfa_iocpf_sm_fwcheck_entry() 718 if (fwstate == BFI_IOC_UNINIT) { in bfa_iocpf_sm_fwcheck_entry() 741 bfa_trc(iocpf->ioc, fwstate); in bfa_iocpf_sm_fwcheck_entry() 3158 u32 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_poll_fwinit() local 3160 bfa_trc(ioc, fwstate); in bfa_ioc_poll_fwinit() 3162 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc_ct.c | 44 struct bfa_ioc *ioc, enum bfi_ioc_state fwstate); 47 struct bfa_ioc *ioc, enum bfi_ioc_state fwstate); 576 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_cur_ioc_fwstate() argument 578 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate() 589 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_alt_ioc_fwstate() argument 591 writel(fwstate, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_set_alt_ioc_fwstate()
|
H A D | bfa_ioc.h | 216 enum bfi_ioc_state fwstate); 219 enum bfi_ioc_state fwstate);
|
H A D | bfa_ioc.c | 1145 u32 fwstate, r32; in bfa_ioc_hw_sem_init() local 1154 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hw_sem_init() 1155 if (fwstate == BFI_IOC_UNINIT) { in bfa_ioc_hw_sem_init() 3003 u32 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_poll_fwinit() local 3005 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 2952 u16 fwstate; in b43_mac_enable() local 2954 fwstate = b43_shm_read16(dev, B43_SHM_SHARED, in b43_mac_enable() 2956 if ((fwstate != B43_SHM_SH_UCODESTAT_SUSP) && in b43_mac_enable() 2957 (fwstate != B43_SHM_SH_UCODESTAT_SLEEP)) { in b43_mac_enable() 2960 fwstate); in b43_mac_enable()
|