Home
last modified time | relevance | path

Searched refs:fw_state (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/rtl8712/
Drtl871x_mlme.h90 sint fw_state; /*shall we protect this variable? */ member
120 if (pmlmepriv->fw_state & state) in check_fwstate()
127 return pmlmepriv->fw_state; in get_fwstate()
139 pmlmepriv->fw_state |= state; in set_fwstate()
144 pmlmepriv->fw_state &= ~state; in _clr_fwstate_()
157 pmlmepriv->fw_state ^= state; in clr_fwstate()
Drtl871x_ioctl_set.c68 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join()
75 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join()
76 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join()
97 pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE; in do_join()
110 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join()
111 pmlmepriv->fw_state ^= in do_join()
Drtl871x_cmd.c512 pmlmepriv->fw_state |= WIFI_ADHOC_STATE; in r8712_joinbss_cmd()
515 pmlmepriv->fw_state |= WIFI_STATION_STATE; in r8712_joinbss_cmd()
961 if ((pmlmepriv->fw_state) & WIFI_AP_STATE) { in r8712_createbss_cmd_callback()
987 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in r8712_createbss_cmd_callback()
988 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in r8712_createbss_cmd_callback()
1032 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in r8712_setassocsta_cmdrsp_callback()
Drtl871x_mlme.c54 pmlmepriv->fw_state = 0; in _init_mlme_priv()
606 pmlmepriv->fw_state ^= _FW_UNDER_SURVEY; in r8712_surveydone_event_callback()
614 pmlmepriv->fw_state = in r8712_surveydone_event_callback()
819 pmlmepriv->fw_state ^= in r8712_joinbss_event_callback()
880 pmlmepriv->fw_state ^= in r8712_joinbss_event_callback()
893 pmlmepriv->fw_state = WIFI_STATION_STATE; in r8712_joinbss_event_callback()
896 pmlmepriv->fw_state = WIFI_ADHOC_STATE; in r8712_joinbss_event_callback()
899 pmlmepriv->fw_state = WIFI_NULL_STATE; in r8712_joinbss_event_callback()
Drtl8712_led.c225 (pmlmepriv->fw_state & WIFI_STATION_STATE)) in SwLedBlink()
228 ((pmlmepriv->fw_state & WIFI_ADHOC_STATE) || in SwLedBlink()
229 (pmlmepriv->fw_state & WIFI_ADHOC_MASTER_STATE))) in SwLedBlink()
Drtl871x_mp_ioctl.c192 pmlmepriv->fw_state = WIFI_MP_STATE; in mp_start_test()
240 pmlmepriv->fw_state = pmppriv->prev_fw_state; /* WIFI_STATION_STATE;*/ in mp_stop_test()
/drivers/bluetooth/
Dath3k.c281 unsigned char fw_state; in ath3k_set_normal_mode() local
284 ret = ath3k_get_state(udev, &fw_state); in ath3k_set_normal_mode()
290 if ((fw_state & ATH3K_MODE_MASK) == ATH3K_NORMAL_MODE) { in ath3k_set_normal_mode()
303 unsigned char fw_state; in ath3k_load_patch() local
309 ret = ath3k_get_state(udev, &fw_state); in ath3k_load_patch()
315 if (fw_state & ATH3K_PATCH_UPDATE) { in ath3k_load_patch()
354 unsigned char fw_state; in ath3k_load_syscfg() local
360 ret = ath3k_get_state(udev, &fw_state); in ath3k_load_syscfg()
/drivers/net/wireless/p54/
Dp54spi.c328 switch (priv->fw_state) { in p54spi_int_ready()
330 priv->fw_state = FW_STATE_READY; in p54spi_int_ready()
334 priv->fw_state = FW_STATE_READY; in p54spi_int_ready()
500 if (priv->fw_state == FW_STATE_OFF) in p54spi_work()
510 if (priv->fw_state != FW_STATE_READY) in p54spi_work()
542 priv->fw_state = FW_STATE_BOOTING; in p54spi_op_start()
570 WARN_ON(priv->fw_state != FW_STATE_READY); in p54spi_op_start()
585 WARN_ON(priv->fw_state != FW_STATE_READY); in p54spi_op_stop()
592 priv->fw_state = FW_STATE_OFF; in p54spi_op_stop()
Dp54spi.h121 enum fw_state fw_state; member
Dp54.h137 enum fw_state { enum
/drivers/media/usb/s2255/
Ds2255drv.c200 atomic_t fw_state; member
516 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_timer()
538 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_fwchunk_complete()
545 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_fwchunk_complete()
573 atomic_set(&data->fw_state, S2255_FW_FAILED); in s2255_fwchunk_complete()
580 atomic_set(&data->fw_state, S2255_FW_LOADED_DSPWAIT); in s2255_fwchunk_complete()
1627 state = atomic_read(&dev->fw_data->fw_state); in __s2255_open()
1636 ((atomic_read(&dev->fw_data->fw_state) in __s2255_open()
1638 (atomic_read(&dev->fw_data->fw_state) in __s2255_open()
1642 state = atomic_read(&dev->fw_data->fw_state); in __s2255_open()
[all …]
/drivers/scsi/
Dmvumi.c625 mhba->fw_state = FW_STATE_ABORT; in mvumi_wait_for_outstanding()
696 mhba->fw_state = FW_STATE_ABORT; in mvumi_reset_host_9580()
1126 if (mhba->fw_state == FW_STATE_STARTING) in mvumi_handshake()
1133 mhba->fw_state = FW_STATE_STARTING; in mvumi_handshake()
1141 mhba->fw_state = FW_STATE_HANDSHAKING; in mvumi_handshake()
1228 mhba->fw_state = FW_STATE_STARTED; in mvumi_handshake()
1249 if (mhba->fw_state == FW_STATE_STARTED) in mvumi_handshake_event()
1254 mhba->fw_state); in mvumi_handshake_event()
1288 mhba->fw_state = FW_STATE_STARTING; in mvumi_check_handshake()
1294 mhba->fw_state); in mvumi_check_handshake()
[all …]
Dmvumi.h542 unsigned int fw_state; member
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1724 u32 fw_state; in megasas_wait_for_outstanding() local
1813 fw_state = instance->instancet->read_fw_status_reg( in megasas_wait_for_outstanding()
1815 if ((fw_state == MFI_STATE_FAULT) && in megasas_wait_for_outstanding()
2542 u32 fw_state; in megasas_deplete_reply_queue() local
2560 fw_state = instance->instancet->read_fw_status_reg( in megasas_deplete_reply_queue()
2563 if (fw_state != MFI_STATE_FAULT) { in megasas_deplete_reply_queue()
2565 fw_state); in megasas_deplete_reply_queue()
2568 if ((fw_state == MFI_STATE_FAULT) && in megasas_deplete_reply_queue()
2592 fw_state, instance->adprecovery); in megasas_deplete_reply_queue()
2599 fw_state, instance->disableOnlineCtrlReset); in megasas_deplete_reply_queue()
[all …]
Dmegaraid_sas_fusion.c1869 u32 mfiStatus, fw_state; in megasas_isr_fusion() local
1886 fw_state = instance->instancet->read_fw_status_reg( in megasas_isr_fusion()
1888 if (fw_state == MFI_STATE_FAULT) in megasas_isr_fusion()
2062 u32 fw_state; in megasas_wait_for_outstanding_fusion() local
2066 fw_state = instance->instancet->read_fw_status_reg( in megasas_wait_for_outstanding_fusion()
2068 if (fw_state == MFI_STATE_FAULT) { in megasas_wait_for_outstanding_fusion()
/drivers/scsi/qla4xxx/
Dql4_attr.c267 static DEVICE_ATTR(fw_state, S_IRUGO, qla4xxx_fw_state_show, NULL);
/drivers/scsi/csiostor/
Dcsio_hw.c1574 if (hw->fw_state == CSIO_DEV_STATE_INIT) { in csio_config_device_caps()
2174 rv = csio_do_hello(hw, &hw->fw_state); in csio_hw_configure()
2186 if (csio_is_hw_master(hw) && hw->fw_state != CSIO_DEV_STATE_INIT) { in csio_hw_configure()
2232 if (hw->fw_state == CSIO_DEV_STATE_INIT) { in csio_hw_configure()
2272 if (csio_is_hw_master(hw) && hw->fw_state != CSIO_DEV_STATE_INIT) { in csio_hw_initialize()
2312 if (csio_is_hw_master(hw) && hw->fw_state != CSIO_DEV_STATE_INIT) { in csio_hw_initialize()
Dcsio_hw.h502 enum csio_dev_state fw_state; member
Dcsio_wr.c1555 if (hw->fw_state != CSIO_DEV_STATE_INIT) in csio_wr_sge_init()
/drivers/net/wireless/
Dmwl8k.c285 unsigned fw_state; member
553 priv->fw_state = FW_STATE_LOADING_PREF; in mwl8k_request_firmware()
5530 switch (priv->fw_state) { in mwl8k_fw_state_machine()
5544 priv->fw_state = FW_STATE_LOADING_ALT; in mwl8k_fw_state_machine()
5548 priv->fw_state = FW_STATE_LOADING_PREF; in mwl8k_fw_state_machine()
5557 priv->fw_state = FW_STATE_LOADING_ALT; in mwl8k_fw_state_machine()
5586 MWL8K_NAME, priv->fw_state); in mwl8k_fw_state_machine()
5593 priv->fw_state = FW_STATE_ERROR; in mwl8k_fw_state_machine()
6113 if (priv->fw_state == FW_STATE_ERROR) { in mwl8k_remove()
/drivers/scsi/qla2xxx/
Dqla_attr.c1418 static DEVICE_ATTR(fw_state, S_IRUGO, qla2x00_fw_state_show, NULL);