Searched refs:num_asids (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/riscv/mm/ |
D | context.c | 24 static unsigned long num_asids; variable 69 bitmap_zero(context_asid_map, num_asids); in __flush_context() 125 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context() 126 if (asid != num_asids) in __new_context() 136 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context() 248 num_asids = 1 << asid_bits; in asids_init() 255 if (num_asids > (2 * num_possible_cpus())) { in asids_init() 258 context_asid_map = bitmap_zalloc(num_asids, GFP_KERNEL); in asids_init() 261 num_asids); in asids_init() 268 asid_bits, num_asids); in asids_init()
|
/linux-6.12.1/drivers/iommu/ |
D | tegra-smmu.c | 214 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_asid() 229 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_section() 244 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_group() 262 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid() 263 if (id >= smmu->soc->num_asids) in tegra_smmu_alloc_asid() 1123 smmu->asids = devm_bitmap_zalloc(dev, soc->num_asids, GFP_KERNEL); in tegra_smmu_probe()
|
/linux-6.12.1/include/soc/tegra/ |
D | mc.h | 94 unsigned int num_asids; member
|
/linux-6.12.1/drivers/memory/tegra/ |
D | tegra124.c | 1258 .num_asids = 128, 1292 .num_asids = 128,
|
D | tegra114.c | 1073 .num_asids = 4,
|
D | tegra210.c | 1231 .num_asids = 128,
|
D | tegra30.c | 1186 .num_asids = 4,
|