Searched refs:num_asids (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-6.6/arch/riscv/mm/ |
H A D | context.c | 24 static unsigned long num_asids; variable 70 bitmap_zero(context_asid_map, 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, ¤t_version); in __new_context() 137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context() 249 num_asids = 1 << asid_bits; in asids_init() 250 asid_mask = num_asids - 1; in asids_init() 257 if (num_asids > (2 * num_possible_cpus())) { in asids_init() 258 atomic_long_set(¤t_version, num_asids); in asids_init() [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 211 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_asid() 226 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_section() 241 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_group() 261 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid() 262 if (id >= smmu->soc->num_asids) { in tegra_smmu_alloc_asid() 1105 size = BITS_TO_LONGS(soc->num_asids) * sizeof(long); in tegra_smmu_probe()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | tegra-smmu.c | 212 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() 1095 smmu->asids = devm_bitmap_zalloc(dev, soc->num_asids, GFP_KERNEL); in tegra_smmu_probe()
|
/kernel/linux/linux-5.10/include/soc/tegra/ |
H A D | mc.h | 73 unsigned int num_asids; member
|
/kernel/linux/linux-6.6/include/soc/tegra/ |
H A D | mc.h | 94 unsigned int num_asids; member
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra124.c | 1040 .num_asids = 128, 1072 .num_asids = 128,
|
H A D | tegra114.c | 937 .num_asids = 4,
|
H A D | tegra210.c | 1077 .num_asids = 128,
|
H A D | tegra30.c | 981 .num_asids = 4,
|
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | tegra124.c | 1258 .num_asids = 128, 1292 .num_asids = 128,
|
H A D | tegra30.c | 1186 .num_asids = 4,
|
H A D | tegra210.c | 1231 .num_asids = 128,
|
H A D | tegra114.c | 1073 .num_asids = 4,
|
Completed in 14 milliseconds