Home
last modified time | relevance | path

Searched refs:asids (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/misc/sgi-gru/
Dgrutlbpurge.c149 struct gru_mm_tracker *asids; in gru_flush_tlb_range() local
168 asids = gms->ms_asids + gid; in gru_flush_tlb_range()
169 asid = asids->mt_asid; in gru_flush_tlb_range()
170 if (asids->mt_ctxbitmap && asid) { in gru_flush_tlb_range()
175 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap); in gru_flush_tlb_range()
178 num - 1, asids->mt_ctxbitmap); in gru_flush_tlb_range()
182 asids->mt_asid = 0; in gru_flush_tlb_range()
186 gid, asid, asids->mt_ctxbitmap, in gru_flush_tlb_range()
Dgrumain.c228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker() local
233 asid = asids->mt_asid; in gru_load_mm_tracker()
236 if (asid == 0 || (asids->mt_ctxbitmap == 0 && asids->mt_asid_gen != in gru_load_mm_tracker()
239 asids->mt_asid = asid; in gru_load_mm_tracker()
240 asids->mt_asid_gen = gru->gs_asid_gen; in gru_load_mm_tracker()
247 BUG_ON(asids->mt_ctxbitmap & ctxbitmap); in gru_load_mm_tracker()
248 asids->mt_ctxbitmap |= ctxbitmap; in gru_load_mm_tracker()
264 struct gru_mm_tracker *asids; in gru_unload_mm_tracker() local
267 asids = &gms->ms_asids[gru->gs_gid]; in gru_unload_mm_tracker()
271 BUG_ON((asids->mt_ctxbitmap & ctxbitmap) != ctxbitmap); in gru_unload_mm_tracker()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/iommu/
Dnvidia,tegra30-smmu.txt8 - nvidia,#asids : # of ASIDs
18 nvidia,#asids = <4>; /* # of ASIDs */
/Linux-v6.6/drivers/iommu/
Dtegra-smmu.c42 unsigned long *asids; member
260 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid()
264 set_bit(id, smmu->asids); in tegra_smmu_alloc_asid()
272 clear_bit(id, smmu->asids); in tegra_smmu_free_asid()
1095 smmu->asids = devm_bitmap_zalloc(dev, soc->num_asids, GFP_KERNEL); in tegra_smmu_probe()
1096 if (!smmu->asids) in tegra_smmu_probe()
/Linux-v6.6/arch/sh/mm/
DMakefile24 debugfs-y := asids-debugfs.o