Searched refs:cb_base (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/iommu/ |
H A D | arm-smmu.c | 636 void __iomem *cb_base; arm_smmu_context_fault() local 638 cb_base = ARM_SMMU_CB_BASE(smmu) + ARM_SMMU_CB(smmu, cfg->cbndx); arm_smmu_context_fault() 639 fsr = readl_relaxed(cb_base + ARM_SMMU_CB_FSR); arm_smmu_context_fault() 649 fsynr = readl_relaxed(cb_base + ARM_SMMU_CB_FSYNR0); arm_smmu_context_fault() 652 far = readl_relaxed(cb_base + ARM_SMMU_CB_FAR_LO); arm_smmu_context_fault() 655 far = readl_relaxed(cb_base + ARM_SMMU_CB_FAR_HI); arm_smmu_context_fault() 671 writel(fsr, cb_base + ARM_SMMU_CB_FSR); arm_smmu_context_fault() 675 writel_relaxed(resume, cb_base + ARM_SMMU_CB_RESUME); arm_smmu_context_fault() 712 void __iomem *cb_base, *gr1_base; arm_smmu_init_context_bank() local 716 cb_base = ARM_SMMU_CB_BASE(smmu) + ARM_SMMU_CB(smmu, cfg->cbndx); arm_smmu_init_context_bank() 754 smmu_writeq(reg64, cb_base + ARM_SMMU_CB_TTBR0); arm_smmu_init_context_bank() 758 smmu_writeq(reg64, cb_base + ARM_SMMU_CB_TTBR1); arm_smmu_init_context_bank() 761 smmu_writeq(reg64, cb_base + ARM_SMMU_CB_TTBR0); arm_smmu_init_context_bank() 767 writel_relaxed(reg, cb_base + ARM_SMMU_CB_TTBCR); arm_smmu_init_context_bank() 771 writel_relaxed(reg, cb_base + ARM_SMMU_CB_TTBCR2); arm_smmu_init_context_bank() 775 writel_relaxed(reg, cb_base + ARM_SMMU_CB_TTBCR); arm_smmu_init_context_bank() 781 writel_relaxed(reg, cb_base + ARM_SMMU_CB_S1_MAIR0); arm_smmu_init_context_bank() 783 writel_relaxed(reg, cb_base + ARM_SMMU_CB_S1_MAIR1); arm_smmu_init_context_bank() 793 writel_relaxed(reg, cb_base + ARM_SMMU_CB_SCTLR); arm_smmu_init_context_bank() 930 void __iomem *cb_base; arm_smmu_destroy_domain_context() local 940 cb_base = ARM_SMMU_CB_BASE(smmu) + ARM_SMMU_CB(smmu, cfg->cbndx); arm_smmu_destroy_domain_context() 941 writel_relaxed(0, cb_base + ARM_SMMU_CB_SCTLR); arm_smmu_destroy_domain_context() 1211 void __iomem *cb_base; arm_smmu_iova_to_phys_hard() local 1216 cb_base = ARM_SMMU_CB_BASE(smmu) + ARM_SMMU_CB(smmu, cfg->cbndx); arm_smmu_iova_to_phys_hard() 1221 smmu_writeq(va, cb_base + ARM_SMMU_CB_ATS1PR); arm_smmu_iova_to_phys_hard() 1223 writel_relaxed(va, cb_base + ARM_SMMU_CB_ATS1PR); arm_smmu_iova_to_phys_hard() 1225 if (readl_poll_timeout_atomic(cb_base + ARM_SMMU_CB_ATSR, tmp, arm_smmu_iova_to_phys_hard() 1233 phys = readl_relaxed(cb_base + ARM_SMMU_CB_PAR_LO); arm_smmu_iova_to_phys_hard() 1234 phys |= ((u64)readl_relaxed(cb_base + ARM_SMMU_CB_PAR_HI)) << 32; arm_smmu_iova_to_phys_hard() 1459 void __iomem *cb_base; arm_smmu_device_reset() local 1476 cb_base = ARM_SMMU_CB_BASE(smmu) + ARM_SMMU_CB(smmu, i); arm_smmu_device_reset() 1477 writel_relaxed(0, cb_base + ARM_SMMU_CB_SCTLR); arm_smmu_device_reset() 1478 writel_relaxed(FSR_FAULT, cb_base + ARM_SMMU_CB_FSR); arm_smmu_device_reset()
|
/linux-4.4.14/net/bridge/netfilter/ |
H A D | ebtables.c | 193 struct ebt_counter *counter_base, *cb_base; ebt_do_table() local 211 cb_base = COUNTER_BASE(private->counters, private->nentries, ebt_do_table() 220 counter_base = cb_base + private->hook_entry[hook]->counter_offset; ebt_do_table() 276 counter_base = cb_base + ebt_do_table() 304 counter_base = cb_base + chaininfo->counter_offset; ebt_do_table()
|
Completed in 185 milliseconds