/Linux-v4.19/drivers/base/firmware_loader/ |
D | firmware.h | 42 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/ |
D | hw-me.c | 194 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 …]
|
D | mei_dev.h | 289 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()
|
D | init.c | 66 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()
|
D | hw-txe.c | 648 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,
|
D | hw-me.h | 37 const struct mei_fw_status fw_status; member
|
D | main.c | 719 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/ |
D | pm8001_ctl.c | 584 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/ |
D | tx.c | 149 (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()
|
D | main.c | 1195 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/ |
D | d3.c | 1557 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/ |
D | main.c | 1382 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/ |
D | pcie.h | 127 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,
|
D | pcie.c | 286 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/ |
D | rsi_91x_sdio_ops.c | 267 u8 fw_status = 0; in rsi_interrupt_handler() local 323 &fw_status); in rsi_interrupt_handler() 331 __func__ , fw_status); in rsi_interrupt_handler()
|
D | rsi_91x_usb.c | 741 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/ |
D | fw.c | 78 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()
|
D | fw.h | 201 enum fw_status { enum 211 enum fw_status fwstatus;
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 111 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()
|
D | wlcore.h | 80 struct wl_fw_status *fw_status); 362 struct wl_fw_status *fw_status; member
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 1550 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/ |
D | saa7164-core.c | 725 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/ |
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 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/ |
D | sysfs-class-mei | 17 What: /sys/class/mei/meiN/fw_status
|
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/ |
D | halmac_api_88xx.h | 310 bool *fw_status);
|