Lines Matching refs:trans_pcie
466 iwl_trans_pcie_get_trans(struct iwl_trans_pcie *trans_pcie) in iwl_trans_pcie_get_trans() argument
468 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans()
544 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_disable_interrupts() local
547 if (!trans_pcie->msix_enabled) { in _iwl_disable_interrupts()
558 trans_pcie->fh_init_mask); in _iwl_disable_interrupts()
560 trans_pcie->hw_init_mask); in _iwl_disable_interrupts()
601 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_disable_interrupts() local
603 spin_lock_bh(&trans_pcie->irq_lock); in iwl_disable_interrupts()
605 spin_unlock_bh(&trans_pcie->irq_lock); in iwl_disable_interrupts()
610 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_enable_interrupts() local
614 if (!trans_pcie->msix_enabled) { in _iwl_enable_interrupts()
615 trans_pcie->inta_mask = CSR_INI_SET_MASK; in _iwl_enable_interrupts()
616 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in _iwl_enable_interrupts()
622 trans_pcie->hw_mask = trans_pcie->hw_init_mask; in _iwl_enable_interrupts()
623 trans_pcie->fh_mask = trans_pcie->fh_init_mask; in _iwl_enable_interrupts()
625 ~trans_pcie->fh_mask); in _iwl_enable_interrupts()
627 ~trans_pcie->hw_mask); in _iwl_enable_interrupts()
633 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_interrupts() local
635 spin_lock_bh(&trans_pcie->irq_lock); in iwl_enable_interrupts()
637 spin_unlock_bh(&trans_pcie->irq_lock); in iwl_enable_interrupts()
641 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_hw_int_msk_msix() local
644 trans_pcie->hw_mask = msk; in iwl_enable_hw_int_msk_msix()
649 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_fh_int_msk_msix() local
652 trans_pcie->fh_mask = msk; in iwl_enable_fh_int_msk_msix()
657 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_fw_load_int() local
660 if (!trans_pcie->msix_enabled) { in iwl_enable_fw_load_int()
661 trans_pcie->inta_mask = CSR_INT_BIT_FH_TX; in iwl_enable_fw_load_int()
662 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_fw_load_int()
665 trans_pcie->hw_init_mask); in iwl_enable_fw_load_int()
673 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_fw_load_int_ctx_info() local
677 if (!trans_pcie->msix_enabled) { in iwl_enable_fw_load_int_ctx_info()
685 trans_pcie->inta_mask = CSR_INT_BIT_ALIVE | CSR_INT_BIT_FH_RX; in iwl_enable_fw_load_int_ctx_info()
686 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_fw_load_int_ctx_info()
694 iwl_enable_fh_int_msk_msix(trans, trans_pcie->fh_init_mask); in iwl_enable_fw_load_int_ctx_info()
723 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_rfkill_int() local
726 if (!trans_pcie->msix_enabled) { in iwl_enable_rfkill_int()
727 trans_pcie->inta_mask = CSR_INT_BIT_RF_KILL; in iwl_enable_rfkill_int()
728 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_rfkill_int()
731 trans_pcie->fh_init_mask); in iwl_enable_rfkill_int()
751 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_is_rfkill_set() local
753 lockdep_assert_held(&trans_pcie->mutex); in iwl_is_rfkill_set()
755 if (trans_pcie->debug_rfkill == 1) in iwl_is_rfkill_set()
814 void iwl_pcie_conf_msix_hw(struct iwl_trans_pcie *trans_pcie);