Home
last modified time | relevance | path

Searched refs:fw_status (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/drivers/base/firmware_loader/
Dfirmware.h42 enum fw_status { enum
56 enum fw_status status;
81 enum fw_status status) in __fw_state_check()
103 enum fw_status status) in __fw_state_set()
/Linux-v4.19/drivers/misc/mei/
Dhw-me.c194 struct mei_fw_status *fw_status) in mei_me_fw_status() argument
198 const struct mei_fw_status *fw_src = &hw->cfg->fw_status; in mei_me_fw_status()
202 if (!fw_status) in mei_me_fw_status()
205 fw_status->count = fw_src->count; in mei_me_fw_status()
208 &fw_status->status[i]); in mei_me_fw_status()
211 fw_status->status[i]); in mei_me_fw_status()
1310 .fw_status = mei_me_fw_status,
1373 .fw_status.count = 0
1376 .fw_status.count = 1, \
1377 .fw_status.status[0] = PCI_CFG_HFS_1
[all …]
Dmei_dev.h289 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts); member
696 struct mei_fw_status *fw_status) in mei_fw_status() argument
698 return dev->ops->fw_status(dev, fw_status); in mei_fw_status()
737 struct mei_fw_status fw_status; in mei_fw_status_str() local
742 ret = mei_fw_status(dev, &fw_status); in mei_fw_status_str()
746 ret = mei_fw_status2str(&fw_status, buf, MEI_FW_STATUS_STR_SZ); in mei_fw_status_str()
Dinit.c66 ssize_t mei_fw_status2str(struct mei_fw_status *fw_status, in mei_fw_status2str() argument
77 for (i = 0; i < fw_status->count; i++) in mei_fw_status2str()
79 fw_status->status[i]); in mei_fw_status2str()
Dhw-txe.c648 struct mei_fw_status *fw_status) in mei_txe_fw_status() argument
655 if (!fw_status) in mei_txe_fw_status()
658 fw_status->count = fw_src->count; in mei_txe_fw_status()
661 &fw_status->status[i]); in mei_txe_fw_status()
664 fw_status->status[i]); in mei_txe_fw_status()
1169 .fw_status = mei_txe_fw_status,
Dhw-me.h37 const struct mei_fw_status fw_status; member
Dmain.c719 struct mei_fw_status fw_status; in fw_status_show() local
724 err = mei_fw_status(dev, &fw_status); in fw_status_show()
731 for (i = 0; i < fw_status.count; i++) in fw_status_show()
733 fw_status.status[i]); in fw_status_show()
736 static DEVICE_ATTR_RO(fw_status);
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_ctl.c584 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_set_nvmd()
590 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd()
602 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd()
625 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_update_flash()
630 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash()
672 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash()
677 pm8001_ha->fw_status = fwControl->retcode; in pm8001_update_flash()
704 if (pm8001_ha->fw_status == FLASH_IN_PROGRESS) in pm8001_store_update_fw()
706 pm8001_ha->fw_status = FLASH_IN_PROGRESS; in pm8001_store_update_fw()
710 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_store_update_fw()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/
Dtx.c149 (struct wl18xx_fw_status_priv *)wl->fw_status->priv; in wl18xx_tx_immediate_complete()
158 hlid = wl->fw_status->counters.hlid; in wl18xx_tx_immediate_complete()
162 wl->fw_status->counters.tx_last_rate; in wl18xx_tx_immediate_complete()
164 wl->fw_status->counters.tx_last_rate_mbps; in wl18xx_tx_immediate_complete()
Dmain.c1195 struct wl_fw_status *fw_status) in wl18xx_convert_fw_status() argument
1199 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl18xx_convert_fw_status()
1200 fw_status->fw_rx_counter = int_fw_status->fw_rx_counter; in wl18xx_convert_fw_status()
1201 fw_status->drv_rx_counter = int_fw_status->drv_rx_counter; in wl18xx_convert_fw_status()
1202 fw_status->tx_results_counter = int_fw_status->tx_results_counter; in wl18xx_convert_fw_status()
1203 fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; in wl18xx_convert_fw_status()
1205 fw_status->fw_localtime = le32_to_cpu(int_fw_status->fw_localtime); in wl18xx_convert_fw_status()
1206 fw_status->link_ps_bitmap = le32_to_cpu(int_fw_status->link_ps_bitmap); in wl18xx_convert_fw_status()
1207 fw_status->link_fast_bitmap = in wl18xx_convert_fw_status()
1209 fw_status->total_released_blks = in wl18xx_convert_fw_status()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1557 struct iwl_wowlan_status *status, *fw_status; in iwl_mvm_get_wakeup_status() local
1587 status_size = sizeof(*fw_status); in iwl_mvm_get_wakeup_status()
1592 fw_status = ERR_PTR(-EIO); in iwl_mvm_get_wakeup_status()
1600 fw_status = ERR_PTR(-EIO); in iwl_mvm_get_wakeup_status()
1604 fw_status = kmemdup(status, len, GFP_KERNEL); in iwl_mvm_get_wakeup_status()
1608 return fw_status; in iwl_mvm_get_wakeup_status()
1616 struct iwl_wowlan_status *fw_status; in iwl_mvm_query_wakeup_reasons() local
1621 fw_status = iwl_mvm_get_wakeup_status(mvm, vif); in iwl_mvm_query_wakeup_reasons()
1622 if (IS_ERR_OR_NULL(fw_status)) in iwl_mvm_query_wakeup_reasons()
1625 status.pattern_number = le16_to_cpu(fw_status->pattern_number); in iwl_mvm_query_wakeup_reasons()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Dmain.c1382 if (wl->fw_status->tx_results_counter == in wl12xx_tx_delayed_compl()
1443 struct wl_fw_status *fw_status) in wl12xx_convert_fw_status() argument
1447 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl12xx_convert_fw_status()
1448 fw_status->fw_rx_counter = int_fw_status->fw_rx_counter; in wl12xx_convert_fw_status()
1449 fw_status->drv_rx_counter = int_fw_status->drv_rx_counter; in wl12xx_convert_fw_status()
1450 fw_status->tx_results_counter = int_fw_status->tx_results_counter; in wl12xx_convert_fw_status()
1451 fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; in wl12xx_convert_fw_status()
1453 fw_status->fw_localtime = le32_to_cpu(int_fw_status->fw_localtime); in wl12xx_convert_fw_status()
1454 fw_status->link_ps_bitmap = le32_to_cpu(int_fw_status->link_ps_bitmap); in wl12xx_convert_fw_status()
1455 fw_status->link_fast_bitmap = in wl12xx_convert_fw_status()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dpcie.h127 u16 fw_status; member
165 .fw_status = PCIE_SCRATCH_3_REG,
197 .fw_status = PCIE_SCRATCH_3_REG,
234 .fw_status = PCIE_SCRATCH_3_REG,
Dpcie.c286 u32 fw_status; in mwifiex_pcie_remove() local
299 ret = mwifiex_read_reg(adapter, reg->fw_status, &fw_status); in mwifiex_pcie_remove()
301 fw_status = -1; in mwifiex_pcie_remove()
303 if (fw_status == FIRMWARE_READY_PCIE && !adapter->mfg_mode) { in mwifiex_pcie_remove()
505 if (mwifiex_write_reg(adapter, reg->fw_status, FIRMWARE_READY_PCIE)) { in mwifiex_pm_wakeup_card()
2303 if (mwifiex_read_reg(adapter, reg->fw_status, in mwifiex_check_fw_status()
2336 if (mwifiex_read_reg(adapter, reg->fw_status, &winner)) { in mwifiex_check_winner_status()
2590 if (mwifiex_read_reg(adapter, reg->fw_status, &value)) { in mwifiex_pcie_reg_dump()
2617 u32 fw_status; in mwifiex_pcie_rdwr_firmware() local
2621 if (mwifiex_read_reg(adapter, reg->fw_status, &fw_status)) in mwifiex_pcie_rdwr_firmware()
[all …]
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_sdio_ops.c267 u8 fw_status = 0; in rsi_interrupt_handler() local
323 &fw_status); in rsi_interrupt_handler()
331 __func__ , fw_status); in rsi_interrupt_handler()
Drsi_91x_usb.c741 u16 fw_status; in rsi_probe() local
765 status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); in rsi_probe()
769 fw_status &= 1; in rsi_probe()
771 if (!fw_status) { in rsi_probe()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c78 static enum fw_status _rtl92s_firmware_get_nextstatus( in _rtl92s_firmware_get_nextstatus()
79 enum fw_status fw_currentstatus) in _rtl92s_firmware_get_nextstatus()
81 enum fw_status next_fwstatus = 0; in _rtl92s_firmware_get_nextstatus()
225 firmware->fwstatus = (enum fw_status)loadfw_status; in _rtl92s_firmware_checkready()
Dfw.h201 enum fw_status { enum
211 enum fw_status fwstatus;
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dhw_ops.h111 struct wl_fw_status *fw_status) in wlcore_hw_convert_fw_status() argument
115 wl->ops->convert_fw_status(wl, raw_fw_status, fw_status); in wlcore_hw_convert_fw_status()
Dwlcore.h80 struct wl_fw_status *fw_status);
362 struct wl_fw_status *fw_status; member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_isr.c1550 uint32_t fw_status[3]; in qla24xx_els_ct_entry() local
1592 comp_status = fw_status[0] = le16_to_cpu(pkt->comp_status); in qla24xx_els_ct_entry()
1593 fw_status[1] = le16_to_cpu(((struct els_sts_entry_24xx*)pkt)->error_subcode_1); in qla24xx_els_ct_entry()
1594 fw_status[2] = le16_to_cpu(((struct els_sts_entry_24xx*)pkt)->error_subcode_2); in qla24xx_els_ct_entry()
1598 els->u.els_plogi.fw_status[0] = fw_status[0]; in qla24xx_els_ct_entry()
1599 els->u.els_plogi.fw_status[1] = fw_status[1]; in qla24xx_els_ct_entry()
1600 els->u.els_plogi.fw_status[2] = fw_status[2]; in qla24xx_els_ct_entry()
1601 els->u.els_plogi.comp_status = fw_status[0]; in qla24xx_els_ct_entry()
1617 type, sp->handle, comp_status, fw_status[1], fw_status[2], in qla24xx_els_ct_entry()
1629 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry()
[all …]
/Linux-v4.19/drivers/media/pci/saa7164/
Dsaa7164-core.c725 struct saa7164_fw_status *s = &dev->fw_status; in saa7164_getfirmwarestatus()
727 dev->fw_status.status = saa7164_readl(SAA_DEVICE_SYSINIT_STATUS); in saa7164_getfirmwarestatus()
728 dev->fw_status.mode = saa7164_readl(SAA_DEVICE_SYSINIT_MODE); in saa7164_getfirmwarestatus()
729 dev->fw_status.spec = saa7164_readl(SAA_DEVICE_SYSINIT_SPEC); in saa7164_getfirmwarestatus()
730 dev->fw_status.inst = saa7164_readl(SAA_DEVICE_SYSINIT_INST); in saa7164_getfirmwarestatus()
731 dev->fw_status.cpuload = saa7164_readl(SAA_DEVICE_SYSINIT_CPULOAD); in saa7164_getfirmwarestatus()
732 dev->fw_status.remainheap = in saa7164_getfirmwarestatus()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c133 u8 fw_status; member
218 static int mlx4_closing_cmd_fatal_error(u16 op, u8 fw_status) in mlx4_closing_cmd_fatal_error() argument
236 if (op == MLX4_CMD_HW2SW_MPT && fw_status != CMD_STAT_REG_BOUND) in mlx4_closing_cmd_fatal_error()
374 if (err && context->fw_status != CMD_STAT_MULTI_FUNC_REQ) { in mlx4_comm_cmd_wait()
376 vhcr_cmd, context->fw_status); in mlx4_comm_cmd_wait()
377 if (mlx4_closing_cmd_fatal_error(op, context->fw_status)) in mlx4_comm_cmd_wait()
677 context->fw_status = status; in mlx4_cmd_event()
721 context->fw_status = 0; in mlx4_cmd_wait()
751 context->fw_status == CMD_STAT_BAD_SIZE) in mlx4_cmd_wait()
753 op, context->fw_status); in mlx4_cmd_wait()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-mei17 What: /sys/class/mei/meiN/fw_status
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_api_88xx.h310 bool *fw_status);

12