Lines Matching defs:trans_pcie
103 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
106 trans_pcie->fw_reset_state = FW_RESET_REQUESTED;
119 ret = wait_event_timeout(trans_pcie->fw_reset_waitq,
120 trans_pcie->fw_reset_state != FW_RESET_REQUESTED,
122 if (!ret || trans_pcie->fw_reset_state == FW_RESET_ERROR) {
133 trans_pcie->fw_reset_state = FW_RESET_IDLE;
138 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
140 lockdep_assert_held(&trans_pcie->mutex);
142 if (trans_pcie->is_down)
146 if (trans_pcie->fw_reset_handshake)
149 trans_pcie->is_down = true;
192 iwl_pcie_conf_msix_hw(trans_pcie);
217 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
224 mutex_lock(&trans_pcie->mutex);
225 trans_pcie->opmode_down = true;
229 mutex_unlock(&trans_pcie->mutex);
234 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
240 spin_lock_bh(&trans_pcie->irq_lock);
242 spin_unlock_bh(&trans_pcie->irq_lock);
253 if (iwl_txq_gen2_init(trans, trans_pcie->txqs.cmd.q_id, queue_size))
265 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
266 char *buf = trans_pcie->rf_name;
267 size_t buflen = sizeof(trans_pcie->rf_name);
347 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
352 memset(trans_pcie->txqs.queue_stopped, 0,
353 sizeof(trans_pcie->txqs.queue_stopped));
354 memset(trans_pcie->txqs.queue_used, 0,
355 sizeof(trans_pcie->txqs.queue_used));
370 mutex_lock(&trans_pcie->mutex);
374 mutex_unlock(&trans_pcie->mutex);
430 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
435 if (WARN_ON(!trans_pcie->iml))
467 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
491 mutex_lock(&trans_pcie->mutex);
501 if (trans_pcie->is_down) {
550 mutex_unlock(&trans_pcie->mutex);