Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iommu/arm/arm-smmu/
Darm-smmu.c560 reg |= FIELD_PREP(ARM_SMMU_CBAR_IRPTNDX, cfg->irptndx); in arm_smmu_write_context_bank()
755 cfg->irptndx = atomic_inc_return(&smmu->irptndx); in arm_smmu_init_domain_context()
756 cfg->irptndx %= smmu->num_context_irqs; in arm_smmu_init_domain_context()
758 cfg->irptndx = cfg->cbndx; in arm_smmu_init_domain_context()
810 irq = smmu->irqs[cfg->irptndx]; in arm_smmu_init_domain_context()
821 cfg->irptndx, irq); in arm_smmu_init_domain_context()
822 cfg->irptndx = ARM_SMMU_INVALID_IRPTNDX; in arm_smmu_init_domain_context()
860 if (cfg->irptndx != ARM_SMMU_INVALID_IRPTNDX) { in arm_smmu_destroy_domain_context()
861 irq = smmu->irqs[cfg->irptndx]; in arm_smmu_destroy_domain_context()
Darm-smmu.h307 atomic_t irptndx; member
341 u8 irptndx; member