Home
last modified time | relevance | path

Searched refs:num_asids (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/arch/riscv/mm/
Dcontext.c24 static unsigned long num_asids; variable
70 bitmap_clear(context_asid_map, 0, num_asids); in __flush_context()
126 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
127 if (asid != num_asids) in __new_context()
131 ver = atomic_long_add_return_relaxed(num_asids, &current_version); in __new_context()
137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
247 num_asids = 1 << asid_bits; in asids_init()
248 asid_mask = num_asids - 1; in asids_init()
255 if (num_asids > (2 * num_possible_cpus())) { in asids_init()
256 atomic_long_set(&current_version, num_asids); in asids_init()
[all …]
/linux-6.1.9/drivers/iommu/
Dtegra-smmu.c212 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_asid()
227 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_section()
242 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_group()
260 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid()
261 if (id >= smmu->soc->num_asids) in tegra_smmu_alloc_asid()
1094 smmu->asids = devm_bitmap_zalloc(dev, soc->num_asids, GFP_KERNEL); in tegra_smmu_probe()
/linux-6.1.9/include/soc/tegra/
Dmc.h91 unsigned int num_asids; member
/linux-6.1.9/drivers/memory/tegra/
Dtegra124.c1258 .num_asids = 128,
1292 .num_asids = 128,
Dtegra114.c1073 .num_asids = 4,
Dtegra210.c1231 .num_asids = 128,
Dtegra30.c1186 .num_asids = 4,