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

/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_firmware.h38 enum firmware_status { enum
55 enum firmware_status status;
/linux-4.4.14/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c222 if (pfirmware->firmware_status == FW_STATUS_0_INIT) { init_firmware()
228 } else if (pfirmware->firmware_status == FW_STATUS_5_READY) { init_firmware()
294 pfirmware->firmware_status = FW_STATUS_1_MOVE_BOOT_CODE; init_firmware()
304 pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE; init_firmware()
313 pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU; init_firmware()
318 pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE; init_firmware()
328 pfirmware->firmware_status = FW_STATUS_5_READY; init_firmware()
H A Dr8192U.h420 firmware_status_e firmware_status; member in struct:_rt_firmware
H A Dr8192U_core.c2820 priv->pFirmware->firmware_status = FW_STATUS_0_INIT; rtl8192_adapter_start()
2824 if (priv->pFirmware->firmware_status == FW_STATUS_0_INIT) rtl8192_adapter_start()
2826 else if (priv->pFirmware->firmware_status == FW_STATUS_5_READY) rtl8192_adapter_start()
2831 __func__, priv->pFirmware->firmware_status); rtl8192_adapter_start()
/linux-4.4.14/drivers/net/wan/
H A Dcosa.c139 /* cosa->firmware_status bits */
153 int firmware_status; /* Downloaded, reseted, etc. */ member in struct:cosa_data
643 if (!(chan->cosa->firmware_status & COSA_FW_START)) { cosa_net_open()
645 chan->cosa->name, chan->cosa->firmware_status); cosa_net_open()
793 if (!(cosa->firmware_status & COSA_FW_START)) { cosa_read()
795 cosa->name, cosa->firmware_status); cosa_read()
868 if (!(cosa->firmware_status & COSA_FW_START)) { cosa_write()
870 cosa->name, cosa->firmware_status); cosa_write()
1019 cosa->firmware_status &= ~(COSA_FW_RESET|COSA_FW_START); cosa_reset()
1025 cosa->firmware_status |= COSA_FW_RESET;
1038 if (!(cosa->firmware_status & COSA_FW_RESET)) { cosa_download()
1040 cosa->name, cosa->firmware_status); cosa_download()
1054 cosa->firmware_status &= ~(COSA_FW_RESET|COSA_FW_DOWNLOAD); cosa_download()
1064 cosa->firmware_status |= COSA_FW_RESET|COSA_FW_DOWNLOAD;
1077 if (!(cosa->firmware_status & COSA_FW_RESET)) { cosa_readmem()
1079 cosa->name, cosa->firmware_status); cosa_readmem()
1087 cosa->firmware_status &= ~COSA_FW_RESET; cosa_readmem()
1096 cosa->firmware_status |= COSA_FW_RESET;
1109 if ((cosa->firmware_status & (COSA_FW_RESET|COSA_FW_DOWNLOAD)) cosa_start()
1112 cosa->name, cosa->firmware_status); cosa_start()
1115 cosa->firmware_status &= ~COSA_FW_RESET; cosa_start()
1123 cosa->firmware_status |= COSA_FW_START;

Completed in 200 milliseconds