Home
last modified time | relevance | path

Searched refs:irptndx (Results 1 – 2 of 2) sorted by relevance

/drivers/iommu/arm/arm-smmu/
Darm-smmu.c543 reg |= FIELD_PREP(ARM_SMMU_CBAR_IRPTNDX, cfg->irptndx); in arm_smmu_write_context_bank()
738 cfg->irptndx = atomic_inc_return(&smmu->irptndx); in arm_smmu_init_domain_context()
739 cfg->irptndx %= smmu->num_context_irqs; in arm_smmu_init_domain_context()
741 cfg->irptndx = cfg->cbndx; in arm_smmu_init_domain_context()
793 irq = smmu->irqs[cfg->irptndx]; in arm_smmu_init_domain_context()
804 cfg->irptndx, irq); in arm_smmu_init_domain_context()
805 cfg->irptndx = ARM_SMMU_INVALID_IRPTNDX; in arm_smmu_init_domain_context()
843 if (cfg->irptndx != ARM_SMMU_INVALID_IRPTNDX) { in arm_smmu_destroy_domain_context()
844 irq = smmu->irqs[cfg->irptndx]; in arm_smmu_destroy_domain_context()
Darm-smmu.h308 atomic_t irptndx; member
342 u8 irptndx; member