Lines Matching refs:trans_pcie

100 	struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);  in iwl_trans_pcie_fw_reset_handshake()  local
103 trans_pcie->fw_reset_state = FW_RESET_REQUESTED; in iwl_trans_pcie_fw_reset_handshake()
116 ret = wait_event_timeout(trans_pcie->fw_reset_waitq, in iwl_trans_pcie_fw_reset_handshake()
117 trans_pcie->fw_reset_state != FW_RESET_REQUESTED, in iwl_trans_pcie_fw_reset_handshake()
119 if (!ret || trans_pcie->fw_reset_state == FW_RESET_ERROR) { in iwl_trans_pcie_fw_reset_handshake()
125 trans_pcie->fw_reset_state = FW_RESET_IDLE; in iwl_trans_pcie_fw_reset_handshake()
130 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_trans_pcie_gen2_stop_device() local
132 lockdep_assert_held(&trans_pcie->mutex); in _iwl_trans_pcie_gen2_stop_device()
134 if (trans_pcie->is_down) in _iwl_trans_pcie_gen2_stop_device()
138 if (trans_pcie->fw_reset_handshake) in _iwl_trans_pcie_gen2_stop_device()
141 trans_pcie->is_down = true; in _iwl_trans_pcie_gen2_stop_device()
182 iwl_pcie_conf_msix_hw(trans_pcie); in _iwl_trans_pcie_gen2_stop_device()
207 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_gen2_stop_device() local
214 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device()
215 trans_pcie->opmode_down = true; in iwl_trans_pcie_gen2_stop_device()
219 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device()
224 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_gen2_nic_init() local
229 spin_lock_bh(&trans_pcie->irq_lock); in iwl_pcie_gen2_nic_init()
231 spin_unlock_bh(&trans_pcie->irq_lock); in iwl_pcie_gen2_nic_init()
252 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_get_rf_name() local
253 char *buf = trans_pcie->rf_name; in iwl_pcie_get_rf_name()
254 size_t buflen = sizeof(trans_pcie->rf_name); in iwl_pcie_get_rf_name()
321 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_gen2_fw_alive() local
343 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_fw_alive()
347 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_fw_alive()
381 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_gen2_start_fw() local
405 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_start_fw()
415 if (trans_pcie->is_down) { in iwl_trans_pcie_gen2_start_fw()
461 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_start_fw()