Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1431 cd_table->l2.num_l1_ents = in arm_smmu_alloc_cd_tables()
1434 cd_table->l2.l2ptrs = kcalloc(cd_table->l2.num_l1_ents, in arm_smmu_alloc_cd_tables()
1440 l1size = cd_table->l2.num_l1_ents * sizeof(struct arm_smmu_cdtab_l1); in arm_smmu_alloc_cd_tables()
1464 for (i = 0; i < cd_table->l2.num_l1_ents; i++) { in arm_smmu_free_cd_tables()
1476 cd_table->l2.num_l1_ents * in arm_smmu_free_cd_tables()
3183 return arm_smmu_strtab_l1_idx(sid) < smmu->strtab_cfg.l2.num_l1_ents; in arm_smmu_sid_in_range()
3631 cfg->l2.num_l1_ents = min(last_sid_idx + 1, STRTAB_MAX_L1_ENTRIES); in arm_smmu_init_strtab_2lvl()
3632 if (cfg->l2.num_l1_ents <= last_sid_idx) in arm_smmu_init_strtab_2lvl()
3635 ilog2(cfg->l2.num_l1_ents * STRTAB_NUM_L2_STES), in arm_smmu_init_strtab_2lvl()
3638 l1size = cfg->l2.num_l1_ents * sizeof(struct arm_smmu_strtab_l1); in arm_smmu_init_strtab_2lvl()
[all …]
Darm-smmu-v3.h646 unsigned int num_l1_ents; member
684 unsigned int num_l1_ents; member