Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfa_ioc_cb.c43 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate);
46 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate);
281 enum bfi_ioc_state fwstate) in bfa_ioc_cb_set_cur_ioc_fwstate() argument
285 writel((fwstate | (r32 & BFA_IOC_CB_JOIN_MASK)), in bfa_ioc_cb_set_cur_ioc_fwstate()
298 enum bfi_ioc_state fwstate) in bfa_ioc_cb_set_alt_ioc_fwstate() argument
302 writel((fwstate | (r32 & BFA_IOC_CB_JOIN_MASK)), in bfa_ioc_cb_set_alt_ioc_fwstate()
322 u32 fwstate, alt_fwstate; in bfa_ioc_cb_sync_complete() local
323 fwstate = bfa_ioc_cb_get_cur_ioc_fwstate(ioc); in bfa_ioc_cb_sync_complete()
344 if (fwstate == BFI_IOC_UNINIT || in bfa_ioc_cb_sync_complete()
345 fwstate == BFI_IOC_INITING || in bfa_ioc_cb_sync_complete()
[all …]
Dbfa_ioc_ct.c47 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate);
50 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate);
975 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_cur_ioc_fwstate() argument
977 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate()
988 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_alt_ioc_fwstate() argument
990 writel(fwstate, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_set_alt_ioc_fwstate()
Dbfa_ioc.h350 enum bfi_ioc_state fwstate);
353 enum bfi_ioc_state fwstate);
Dbfa_ioc.c711 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
724 fwstate = bfa_ioc_get_cur_ioc_fwstate(iocpf->ioc); in bfa_iocpf_sm_fwcheck_entry()
725 if (fwstate == BFI_IOC_UNINIT) { in bfa_iocpf_sm_fwcheck_entry()
749 bfa_trc(iocpf->ioc, fwstate); in bfa_iocpf_sm_fwcheck_entry()
3172 u32 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_poll_fwinit() local
3174 bfa_trc(ioc, fwstate); in bfa_ioc_poll_fwinit()
3176 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc_ct.c52 struct bfa_ioc *ioc, enum bfi_ioc_state fwstate);
55 struct bfa_ioc *ioc, enum bfi_ioc_state fwstate);
584 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_cur_ioc_fwstate() argument
586 writel(fwstate, ioc->ioc_regs.ioc_fwstate); in bfa_ioc_ct_set_cur_ioc_fwstate()
597 enum bfi_ioc_state fwstate) in bfa_ioc_ct_set_alt_ioc_fwstate() argument
599 writel(fwstate, ioc->ioc_regs.alt_ioc_fwstate); in bfa_ioc_ct_set_alt_ioc_fwstate()
Dbfa_ioc.h220 enum bfi_ioc_state fwstate);
223 enum bfi_ioc_state fwstate);
Dbfa_ioc.c1156 u32 fwstate, r32; in bfa_ioc_hw_sem_init() local
1165 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_hw_sem_init()
1166 if (fwstate == BFI_IOC_UNINIT) { in bfa_ioc_hw_sem_init()
3009 u32 fwstate = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_poll_fwinit() local
3011 if (fwstate == BFI_IOC_DISABLED) { in bfa_ioc_poll_fwinit()
/drivers/net/wireless/b43/
Dmain.c2964 u16 fwstate; in b43_mac_enable() local
2966 fwstate = b43_shm_read16(dev, B43_SHM_SHARED, in b43_mac_enable()
2968 if ((fwstate != B43_SHM_SH_UCODESTAT_SUSP) && in b43_mac_enable()
2969 (fwstate != B43_SHM_SH_UCODESTAT_SLEEP)) { in b43_mac_enable()
2972 fwstate); in b43_mac_enable()