/linux/drivers/staging/r8188eu/hal/ |
A D | rtl8188e_sreset.c | 24 u8 fw_status = 0; in rtl8188e_sreset_linked_status_check() local 30 fw_status = rtw_read8(padapter, REG_FMETHR); in rtl8188e_sreset_linked_status_check() 31 if (fw_status != 0x00) { in rtl8188e_sreset_linked_status_check() 32 if (fw_status == 1) in rtl8188e_sreset_linked_status_check() 33 DBG_88E("%s REG_FW_STATUS (0x%02x), Read_Efuse_Fail !!\n", __func__, fw_status); in rtl8188e_sreset_linked_status_check() 34 else if (fw_status == 2) in rtl8188e_sreset_linked_status_check() 35 DBG_88E("%s REG_FW_STATUS (0x%02x), Condition_No_Match !!\n", __func__, fw_status); in rtl8188e_sreset_linked_status_check()
|
/linux/drivers/misc/mei/ |
A D | hw-me.c | 205 struct mei_fw_status *fw_status) in mei_me_fw_status() argument 212 if (!fw_status || !hw->read_fws) in mei_me_fw_status() 215 fw_status->count = fw_src->count; in mei_me_fw_status() 218 &fw_status->status[i]); in mei_me_fw_status() 221 fw_status->status[i]); in mei_me_fw_status() 1327 .fw_status = mei_me_fw_status, 1443 .fw_status.count = 0 1446 .fw_status.count = 1, \ 1447 .fw_status.status[0] = PCI_CFG_HFS_1 1452 .fw_status.status[1] = PCI_CFG_HFS_2 [all …]
|
A D | mei_dev.h | 330 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts); member 774 struct mei_fw_status *fw_status) in mei_fw_status() argument 776 return dev->ops->fw_status(dev, fw_status); in mei_fw_status() 813 struct mei_fw_status fw_status; in mei_fw_status_str() local 818 ret = mei_fw_status(dev, &fw_status); in mei_fw_status_str() 822 ret = mei_fw_status2str(&fw_status, buf, MEI_FW_STATUS_STR_SZ); in mei_fw_status_str()
|
A D | hw-txe.c | 638 struct mei_fw_status *fw_status) in mei_txe_fw_status() argument 645 if (!fw_status) in mei_txe_fw_status() 648 fw_status->count = fw_src->count; in mei_txe_fw_status() 651 &fw_status->status[i]); in mei_txe_fw_status() 654 fw_status->status[i]); in mei_txe_fw_status() 1163 .fw_status = mei_txe_fw_status,
|
A D | init.c | 56 ssize_t mei_fw_status2str(struct mei_fw_status *fw_status, in mei_fw_status2str() argument 67 for (i = 0; i < fw_status->count; i++) in mei_fw_status2str() 69 fw_status->status[i]); in mei_fw_status2str()
|
A D | hw-me.h | 28 const struct mei_fw_status fw_status; member
|
A D | main.c | 959 struct mei_fw_status fw_status; in fw_status_show() local 964 err = mei_fw_status(dev, &fw_status); in fw_status_show() 971 for (i = 0; i < fw_status.count; i++) in fw_status_show() 973 fw_status.status[i]); in fw_status_show() 976 static DEVICE_ATTR_RO(fw_status);
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_ctl.c | 691 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_set_nvmd() 697 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd() 709 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd() 732 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_update_flash() 737 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash() 779 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash() 817 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_store_update_fw() 824 pm8001_ha->fw_status = FAIL_PARAMETERS; in pm8001_store_update_fw() 837 pm8001_ha->fw_status = FAIL_PARAMETERS; in pm8001_store_update_fw() 866 pm8001_ha->fw_status = FLASH_OK; in pm8001_store_update_fw() [all …]
|
/linux/drivers/base/firmware_loader/ |
A D | firmware.h | 49 enum fw_status { enum 63 enum fw_status status; 92 enum fw_status status) in __fw_state_check() 114 enum fw_status status) in __fw_state_set()
|
/linux/drivers/usb/host/ |
A D | xhci-pci-renesas.c | 58 u8 fw_status; in renesas_fw_download_image() local 77 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image() 83 if (!(fw_status & BIT(data0_or_data1))) in renesas_fw_download_image() 295 u8 fw_status; in renesas_fw_download() local 330 &fw_status); in renesas_fw_download() 333 if (!(fw_status & (BIT(0) | BIT(1)))) in renesas_fw_download() 351 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_status); in renesas_fw_download() 354 if (fw_status & RENESAS_FW_STATUS_SUCCESS) in renesas_fw_download()
|
/linux/drivers/net/wireless/ti/wl18xx/ |
A D | main.c | 1181 struct wl_fw_status *fw_status) in wl18xx_convert_fw_status() argument 1185 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl18xx_convert_fw_status() 1193 fw_status->link_fast_bitmap = in wl18xx_convert_fw_status() 1195 fw_status->total_released_blks = in wl18xx_convert_fw_status() 1199 fw_status->counters.tx_released_pkts = in wl18xx_convert_fw_status() 1201 fw_status->counters.tx_lnk_free_pkts = in wl18xx_convert_fw_status() 1203 fw_status->counters.tx_voice_released_blks = in wl18xx_convert_fw_status() 1205 fw_status->counters.tx_last_rate = in wl18xx_convert_fw_status() 1207 fw_status->counters.tx_last_rate_mbps = in wl18xx_convert_fw_status() 1209 fw_status->counters.hlid = in wl18xx_convert_fw_status() [all …]
|
A D | tx.c | 135 (struct wl18xx_fw_status_priv *)wl->fw_status->priv; in wl18xx_tx_immediate_complete() 144 hlid = wl->fw_status->counters.hlid; in wl18xx_tx_immediate_complete() 148 wl->fw_status->counters.tx_last_rate; in wl18xx_tx_immediate_complete() 150 wl->fw_status->counters.tx_last_rate_mbps; in wl18xx_tx_immediate_complete()
|
/linux/drivers/net/wireless/ti/wl12xx/ |
A D | main.c | 1365 if (wl->fw_status->tx_results_counter == in wl12xx_tx_delayed_compl() 1426 struct wl_fw_status *fw_status) in wl12xx_convert_fw_status() argument 1430 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl12xx_convert_fw_status() 1431 fw_status->fw_rx_counter = int_fw_status->fw_rx_counter; in wl12xx_convert_fw_status() 1434 fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; in wl12xx_convert_fw_status() 1438 fw_status->link_fast_bitmap = in wl12xx_convert_fw_status() 1440 fw_status->total_released_blks = in wl12xx_convert_fw_status() 1444 fw_status->counters.tx_released_pkts = in wl12xx_convert_fw_status() 1446 fw_status->counters.tx_lnk_free_pkts = in wl12xx_convert_fw_status() 1448 fw_status->counters.tx_voice_released_blks = in wl12xx_convert_fw_status() [all …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_dev.c | 123 ioread8(&idev->dev_info_regs->fw_status); in ionic_dev_setup() 142 u8 fw_status; in ionic_heartbeat_check() local 162 fw_status = ioread8(&idev->dev_info_regs->fw_status); in ionic_heartbeat_check() 164 if (fw_status == 0xff || !(fw_status & IONIC_FW_STS_F_RUNNING)) { in ionic_heartbeat_check() 167 fw_generation = fw_status & IONIC_FW_STS_F_GENERATION; in ionic_heartbeat_check() 192 dev_info(ionic->dev, "FW stopped %u\n", fw_status); in ionic_heartbeat_check() 196 dev_info(ionic->dev, "FW running %u\n", fw_status); in ionic_heartbeat_check() 207 work->fw_status = fw_status_ready; in ionic_heartbeat_check()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | pcie.c | 42 .fw_status = PCIE_SCRATCH_3_REG, 74 .fw_status = PCIE_SCRATCH_3_REG, 111 .fw_status = PCIE_SCRATCH_3_REG, 436 u32 fw_status; in mwifiex_pcie_remove() local 448 mwifiex_read_reg(adapter, reg->fw_status, &fw_status); in mwifiex_pcie_remove() 450 fw_status = -1; in mwifiex_pcie_remove() 2809 u32 fw_status; in mwifiex_pcie_rdwr_firmware() local 2813 if (mwifiex_read_reg(adapter, reg->fw_status, &fw_status)) in mwifiex_pcie_rdwr_firmware() 3180 u32 fw_status; in mwifiex_cleanup_pcie() local 3196 mwifiex_read_reg(adapter, reg->fw_status, &fw_status); in mwifiex_cleanup_pcie() [all …]
|
/linux/drivers/net/wireless/rsi/ |
A D | rsi_91x_sdio_ops.c | 240 u8 fw_status = 0; in rsi_rx_handler() local 291 &fw_status); in rsi_rx_handler() 299 __func__, fw_status); in rsi_rx_handler()
|
A D | rsi_91x_usb.c | 785 u16 fw_status; in rsi_probe() local 822 status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); in rsi_probe() 826 fw_status &= 1; in rsi_probe() 828 if (!fw_status) { in rsi_probe()
|
/linux/drivers/misc/bcm-vk/ |
A D | bcm_vk_dev.c | 783 u32 fw_status; in bcm_vk_next_boot_image() local 787 fw_status = vkread32(vk, BAR_0, VK_BAR_FWSTS); in bcm_vk_next_boot_image() 797 boot_status, fw_status); in bcm_vk_next_boot_image() 1013 u32 fw_status, reset_reason; in bcm_vk_reset_successful() local 1027 fw_status = vkread32(vk, BAR_0, VK_BAR_FWSTS); in bcm_vk_reset_successful() 1029 if (BCM_VK_INTF_IS_DOWN(fw_status)) { in bcm_vk_reset_successful() 1034 reset_reason = (fw_status & VK_FWSTS_RESET_REASON_MASK); in bcm_vk_reset_successful() 1043 if ((fw_status & VK_FWSTS_DEINIT_TRIGGERED) && in bcm_vk_reset_successful() 1044 !(fw_status & VK_FWSTS_RESET_DONE)) in bcm_vk_reset_successful() 1048 dev_dbg(dev, "FW status = 0x%x ret %d\n", fw_status, ret); in bcm_vk_reset_successful()
|
A D | bcm_vk.h | 479 u32 fw_status; in bcm_vk_msgq_marker_valid() local 481 fw_status = vkread32(vk, BAR_0, VK_BAR_FWSTS); in bcm_vk_msgq_marker_valid() 483 if ((fw_status & VK_FWSTS_READY) == VK_FWSTS_READY) in bcm_vk_msgq_marker_valid()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | fw.c | 56 static enum fw_status _rtl92s_firmware_get_nextstatus( in _rtl92s_firmware_get_nextstatus() 57 enum fw_status fw_currentstatus) in _rtl92s_firmware_get_nextstatus() 59 enum fw_status next_fwstatus = 0; in _rtl92s_firmware_get_nextstatus() 201 firmware->fwstatus = (enum fw_status)loadfw_status; in _rtl92s_firmware_checkready()
|
A D | fw.h | 180 enum fw_status { enum 190 enum fw_status fwstatus;
|
/linux/drivers/media/pci/saa7164/ |
A D | saa7164-core.c | 713 struct saa7164_fw_status *s = &dev->fw_status; in saa7164_getfirmwarestatus() 715 dev->fw_status.status = saa7164_readl(SAA_DEVICE_SYSINIT_STATUS); in saa7164_getfirmwarestatus() 716 dev->fw_status.mode = saa7164_readl(SAA_DEVICE_SYSINIT_MODE); in saa7164_getfirmwarestatus() 717 dev->fw_status.spec = saa7164_readl(SAA_DEVICE_SYSINIT_SPEC); in saa7164_getfirmwarestatus() 718 dev->fw_status.inst = saa7164_readl(SAA_DEVICE_SYSINIT_INST); in saa7164_getfirmwarestatus() 719 dev->fw_status.cpuload = saa7164_readl(SAA_DEVICE_SYSINIT_CPULOAD); in saa7164_getfirmwarestatus() 720 dev->fw_status.remainheap = in saa7164_getfirmwarestatus()
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | hw_ops.h | 97 struct wl_fw_status *fw_status) in wlcore_hw_convert_fw_status() argument 101 wl->ops->convert_fw_status(wl, raw_fw_status, fw_status); in wlcore_hw_convert_fw_status()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_isr.c | 2130 uint32_t fw_status[3]; in qla24xx_els_ct_entry() local 2145 comp_status = fw_status[0] = le16_to_cpu(pkt->comp_status); in qla24xx_els_ct_entry() 2214 els->u.els_plogi.fw_status[0] = cpu_to_le32(fw_status[0]); in qla24xx_els_ct_entry() 2215 els->u.els_plogi.fw_status[1] = cpu_to_le32(fw_status[1]); in qla24xx_els_ct_entry() 2216 els->u.els_plogi.fw_status[2] = cpu_to_le32(fw_status[2]); in qla24xx_els_ct_entry() 2217 els->u.els_plogi.comp_status = cpu_to_le16(fw_status[0]); in qla24xx_els_ct_entry() 2257 fw_status[1], fw_status[2], in qla24xx_els_ct_entry() 2268 fw_status[1], fw_status[2], in qla24xx_els_ct_entry() 2285 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry() 2296 type, sp->handle, comp_status, fw_status[1], fw_status[2], in qla24xx_els_ct_entry() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | cmd.c | 133 u8 fw_status; member 218 static int mlx4_closing_cmd_fatal_error(u16 op, u8 fw_status) in mlx4_closing_cmd_fatal_error() argument 373 if (err && context->fw_status != CMD_STAT_MULTI_FUNC_REQ) { in mlx4_comm_cmd_wait() 375 vhcr_cmd, context->fw_status); in mlx4_comm_cmd_wait() 376 if (mlx4_closing_cmd_fatal_error(op, context->fw_status)) in mlx4_comm_cmd_wait() 670 context->fw_status = status; in mlx4_cmd_event() 714 context->fw_status = 0; in mlx4_cmd_wait() 744 context->fw_status == CMD_STAT_BAD_SIZE) in mlx4_cmd_wait() 746 op, context->fw_status); in mlx4_cmd_wait() 749 op, context->fw_status); in mlx4_cmd_wait() [all …]
|