Lines Matching refs:trans_pcie

166 	struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
171 spin_lock(&trans_pcie->reg_lock);
173 if (WARN_ON(!trans_pcie->cmd_hold_nic_awake)) {
174 spin_unlock(&trans_pcie->reg_lock);
178 trans_pcie->cmd_hold_nic_awake = false;
181 spin_unlock(&trans_pcie->reg_lock);
280 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
292 trans_pcie->scd_base_addr =
296 scd_base_addr != trans_pcie->scd_base_addr);
299 iwl_trans_write_mem(trans, trans_pcie->scd_base_addr +
338 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
366 trans_pcie->kw.dma >> 4);
378 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
382 spin_lock_bh(&trans_pcie->irq_lock);
403 spin_unlock_bh(&trans_pcie->irq_lock);
411 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
430 if (!trans_pcie->txq_memory)
449 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
454 if (trans_pcie->txq_memory) {
463 kfree(trans_pcie->txq_memory);
464 trans_pcie->txq_memory = NULL;
466 iwl_pcie_free_dma_ptr(trans, &trans_pcie->kw);
479 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
489 if (WARN_ON(trans_pcie->txq_memory)) {
502 ret = iwl_pcie_alloc_dma_ptr(trans, &trans_pcie->kw, IWL_KW_SIZE);
508 trans_pcie->txq_memory =
511 if (!trans_pcie->txq_memory) {
528 trans->txqs.txq[txq_id] = &trans_pcie->txq_memory[txq_id];
548 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
553 if (!trans_pcie->txq_memory) {
560 spin_lock_bh(&trans_pcie->irq_lock);
567 trans_pcie->kw.dma >> 4);
569 spin_unlock_bh(&trans_pcie->irq_lock);
615 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
638 trans_pcie->cmd_hold_nic_awake = true;
639 spin_unlock(&trans_pcie->reg_lock);
692 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
699 tbl_dw_addr = trans_pcie->scd_base_addr +
722 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
737 trans_pcie->scd_set_active)
798 iwl_trans_write_mem32(trans, trans_pcie->scd_base_addr +
801 trans_pcie->scd_base_addr +
815 trans_pcie->scd_set_active)
841 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
842 u32 stts_addr = trans_pcie->scd_base_addr +
1198 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
1232 meta->source->_rx_page_order = trans_pcie->rx_page_order;