Searched refs:firmware_status (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_firmware.h46 enum firmware_status { enum
61 enum firmware_status firmware_status; member in struct:rt_firmware
H A Dr8192E_firmware.c189 pfirmware->firmware_status = FW_STATUS_1_MOVE_BOOT_CODE; firmware_check_ready()
193 pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE; firmware_check_ready()
197 pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU; firmware_check_ready()
205 pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE; firmware_check_ready()
210 pfirmware->firmware_status = FW_STATUS_5_READY; firmware_check_ready()
241 if (pfirmware->firmware_status == FW_STATUS_0_INIT) { init_firmware()
245 } else if (pfirmware->firmware_status == FW_STATUS_5_READY) { init_firmware()
H A Dr8192E_dev.c729 priv->pFirmware->firmware_status = FW_STATUS_0_INIT; rtl8192_adapter_start()
735 if (priv->pFirmware->firmware_status == FW_STATUS_0_INIT) rtl8192_adapter_start()
737 else if (priv->pFirmware->firmware_status == FW_STATUS_5_READY) rtl8192_adapter_start()
742 __func__, priv->pFirmware->firmware_status); rtl8192_adapter_start()
/linux-4.1.27/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c221 if (pfirmware->firmware_status == FW_STATUS_0_INIT) { init_firmware()
227 } else if (pfirmware->firmware_status == FW_STATUS_5_READY) { init_firmware()
293 pfirmware->firmware_status = FW_STATUS_1_MOVE_BOOT_CODE; init_firmware()
303 pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE; init_firmware()
312 pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU; init_firmware()
317 pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE; init_firmware()
327 pfirmware->firmware_status = FW_STATUS_5_READY; init_firmware()
H A Dr8192U.h453 firmware_status_e firmware_status; member in struct:_rt_firmware
H A Dr8192U_core.c2664 priv->pFirmware->firmware_status = FW_STATUS_0_INIT; rtl8192_adapter_start()
2668 if (priv->pFirmware->firmware_status == FW_STATUS_0_INIT) rtl8192_adapter_start()
2670 else if (priv->pFirmware->firmware_status == FW_STATUS_5_READY) rtl8192_adapter_start()
2673 RT_TRACE(COMP_ERR, "ERROR in %s(): undefined firmware state(%d)\n", __func__, priv->pFirmware->firmware_status); rtl8192_adapter_start()
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c139 /* cosa->firmware_status bits */
153 int firmware_status; /* Downloaded, reseted, etc. */ member in struct:cosa_data
642 if (!(chan->cosa->firmware_status & COSA_FW_START)) { cosa_net_open()
644 chan->cosa->name, chan->cosa->firmware_status); cosa_net_open()
792 if (!(cosa->firmware_status & COSA_FW_START)) { cosa_read()
794 cosa->name, cosa->firmware_status); cosa_read()
867 if (!(cosa->firmware_status & COSA_FW_START)) { cosa_write()
869 cosa->name, cosa->firmware_status); cosa_write()
1018 cosa->firmware_status &= ~(COSA_FW_RESET|COSA_FW_START); cosa_reset()
1024 cosa->firmware_status |= COSA_FW_RESET;
1037 if (!(cosa->firmware_status & COSA_FW_RESET)) { cosa_download()
1039 cosa->name, cosa->firmware_status); cosa_download()
1053 cosa->firmware_status &= ~(COSA_FW_RESET|COSA_FW_DOWNLOAD); cosa_download()
1063 cosa->firmware_status |= COSA_FW_RESET|COSA_FW_DOWNLOAD;
1076 if (!(cosa->firmware_status & COSA_FW_RESET)) { cosa_readmem()
1078 cosa->name, cosa->firmware_status); cosa_readmem()
1086 cosa->firmware_status &= ~COSA_FW_RESET; cosa_readmem()
1095 cosa->firmware_status |= COSA_FW_RESET;
1108 if ((cosa->firmware_status & (COSA_FW_RESET|COSA_FW_DOWNLOAD)) cosa_start()
1111 cosa->name, cosa->firmware_status); cosa_start()
1114 cosa->firmware_status &= ~COSA_FW_RESET; cosa_start()
1122 cosa->firmware_status |= COSA_FW_START;

Completed in 266 milliseconds