/linux/drivers/base/firmware_loader/ |
A D | firmware.h | 61 struct fw_state { struct 70 struct fw_state fw_st; argument 94 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check() 101 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common() 116 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_mlme.h | 82 sint fw_state; /*shall we protect this variable? */ member 112 if (pmlmepriv->fw_state & state) in check_fwstate() 119 return pmlmepriv->fw_state; in get_fwstate() 131 pmlmepriv->fw_state |= state; in set_fwstate() 136 pmlmepriv->fw_state &= ~state; in _clr_fwstate_() 149 pmlmepriv->fw_state ^= state; in clr_fwstate()
|
A D | rtl871x_ioctl_set.c | 51 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join() 58 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join() 59 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join() 80 pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE; in do_join() 92 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join() 93 pmlmepriv->fw_state ^= in do_join()
|
A D | rtl871x_cmd.c | 361 pmlmepriv->fw_state |= WIFI_ADHOC_STATE; in r8712_joinbss_cmd() 364 pmlmepriv->fw_state |= WIFI_STATION_STATE; in r8712_joinbss_cmd() 692 if ((pmlmepriv->fw_state) & WIFI_AP_STATE) { in r8712_createbss_cmd_callback() 719 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in r8712_createbss_cmd_callback() 720 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in r8712_createbss_cmd_callback() 766 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in r8712_setassocsta_cmdrsp_callback()
|
A D | rtl871x_mlme.c | 42 pmlmepriv->fw_state = 0; in r8712_init_mlme_priv() 544 pmlmepriv->fw_state ^= _FW_UNDER_SURVEY; in r8712_surveydone_event_callback() 552 pmlmepriv->fw_state = in r8712_surveydone_event_callback() 758 pmlmepriv->fw_state ^= in r8712_joinbss_event_callback() 820 pmlmepriv->fw_state ^= in r8712_joinbss_event_callback() 833 pmlmepriv->fw_state = WIFI_STATION_STATE; in r8712_joinbss_event_callback() 836 pmlmepriv->fw_state = WIFI_ADHOC_STATE; in r8712_joinbss_event_callback() 839 pmlmepriv->fw_state = WIFI_NULL_STATE; in r8712_joinbss_event_callback()
|
/linux/drivers/bluetooth/ |
A D | ath3k.c | 336 unsigned char fw_state; in ath3k_set_normal_mode() local 339 ret = ath3k_get_state(udev, &fw_state); in ath3k_set_normal_mode() 345 if ((fw_state & ATH3K_MODE_MASK) == ATH3K_NORMAL_MODE) { in ath3k_set_normal_mode() 357 unsigned char fw_state; in ath3k_load_patch() local 364 ret = ath3k_get_state(udev, &fw_state); in ath3k_load_patch() 370 if (fw_state & ATH3K_PATCH_UPDATE) { in ath3k_load_patch() 410 unsigned char fw_state; in ath3k_load_syscfg() local 416 ret = ath3k_get_state(udev, &fw_state); in ath3k_load_syscfg()
|
/linux/drivers/usb/host/ |
A D | xhci-pci-renesas.c | 225 u8 fw_state; in renesas_fw_check_running() local 233 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_state); in renesas_fw_check_running() 242 if (fw_state & RENESAS_FW_STATUS_LOCK) { in renesas_fw_check_running() 245 if (fw_state & RENESAS_FW_STATUS_SUCCESS) in renesas_fw_check_running() 258 if (fw_state & RENESAS_FW_STATUS_DOWNLOAD_ENABLE) { in renesas_fw_check_running() 265 switch (fw_state & RENESAS_FW_STATUS_RESULT) { in renesas_fw_check_running() 284 (fw_state & RENESAS_FW_STATUS_RESULT) >> 4); in renesas_fw_check_running()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | firmware.c | 127 enum fw_state { enum 134 static enum fw_state fw_state = FW_EMPTY; variable 553 if (fw_state == FW_TRY) { in __obtain_firmware() 617 fw_state = FW_TRY; in __obtain_firmware() 621 fw_state = FW_ERR; in __obtain_firmware() 658 fw_state = FW_ERR; in obtain_firmware() 669 if (fw_state == FW_EMPTY) in obtain_firmware() 695 if (fw_state != FW_ERR) in dispose_firmware() 696 fw_state = FW_EMPTY; in dispose_firmware() 715 if (fw_state == FW_TRY) in retry_firmware() [all …]
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | p54spi.c | 312 switch (priv->fw_state) { in p54spi_int_ready() 314 priv->fw_state = FW_STATE_READY; in p54spi_int_ready() 318 priv->fw_state = FW_STATE_READY; in p54spi_int_ready() 486 if (priv->fw_state == FW_STATE_OFF) in p54spi_work() 496 if (priv->fw_state != FW_STATE_READY) in p54spi_work() 528 priv->fw_state = FW_STATE_BOOTING; in p54spi_op_start() 556 WARN_ON(priv->fw_state != FW_STATE_READY); in p54spi_op_start() 571 WARN_ON(priv->fw_state != FW_STATE_READY); in p54spi_op_stop() 578 priv->fw_state = FW_STATE_OFF; in p54spi_op_stop()
|
A D | p54spi.h | 108 enum fw_state fw_state; member
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | bus.h | 54 enum qtnf_fw_state fw_state; member 77 enum qtnf_fw_state state = bus->fw_state; in qtnf_fw_is_up() 85 enum qtnf_fw_state state = bus->fw_state; in qtnf_fw_is_attached()
|
A D | core.c | 755 bus->fw_state = QTNF_FW_STATE_ACTIVE; in qtnf_core_attach() 789 bus->fw_state = QTNF_FW_STATE_RUNNING; in qtnf_core_attach() 811 bus->fw_state = QTNF_FW_STATE_DETACHED; in qtnf_core_detach() 840 if (unlikely(bus->fw_state != QTNF_FW_STATE_RUNNING)) in qtnf_classify_skb()
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_mlme.h | 324 int fw_state; /* shall we protect this variable? maybe not necessarily... */ member 473 if (pmlmepriv->fw_state & state) in check_fwstate() 481 return pmlmepriv->fw_state; in get_fwstate() 493 pmlmepriv->fw_state |= state; in set_fwstate() 501 pmlmepriv->fw_state &= ~state; in _clr_fwstate_() 515 pmlmepriv->fw_state ^= state; in clr_fwstate()
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | rtw_mlme.h | 283 signed int fw_state; /* shall we protect this variable? maybe not necessarily... */ member 455 if (pmlmepriv->fw_state & state) in check_fwstate() 463 return pmlmepriv->fw_state; in get_fwstate() 475 pmlmepriv->fw_state |= state; in set_fwstate() 483 pmlmepriv->fw_state &= ~state; in _clr_fwstate_() 497 pmlmepriv->fw_state ^= state; in clr_fwstate()
|
/linux/drivers/staging/rtl8723bs/hal/ |
A D | hal_intf.c | 65 signed int fw_state; in rtw_hal_init_opmode() local 67 fw_state = get_fwstate(pmlmepriv); in rtw_hal_init_opmode() 69 if (fw_state & WIFI_ADHOC_STATE) in rtw_hal_init_opmode() 71 else if (fw_state & WIFI_STATION_STATE) in rtw_hal_init_opmode() 73 else if (fw_state & WIFI_AP_STATE) in rtw_hal_init_opmode()
|
/linux/sound/soc/sof/ |
A D | core.c | 365 if (sdev->fw_state > SOF_FW_BOOT_NOT_STARTED) { in snd_sof_device_remove() 389 if (sdev->fw_state > SOF_FW_BOOT_NOT_STARTED) in snd_sof_device_remove() 406 if (sdev->fw_state == SOF_FW_BOOT_COMPLETE) in snd_sof_device_shutdown()
|
A D | sof-priv.h | 403 enum snd_sof_fw_state fw_state; member 579 if (sdev->fw_state == new_state) in sof_set_fw_state() 582 dev_dbg(sdev->dev, "fw_state change: %d -> %d\n", sdev->fw_state, new_state); in sof_set_fw_state() 583 sdev->fw_state = new_state; in sof_set_fw_state()
|
A D | pm.c | 191 if (sdev->fw_state != SOF_FW_BOOT_COMPLETE) in sof_suspend() 242 if (sdev->fw_state == SOF_FW_BOOT_NOT_STARTED) in sof_suspend()
|
/linux/drivers/media/usb/s2255/ |
A D | s2255drv.c | 183 atomic_t fw_state; member 478 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_timer() 499 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_fwchunk_complete() 506 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_fwchunk_complete() 1414 state = atomic_read(&dev->fw_data->fw_state); in s2255_open() 1423 ((atomic_read(&dev->fw_data->fw_state) in s2255_open() 1425 (atomic_read(&dev->fw_data->fw_state) in s2255_open() 1437 ((atomic_read(&dev->fw_data->fw_state) in s2255_open() 1439 (atomic_read(&dev->fw_data->fw_state) in s2255_open() 1468 atomic_set(&dev->fw_data->fw_state, in s2255_open() [all …]
|
/linux/drivers/gpu/drm/amd/display/dmub/src/ |
A D | dmub_srv.c | 316 struct dmub_region *fw_state = &out->regions[DMUB_WINDOW_6_FW_STATE]; in dmub_srv_calc_region_info() local 370 fw_state->base = dmub_align(trace_buff->top, 256); in dmub_srv_calc_region_info() 371 fw_state->top = fw_state->base + dmub_align(fw_state_size, 64); in dmub_srv_calc_region_info() 373 scratch_mem->base = dmub_align(fw_state->top, 256); in dmub_srv_calc_region_info() 529 dmub->fw_state = fw_state_fb->cpu_addr; in dmub_srv_hw_init()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
A D | pcie.c | 59 bus->fw_state = QTNF_FW_STATE_DEAD; in qtnf_pcie_control_tx() 137 bus->fw_state = QTNF_FW_STATE_BOOT_DONE; in qtnf_pcie_fw_boot_done() 341 bus->fw_state = QTNF_FW_STATE_DETACHED; in qtnf_pcie_probe()
|
/linux/drivers/scsi/ |
A D | mvumi.c | 596 mhba->fw_state = FW_STATE_ABORT; in mvumi_wait_for_outstanding() 668 mhba->fw_state = FW_STATE_ABORT; in mvumi_reset_host_9580() 1097 if (mhba->fw_state == FW_STATE_STARTING) in mvumi_handshake() 1104 mhba->fw_state = FW_STATE_STARTING; in mvumi_handshake() 1112 mhba->fw_state = FW_STATE_HANDSHAKING; in mvumi_handshake() 1199 mhba->fw_state = FW_STATE_STARTED; in mvumi_handshake() 1220 if (mhba->fw_state == FW_STATE_STARTED) in mvumi_handshake_event() 1225 mhba->fw_state); in mvumi_handshake_event() 1259 mhba->fw_state = FW_STATE_STARTING; in mvumi_check_handshake() 1265 mhba->fw_state); in mvumi_check_handshake() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_utils.c | 155 u32 fw_state = aq_hw_read_reg(self, HW_ATL_MPI_FW_VERSION); in hw_atl_utils_soft_reset_flb() local 157 if (fw_state) in hw_atl_utils_soft_reset_flb() 224 u32 fw_state = aq_hw_read_reg(self, HW_ATL_MPI_FW_VERSION); in hw_atl_utils_soft_reset_rbl() local 226 if (fw_state) in hw_atl_utils_soft_reset_rbl()
|
/linux/tools/testing/selftests/powerpc/eeh/ |
A D | eeh-functions.sh | 23 local fw_state="$(echo $eeh_state | cut -d' ' -f1)"
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_mlme.c | 47 pmlmepriv->fw_state = 0; in _rtw_init_mlme_priv() 720 pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE; in rtw_surveydone_event_callback() 992 if (pmlmepriv->fw_state & WIFI_UNDER_WPS) in rtw_joinbss_update_network() 993 pmlmepriv->fw_state = WIFI_STATION_STATE | WIFI_UNDER_WPS; in rtw_joinbss_update_network() 995 pmlmepriv->fw_state = WIFI_STATION_STATE; in rtw_joinbss_update_network() 998 pmlmepriv->fw_state = WIFI_ADHOC_STATE; in rtw_joinbss_update_network() 1001 pmlmepriv->fw_state = WIFI_NULL_STATE; in rtw_joinbss_update_network()
|