/linux/drivers/misc/mei/ |
H A D | hw-me.c | 206 struct mei_fw_status *fw_status) in mei_me_fw_status() argument 209 const struct mei_fw_status *fw_src = &hw->cfg->fw_status; in mei_me_fw_status() 213 if (!fw_status || !hw->read_fws) in mei_me_fw_status() 216 fw_status->count = fw_src->count; in mei_me_fw_status() 219 &fw_status->status[i]); in mei_me_fw_status() 222 fw_status->status[i]); in mei_me_fw_status() 503 struct mei_fw_status fw_status; in mei_me_check_fw_reset() local 512 ret = mei_fw_status(dev, &fw_status); in mei_me_check_fw_reset() 514 fw_pm_event = fw_status.status[1] & PCI_CFG_HFS_2_PM_EVENT_MASK; in mei_me_check_fw_reset() 1494 .fw_status = mei_me_fw_status, [all …]
|
H A D | init.c | 57 ssize_t mei_fw_status2str(struct mei_fw_status *fw_status, in mei_fw_status2str() argument 68 for (i = 0; i < fw_status->count; i++) in mei_fw_status2str() 70 fw_status->status[i]); in mei_fw_status2str() 94 struct mei_fw_status fw_status; in mei_save_fw_status() local 97 ret = mei_fw_status(dev, &fw_status); in mei_save_fw_status() 105 memcpy(&dev->saved_fw_status, &fw_status, sizeof(fw_status)); in mei_save_fw_status()
|
H A D | mei_dev.h | 369 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts); member 847 struct mei_fw_status *fw_status) in mei_fw_status() argument 849 return dev->ops->fw_status(dev, fw_status); in mei_fw_status() 886 struct mei_fw_status fw_status; in mei_fw_status_str() local 891 ret = mei_fw_status(dev, &fw_status); in mei_fw_status_str() 895 ret = mei_fw_status2str(&fw_status, buf, MEI_FW_STATUS_STR_SZ); in mei_fw_status_str()
|
H A D | platform-vsc.c | 79 struct mei_fw_status *fw_status) in mei_vsc_fw_status() argument 81 if (!fw_status) in mei_vsc_fw_status() 84 fw_status->count = 0; in mei_vsc_fw_status() 263 .fw_status = mei_vsc_fw_status,
|
H 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() 1159 .fw_status = mei_txe_fw_status,
|
/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 687 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_set_nvmd() 693 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd() 705 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd() 731 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_update_flash() 736 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash() 777 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash() 782 pm8001_ha->fw_status = fwControl->retcode; in pm8001_update_flash() 809 if (pm8001_ha->fw_status == FLASH_IN_PROGRESS) in pm8001_store_update_fw() 811 pm8001_ha->fw_status = FLASH_IN_PROGRESS; in pm8001_store_update_fw() 815 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_store_update_fw() [all …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_dev.c | 153 ioread8(&idev->dev_info_regs->fw_status); in ionic_watchdog_init() 290 u8 fw_status; in __ionic_is_fw_running() local 298 fw_status = ioread8(&idev->dev_info_regs->fw_status); in __ionic_is_fw_running() 300 *status_ptr = fw_status; in __ionic_is_fw_running() 305 return (fw_status != 0xff) && (fw_status & IONIC_FW_STS_F_RUNNING); in __ionic_is_fw_running() 321 u8 fw_status; in ionic_heartbeat_check() local 338 if (!__ionic_is_fw_running(idev, &fw_status)) { in ionic_heartbeat_check() 341 fw_generation = fw_status & IONIC_FW_STS_F_GENERATION; in ionic_heartbeat_check() 367 fw_status, fw_status_ready, idev->fw_status_ready, in ionic_heartbeat_check() 380 dev_info(ionic->dev, "FW stopped 0x%02x\n", fw_status); in ionic_heartbeat_check() [all …]
|
/linux/drivers/usb/host/ |
H A D | xhci-pci-renesas.c | 60 u8 fw_status; in renesas_fw_download_image() local 79 err = pci_read_config_byte(dev, status_reg, &fw_status); in renesas_fw_download_image() 85 if (!(fw_status & BIT(data0_or_data1))) in renesas_fw_download_image() 293 u8 fw_status; in renesas_fw_download() local 328 &fw_status); in renesas_fw_download() 331 if (!(fw_status & (BIT(0) | BIT(1)))) in renesas_fw_download() 349 err = pci_read_config_byte(pdev, RENESAS_FW_STATUS, &fw_status); in renesas_fw_download() 352 if (fw_status & RENESAS_FW_STATUS_SUCCESS) in renesas_fw_download()
|
/linux/drivers/base/firmware_loader/ |
H A D | firmware.h | 47 enum fw_status { enum 61 enum fw_status status; 92 enum fw_status status) in __fw_state_check() 114 enum fw_status status) in __fw_state_set()
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | adminq.c | 191 u8 fw_status = in __pdsc_adminq_post() local 192 ioread8(&pdsc->info_regs->fw_status); in __pdsc_adminq_post() 195 __func__, fw_status); in __pdsc_adminq_post() 272 u8 fw_status = in pdsc_adminq_post() local 273 ioread8(&pdsc->info_regs->fw_status); in pdsc_adminq_post() 276 __func__, fw_status); in pdsc_adminq_post()
|
H A D | dev.c | 63 pdsc->fw_status = ioread8(&pdsc->info_regs->fw_status); in pdsc_is_fw_running() 70 return (pdsc->fw_status != PDS_RC_BAD_PCI) && in pdsc_is_fw_running() 71 (pdsc->fw_status & PDS_CORE_FW_STS_F_RUNNING); in pdsc_is_fw_running() 82 gen = pdsc->fw_status & PDS_CORE_FW_STS_F_GENERATION; in pdsc_is_fw_good() 254 ioread8(&pdsc->info_regs->fw_status); in pdsc_init_devinfo()
|
H A D | core.c | 608 u8 fw_status; in pdsc_check_pci_health() local 614 fw_status = ioread8(&pdsc->info_regs->fw_status); in pdsc_check_pci_health() 617 if (fw_status != PDS_RC_BAD_PCI) in pdsc_check_pci_health() 640 __func__, healthy, pdsc->fw_status, pdsc->last_hb); in pdsc_health_thread() 652 pdsc->fw_generation = pdsc->fw_status & PDS_CORE_FW_STS_F_GENERATION; in pdsc_health_thread()
|
/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | tx.c | 143 (struct wl18xx_fw_status_priv *)wl->fw_status->priv; in wl18xx_tx_immediate_complete() 152 hlid = wl->fw_status->counters.hlid; in wl18xx_tx_immediate_complete() 156 wl->fw_status->counters.tx_last_rate; in wl18xx_tx_immediate_complete() 158 wl->fw_status->counters.tx_last_rate_mbps; in wl18xx_tx_immediate_complete()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_gsc_fw.c | 19 u32 fw_status = intel_uncore_read(uncore, HECI_FWSTS(MTL_GSC_HECI1_BASE, 1)); in gsc_is_in_reset() local 21 return REG_FIELD_GET(HECI1_FWSTS1_CURRENT_STATE, fw_status) == in gsc_is_in_reset() 28 u32 fw_status = 0; in gsc_uc_get_fw_status() local 33 fw_status = intel_uncore_read(uncore, HECI_FWSTS(MTL_GSC_HECI1_BASE, 1)); in gsc_uc_get_fw_status() 37 return fw_status; in gsc_uc_get_fw_status()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.c | 30 .fw_status = PCIE_SCRATCH_3_REG, 62 .fw_status = PCIE_SCRATCH_3_REG, 99 .fw_status = PCIE_SCRATCH_3_REG, 433 u32 fw_status; in mwifiex_pcie_remove() local 445 mwifiex_read_reg(adapter, reg->fw_status, &fw_status); in mwifiex_pcie_remove() 447 fw_status = -1; in mwifiex_pcie_remove() 449 if (fw_status == FIRMWARE_READY_PCIE && !adapter->mfg_mode) { in mwifiex_pcie_remove() 672 adapter, reg->fw_status, FIRMWARE_READY_PCIE)) { in mwifiex_pm_wakeup_card() 677 adapter, reg->fw_status, FIRMWARE_READY_PCIE)) { in mwifiex_pm_wakeup_card() 2346 if (mwifiex_read_reg(adapter, reg->fw_status, in mwifiex_check_fw_status() [all …]
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio_ops.c | 237 u8 fw_status = 0; in rsi_rx_handler() local 288 &fw_status); in rsi_rx_handler() 296 __func__, fw_status); in rsi_rx_handler()
|
H A D | rsi_91x_usb.c | 790 u16 fw_status; in rsi_probe() local 827 status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); in rsi_probe() 831 fw_status &= 1; in rsi_probe() 833 if (!fw_status) { in rsi_probe()
|
/linux/drivers/misc/bcm-vk/ |
H 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()
|
H 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/ |
H 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()
|
H A D | fw.h | 180 enum fw_status { enum 190 enum fw_status fwstatus;
|
/linux/sound/soc/codecs/ |
H A D | aw87390.c | 143 if (!aw_dev->fw_status) { in aw87390_power_on() 258 aw87390->aw_pa->fw_status = AW87390_DEV_FW_FAILED; in aw87390_request_firmware_file() 399 aw_dev->fw_status = AW87390_DEV_FW_FAILED; in aw87390_init()
|
/linux/drivers/net/wireless/ti/wlcore/ |
H 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/media/pci/saa7164/ |
H A D | saa7164-core.c | 711 struct saa7164_fw_status *s = &dev->fw_status; in saa7164_getfirmwarestatus() 713 dev->fw_status.status = saa7164_readl(SAA_DEVICE_SYSINIT_STATUS); in saa7164_getfirmwarestatus() 714 dev->fw_status.mode = saa7164_readl(SAA_DEVICE_SYSINIT_MODE); in saa7164_getfirmwarestatus() 715 dev->fw_status.spec = saa7164_readl(SAA_DEVICE_SYSINIT_SPEC); in saa7164_getfirmwarestatus() 716 dev->fw_status.inst = saa7164_readl(SAA_DEVICE_SYSINIT_INST); in saa7164_getfirmwarestatus() 717 dev->fw_status.cpuload = saa7164_readl(SAA_DEVICE_SYSINIT_CPULOAD); in saa7164_getfirmwarestatus() 718 dev->fw_status.remainheap = in saa7164_getfirmwarestatus()
|
/linux/sound/soc/sof/ |
H A D | ipc4-fw-reg.h | 129 u32 fw_status; member
|