Lines Matching refs:trans_pcie
372 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_disable_interrupts() local
373 clear_bit(STATUS_INT_ENABLED, &trans_pcie->status); in iwl_disable_interrupts()
387 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_interrupts() local
390 set_bit(STATUS_INT_ENABLED, &trans_pcie->status); in iwl_enable_interrupts()
391 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_interrupts()
430 struct iwl_trans_pcie *trans_pcie = in iwl_wake_queue() local
433 if (test_and_clear_bit(hwq, trans_pcie->queue_stopped)) { in iwl_wake_queue()
434 if (atomic_dec_return(&trans_pcie->queue_stop_count[ac]) <= 0) { in iwl_wake_queue()
442 atomic_read(&trans_pcie->queue_stop_count[ac])); in iwl_wake_queue()
453 struct iwl_trans_pcie *trans_pcie = in iwl_stop_queue() local
456 if (!test_and_set_bit(hwq, trans_pcie->queue_stopped)) { in iwl_stop_queue()
457 if (atomic_inc_return(&trans_pcie->queue_stop_count[ac]) > 0) { in iwl_stop_queue()
462 atomic_read(&trans_pcie->queue_stop_count[ac])); in iwl_stop_queue()
467 atomic_read(&trans_pcie->queue_stop_count[ac])); in iwl_stop_queue()
475 static inline void iwl_txq_ctx_activate(struct iwl_trans_pcie *trans_pcie, in iwl_txq_ctx_activate() argument
478 set_bit(txq_id, &trans_pcie->txq_ctx_active_msk); in iwl_txq_ctx_activate()
481 static inline void iwl_txq_ctx_deactivate(struct iwl_trans_pcie *trans_pcie, in iwl_txq_ctx_deactivate() argument
484 clear_bit(txq_id, &trans_pcie->txq_ctx_active_msk); in iwl_txq_ctx_deactivate()