Searched refs:asids (Results 1 – 3 of 3) sorted by relevance
/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 149 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()
|
D | grumain.c | 228 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 …]
|
/drivers/iommu/ |
D | tegra-smmu.c | 38 unsigned long *asids; member 252 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid() 258 set_bit(id, smmu->asids); in tegra_smmu_alloc_asid() 268 clear_bit(id, smmu->asids); in tegra_smmu_free_asid() 1020 smmu->asids = devm_kzalloc(dev, size, GFP_KERNEL); in tegra_smmu_probe() 1021 if (!smmu->asids) in tegra_smmu_probe()
|