Home
last modified time | relevance | path

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

12

/drivers/scsi/pm8001/
Dpm8001_ctl.c532 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_set_nvmd()
538 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd()
550 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_set_nvmd()
573 pm8001_ha->fw_status = FAIL_FILE_SIZE; in pm8001_update_flash()
578 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash()
620 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_update_flash()
625 pm8001_ha->fw_status = fwControl->retcode; in pm8001_update_flash()
652 if (pm8001_ha->fw_status == FLASH_IN_PROGRESS) in pm8001_store_update_fw()
654 pm8001_ha->fw_status = FLASH_IN_PROGRESS; in pm8001_store_update_fw()
658 pm8001_ha->fw_status = FAIL_OUT_MEMORY; in pm8001_store_update_fw()
[all …]
/drivers/misc/mei/
Dhw-me.c114 struct mei_fw_status *fw_status) in mei_me_fw_status() argument
118 const struct mei_fw_status *fw_src = &hw->cfg->fw_status; in mei_me_fw_status()
122 if (!fw_status) in mei_me_fw_status()
125 fw_status->count = fw_src->count; in mei_me_fw_status()
128 fw_src->status[i], &fw_status->status[i]); in mei_me_fw_status()
833 .fw_status = mei_me_fw_status,
887 .fw_status.count = 0
890 .fw_status.count = 1, \
891 .fw_status.status[0] = PCI_CFG_HFS_1
894 .fw_status.count = 2, \
[all …]
Dmei_dev.h295 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts); member
813 struct mei_fw_status *fw_status) in mei_fw_status() argument
815 return dev->ops->fw_status(dev, fw_status); in mei_fw_status()
819 #define FW_STS_PRM(fw_status) \ argument
820 (fw_status).count > 0 ? (fw_status).status[0] : 0xDEADBEEF, \
821 (fw_status).count > 1 ? (fw_status).status[1] : 0xDEADBEEF
Dhw-txe.c631 struct mei_fw_status *fw_status) in mei_txe_fw_status() argument
638 if (!fw_status) in mei_txe_fw_status()
641 fw_status->count = fw_src->count; in mei_txe_fw_status()
644 fw_src->status[i], &fw_status->status[i]); in mei_txe_fw_status()
715 struct mei_fw_status fw_status; in mei_txe_write() local
717 mei_fw_status(dev, &fw_status); in mei_txe_write()
719 FW_STS_PRM(fw_status)); in mei_txe_write()
1148 .fw_status = mei_txe_fw_status,
Dinit.c89 struct mei_fw_status fw_status; in mei_reset() local
91 mei_fw_status(dev, &fw_status); in mei_reset()
94 mei_dev_state_str(state), FW_STS_PRM(fw_status)); in mei_reset()
Dhw-me.h36 const struct mei_fw_status fw_status; member
/drivers/net/wireless/ti/wl18xx/
Dmain.c1141 struct wl_fw_status *fw_status) in wl18xx_convert_fw_status() argument
1145 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl18xx_convert_fw_status()
1146 fw_status->fw_rx_counter = int_fw_status->fw_rx_counter; in wl18xx_convert_fw_status()
1147 fw_status->drv_rx_counter = int_fw_status->drv_rx_counter; in wl18xx_convert_fw_status()
1148 fw_status->tx_results_counter = int_fw_status->tx_results_counter; in wl18xx_convert_fw_status()
1149 fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; in wl18xx_convert_fw_status()
1151 fw_status->fw_localtime = le32_to_cpu(int_fw_status->fw_localtime); in wl18xx_convert_fw_status()
1152 fw_status->link_ps_bitmap = le32_to_cpu(int_fw_status->link_ps_bitmap); in wl18xx_convert_fw_status()
1153 fw_status->link_fast_bitmap = in wl18xx_convert_fw_status()
1155 fw_status->total_released_blks = in wl18xx_convert_fw_status()
[all …]
Dtx.c35 u8 fw_rate = wl->fw_status->counters.tx_last_rate; in wl18xx_get_last_tx_rate()
145 (struct wl18xx_fw_status_priv *)wl->fw_status->priv; in wl18xx_tx_immediate_complete()
/drivers/net/wireless/ti/wl12xx/
Dmain.c1379 if (wl->fw_status->tx_results_counter == in wl12xx_tx_delayed_compl()
1440 struct wl_fw_status *fw_status) in wl12xx_convert_fw_status() argument
1444 fw_status->intr = le32_to_cpu(int_fw_status->intr); in wl12xx_convert_fw_status()
1445 fw_status->fw_rx_counter = int_fw_status->fw_rx_counter; in wl12xx_convert_fw_status()
1446 fw_status->drv_rx_counter = int_fw_status->drv_rx_counter; in wl12xx_convert_fw_status()
1447 fw_status->tx_results_counter = int_fw_status->tx_results_counter; in wl12xx_convert_fw_status()
1448 fw_status->rx_pkt_descs = int_fw_status->rx_pkt_descs; in wl12xx_convert_fw_status()
1450 fw_status->fw_localtime = le32_to_cpu(int_fw_status->fw_localtime); in wl12xx_convert_fw_status()
1451 fw_status->link_ps_bitmap = le32_to_cpu(int_fw_status->link_ps_bitmap); in wl12xx_convert_fw_status()
1452 fw_status->link_fast_bitmap = in wl12xx_convert_fw_status()
[all …]
/drivers/net/wireless/rsi/
Drsi_91x_usb.c459 u16 fw_status; in rsi_probe() local
482 status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); in rsi_probe()
486 fw_status &= 1; in rsi_probe()
488 if (!fw_status) { in rsi_probe()
Drsi_91x_sdio_ops.c369 u8 fw_status = 0; in rsi_interrupt_handler() local
422 &fw_status); in rsi_interrupt_handler()
430 __func__ , fw_status); in rsi_interrupt_handler()
/drivers/net/wireless/mwifiex/
Dpcie.h107 u16 fw_status; member
142 .fw_status = PCIE_SCRATCH_3_REG,
173 .fw_status = PCIE_SCRATCH_3_REG,
Dpcie.c380 u32 fw_status; in mwifiex_pm_wakeup_card() local
390 if (mwifiex_read_reg(adapter, reg->fw_status, &fw_status)) { in mwifiex_pm_wakeup_card()
2003 if (mwifiex_read_reg(adapter, reg->fw_status, in mwifiex_check_fw_status()
2020 if (mwifiex_read_reg(adapter, reg->fw_status, in mwifiex_check_fw_status()
/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1467 struct iwl_wowlan_status *fw_status; in iwl_mvm_query_wakeup_reasons() local
1504 status_size = sizeof(*fw_status); in iwl_mvm_query_wakeup_reasons()
1512 fw_status = (void *)cmd.resp_pkt->data; in iwl_mvm_query_wakeup_reasons()
1514 status.pattern_number = le16_to_cpu(fw_status->pattern_number); in iwl_mvm_query_wakeup_reasons()
1517 le16_to_cpu(fw_status->qos_seq_ctr[i]); in iwl_mvm_query_wakeup_reasons()
1518 status.wakeup_reasons = le32_to_cpu(fw_status->wakeup_reasons); in iwl_mvm_query_wakeup_reasons()
1520 le32_to_cpu(fw_status->wake_packet_length); in iwl_mvm_query_wakeup_reasons()
1522 le32_to_cpu(fw_status->wake_packet_bufsize); in iwl_mvm_query_wakeup_reasons()
1523 status.wake_packet = fw_status->wake_packet; in iwl_mvm_query_wakeup_reasons()
1550 keep = iwl_mvm_setup_connection_keep(mvm, vif, fw_status); in iwl_mvm_query_wakeup_reasons()
/drivers/net/wireless/rtlwifi/rtl8192se/
Dfw.c82 static enum fw_status _rtl92s_firmware_get_nextstatus( in _rtl92s_firmware_get_nextstatus()
83 enum fw_status fw_currentstatus) in _rtl92s_firmware_get_nextstatus()
85 enum fw_status next_fwstatus = 0; in _rtl92s_firmware_get_nextstatus()
233 firmware->fwstatus = (enum fw_status)loadfw_status; in _rtl92s_firmware_checkready()
Dfw.h205 enum fw_status { enum
215 enum fw_status fwstatus;
/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.h77 struct wl_fw_status *fw_status);
360 struct wl_fw_status *fw_status; member
Dmain.c397 wlcore_hw_convert_fw_status(wl, wl->raw_fw_status, wl->fw_status); in wlcore_fw_status()
549 ret = wlcore_fw_status(wl, wl->fw_status); in wlcore_irq_locked()
555 intr = wl->fw_status->intr; in wlcore_irq_locked()
584 ret = wlcore_rx(wl, wl->fw_status); in wlcore_irq_locked()
844 ret = wlcore_fw_status(wl, wl->fw_status); in wl12xx_read_fwlog_panic()
848 addr = wl->fw_status->log_start_addr; in wl12xx_read_fwlog_panic()
1040 wl->fw_status = kzalloc(sizeof(*wl->fw_status), GFP_KERNEL); in wl1271_setup()
1041 if (!wl->fw_status) in wl1271_setup()
1050 kfree(wl->fw_status); in wl1271_setup()
2006 kfree(wl->fw_status); in wlcore_op_stop_locked()
[all …]
/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()
Dsaa7164.h450 struct saa7164_fw_status fw_status; member
/drivers/scsi/qla2xxx/
Dqla_isr.c1364 uint32_t fw_status[3]; in qla24xx_els_ct_entry() local
1388 comp_status = fw_status[0] = le16_to_cpu(pkt->comp_status); in qla24xx_els_ct_entry()
1389 fw_status[1] = le16_to_cpu(((struct els_sts_entry_24xx*)pkt)->error_subcode_1); in qla24xx_els_ct_entry()
1390 fw_status[2] = le16_to_cpu(((struct els_sts_entry_24xx*)pkt)->error_subcode_2); in qla24xx_els_ct_entry()
1396 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry()
1407 type, sp->handle, comp_status, fw_status[1], fw_status[2], in qla24xx_els_ct_entry()
1411 memcpy( fw_sts_ptr, fw_status, sizeof(fw_status)); in qla24xx_els_ct_entry()
1425 memcpy( fw_sts_ptr, fw_status, sizeof(fw_status)); in qla24xx_els_ct_entry()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c129 u8 fw_status; member
274 if (err && context->fw_status != CMD_STAT_MULTI_FUNC_REQ) { in mlx4_comm_cmd_wait()
276 op, context->fw_status); in mlx4_comm_cmd_wait()
537 context->fw_status = status; in mlx4_cmd_event()
590 op_modifier == 0 && context->fw_status == CMD_STAT_BAD_SIZE) in mlx4_cmd_wait()
592 op, context->fw_status); in mlx4_cmd_wait()
595 op, context->fw_status); in mlx4_cmd_wait()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2967 unsigned int fw_status[4]; in t3_fatal_err() local
2982 if (!t3_cim_ctl_blk_read(adapter, 0xa0, 4, fw_status)) in t3_fatal_err()
2984 fw_status[0], fw_status[1], in t3_fatal_err()
2985 fw_status[2], fw_status[3]); in t3_fatal_err()
/drivers/scsi/bfa/
Dbfa.h141 (__hcb_qe)->fw_status = (__status); \

12