Lines Matching refs:fw
95 return &mvm->fw->img[ucode_type]; in iwl_get_ucode_image()
318 const struct fw_img *fw) in iwl_save_fw_paging() argument
322 ret = iwl_alloc_fw_paging_mem(mvm, fw); in iwl_save_fw_paging()
326 return iwl_fill_paging_mem(mvm, fw); in iwl_save_fw_paging()
330 static int iwl_send_paging_cmd(struct iwl_mvm *mvm, const struct fw_img *fw) in iwl_send_paging_cmd() argument
515 const struct fw_img *fw; in iwl_mvm_load_ucode_wait_alive() local
522 iwl_fw_dbg_conf_usniffer(mvm->fw, FW_DBG_START_FROM_ALIVE)) in iwl_mvm_load_ucode_wait_alive()
523 fw = iwl_get_ucode_image(mvm, IWL_UCODE_REGULAR_USNIFFER); in iwl_mvm_load_ucode_wait_alive()
525 fw = iwl_get_ucode_image(mvm, ucode_type); in iwl_mvm_load_ucode_wait_alive()
526 if (WARN_ON(!fw)) in iwl_mvm_load_ucode_wait_alive()
535 ret = iwl_trans_start_fw(mvm->trans, fw, ucode_type == IWL_UCODE_INIT); in iwl_mvm_load_ucode_wait_alive()
583 if (fw->paging_mem_size) { in iwl_mvm_load_ucode_wait_alive()
598 ret = iwl_save_fw_paging(mvm, fw); in iwl_mvm_load_ucode_wait_alive()
604 ret = iwl_send_paging_cmd(mvm, fw); in iwl_mvm_load_ucode_wait_alive()
640 mvm->fw->default_calib[ucode_type].event_trigger; in iwl_send_phy_cfg_cmd()
642 mvm->fw->default_calib[ucode_type].flow_trigger; in iwl_send_phy_cfg_cmd()
904 if (WARN_ONCE(conf_id >= ARRAY_SIZE(mvm->fw->dbg_conf_tlv), in iwl_mvm_start_fw_dbg_conf()
909 if ((!mvm->fw->dbg_conf_tlv[conf_id] || in iwl_mvm_start_fw_dbg_conf()
910 !mvm->fw->dbg_conf_tlv[conf_id]->num_of_hcmds) && in iwl_mvm_start_fw_dbg_conf()
916 if (!mvm->fw->dbg_conf_tlv[conf_id]) in iwl_mvm_start_fw_dbg_conf()
924 ptr = (void *)&mvm->fw->dbg_conf_tlv[conf_id]->hcmd; in iwl_mvm_start_fw_dbg_conf()
925 for (i = 0; i < mvm->fw->dbg_conf_tlv[conf_id]->num_of_hcmds; i++) { in iwl_mvm_start_fw_dbg_conf()
1008 if (mvm->fw->dbg_dest_tlv) in iwl_mvm_up()
1077 if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN)) { in iwl_mvm_up()