Home
last modified time | relevance | path

Searched refs:arm_lpae_s1_cfg (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-test.c465 io_pgtable.cfg.arm_lpae_s1_cfg.ttbr = 0xdaedbeefdeadbeefULL; in arm_smmu_test_make_s1_cd()
466 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.ips = 1; in arm_smmu_test_make_s1_cd()
467 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.tg = 2; in arm_smmu_test_make_s1_cd()
468 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.sh = 3; in arm_smmu_test_make_s1_cd()
469 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.orgn = 1; in arm_smmu_test_make_s1_cd()
470 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.irgn = 2; in arm_smmu_test_make_s1_cd()
471 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.tsz = 4; in arm_smmu_test_make_s1_cd()
472 io_pgtable.cfg.arm_lpae_s1_cfg.mair = 0xabcdef012345678ULL; in arm_smmu_test_make_s1_cd()
H A Darm-smmu-v3.c1358 typeof(&pgtbl_cfg->arm_lpae_s1_cfg.tcr) tcr = in arm_smmu_make_s1_cd()
1359 &pgtbl_cfg->arm_lpae_s1_cfg.tcr; in arm_smmu_make_s1_cd()
1388 target->data[1] = cpu_to_le64(pgtbl_cfg->arm_lpae_s1_cfg.ttbr & in arm_smmu_make_s1_cd()
1390 target->data[3] = cpu_to_le64(pgtbl_cfg->arm_lpae_s1_cfg.mair); in arm_smmu_make_s1_cd()
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.h395 u32 tcr = FIELD_PREP(ARM_SMMU_TCR_TG0, cfg->arm_lpae_s1_cfg.tcr.tg) | in arm_smmu_lpae_tcr()
396 FIELD_PREP(ARM_SMMU_TCR_SH0, cfg->arm_lpae_s1_cfg.tcr.sh) | in arm_smmu_lpae_tcr()
397 FIELD_PREP(ARM_SMMU_TCR_ORGN0, cfg->arm_lpae_s1_cfg.tcr.orgn) | in arm_smmu_lpae_tcr()
398 FIELD_PREP(ARM_SMMU_TCR_IRGN0, cfg->arm_lpae_s1_cfg.tcr.irgn) | in arm_smmu_lpae_tcr()
399 FIELD_PREP(ARM_SMMU_TCR_T0SZ, cfg->arm_lpae_s1_cfg.tcr.tsz); in arm_smmu_lpae_tcr()
416 return FIELD_PREP(ARM_SMMU_TCR2_PASIZE, cfg->arm_lpae_s1_cfg.tcr.ips) | in arm_smmu_lpae_tcr2()
H A Dqcom_iommu.c281 pgtbl_cfg.arm_lpae_s1_cfg.ttbr | in qcom_iommu_init_domain()
293 pgtbl_cfg.arm_lpae_s1_cfg.mair); in qcom_iommu_init_domain()
295 pgtbl_cfg.arm_lpae_s1_cfg.mair >> 32); in qcom_iommu_init_domain()
H A Darm-smmu.c546 cb->ttbr[1] |= pgtbl_cfg->arm_lpae_s1_cfg.ttbr; in arm_smmu_init_context_bank()
548 cb->ttbr[0] |= pgtbl_cfg->arm_lpae_s1_cfg.ttbr; in arm_smmu_init_context_bank()
560 cb->mair[0] = pgtbl_cfg->arm_lpae_s1_cfg.mair; in arm_smmu_init_context_bank()
561 cb->mair[1] = pgtbl_cfg->arm_lpae_s1_cfg.mair >> 32; in arm_smmu_init_context_bank()
H A Darm-smmu-qcom.c170 cb->ttbr[0] = pgtbl_cfg->arm_lpae_s1_cfg.ttbr; in qcom_adreno_smmu_set_ttbr0_cfg()
/linux/include/linux/
H A Dio-pgtable.h143 } arm_lpae_s1_cfg; member
/linux/drivers/iommu/
H A Dio-pgtable-arm.c931 typeof(&cfg->arm_lpae_s1_cfg.tcr) tcr = &cfg->arm_lpae_s1_cfg.tcr; in arm_64_lpae_alloc_pgtable_s1()
1011 cfg->arm_lpae_s1_cfg.mair = reg; in arm_64_lpae_alloc_pgtable_s1()
1023 cfg->arm_lpae_s1_cfg.ttbr = virt_to_phys(data->pgd); in arm_64_lpae_alloc_pgtable_s1()
H A Dipmmu-vmsa.c370 ttbr = domain->cfg.arm_lpae_s1_cfg.ttbr; in ipmmu_domain_setup_context()
392 domain->cfg.arm_lpae_s1_cfg.mair); in ipmmu_domain_setup_context()
/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c309 pagetable->ttbr = ttbr0_cfg.arm_lpae_s1_cfg.ttbr; in msm_iommu_pagetable_create()