Lines Matching refs:trans

157 	reg_val |= CSR_HW_REV_STEP(mvm->trans->hw_rev) <<  in iwl_mvm_nic_config()
159 reg_val |= CSR_HW_REV_DASH(mvm->trans->hw_rev) << in iwl_mvm_nic_config()
177 if (mvm->trans->cfg->device_family != IWL_DEVICE_FAMILY_8000) in iwl_mvm_nic_config()
180 iwl_trans_set_bits_mask(mvm->trans, CSR_HW_IF_CONFIG_REG, in iwl_mvm_nic_config()
198 if (!mvm->trans->cfg->apmg_not_supported) in iwl_mvm_nic_config()
199 iwl_set_bits_mask_prph(mvm->trans, APMG_PS_CTRL_REG, in iwl_mvm_nic_config()
372 static u32 calc_min_backoff(struct iwl_trans *trans, const struct iwl_cfg *cfg) in calc_min_backoff() argument
380 if (trans->dflt_pwr_limit >= pwr_tx_backoff->pwr) in calc_min_backoff()
392 iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, in iwl_op_mode_mvm_start() argument
430 mvm->dev = trans->dev; in iwl_op_mode_mvm_start()
431 mvm->trans = trans; in iwl_op_mode_mvm_start()
441 if (WARN_ON(trans->num_rx_queues > 1)) in iwl_op_mode_mvm_start()
479 SET_IEEE80211_DEV(mvm->hw, mvm->trans->dev); in iwl_op_mode_mvm_start()
512 iwl_trans_configure(mvm->trans, &trans_cfg); in iwl_op_mode_mvm_start()
514 trans->rx_mpdu_cmd = REPLY_RX_MPDU_CMD; in iwl_op_mode_mvm_start()
515 trans->rx_mpdu_cmd_hdr_size = sizeof(struct iwl_rx_mpdu_res_start); in iwl_op_mode_mvm_start()
516 trans->dbg_dest_tlv = mvm->fw->dbg_dest_tlv; in iwl_op_mode_mvm_start()
517 trans->dbg_dest_reg_num = mvm->fw->dbg_dest_reg_num; in iwl_op_mode_mvm_start()
518 memcpy(trans->dbg_conf_tlv, mvm->fw->dbg_conf_tlv, in iwl_op_mode_mvm_start()
519 sizeof(trans->dbg_conf_tlv)); in iwl_op_mode_mvm_start()
520 trans->dbg_trigger_tlv = mvm->fw->dbg_trigger_tlv; in iwl_op_mode_mvm_start()
526 mvm->phy_db = iwl_phy_db_init(trans); in iwl_op_mode_mvm_start()
533 mvm->cfg->name, mvm->trans->hw_rev); in iwl_op_mode_mvm_start()
535 min_backoff = calc_min_backoff(trans, cfg); in iwl_op_mode_mvm_start()
541 IWL_DEBUG_EEPROM(mvm->trans->dev, in iwl_op_mode_mvm_start()
559 err = iwl_trans_start_hw(mvm->trans); in iwl_op_mode_mvm_start()
566 iwl_trans_stop_device(trans); in iwl_op_mode_mvm_start()
609 iwl_trans_op_mode_leave(trans); in iwl_op_mode_mvm_start()
639 iwl_trans_op_mode_leave(mvm->trans); in iwl_op_mode_mvm_stop()
896 iwl_trans_free_tx_cmd(mvm->trans, info->driver_data[1]); in iwl_mvm_free_skb()
928 iwl_set_bits_prph(mvm->trans, MON_BUFF_SAMPLE_CTL, 0x100); in iwl_mvm_fw_error_dump_wk()
930 iwl_write_prph(mvm->trans, DBGC_IN_SAMPLE, 0); in iwl_mvm_fw_error_dump_wk()
938 WARN_ON_ONCE((!test_bit(STATUS_FW_ERROR, &mvm->trans->status)) && in iwl_mvm_fw_error_dump_wk()
994 reprobe->dev = mvm->trans->dev; in iwl_mvm_nic_restart()
1177 IWL_DEBUG_RPM(mvm->trans, "abort d0i3 due to taken ref\n"); in iwl_mvm_enter_d0i3()