Home
last modified time | relevance | path

Searched refs:asid (Results 1 – 10 of 10) sorted by relevance

/drivers/misc/sgi-gru/
Dgrumain.c106 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit() argument
110 gru_dbg(grudev, "gid %d, asid 0x%x\n", gru->gs_gid, asid); in gru_reset_asid_limit()
113 if (asid >= limit) in gru_reset_asid_limit()
114 asid = gru_wrap_asid(gru); in gru_reset_asid_limit()
125 if (inuse_asid == asid) { in gru_reset_asid_limit()
126 asid += ASID_INC; in gru_reset_asid_limit()
127 if (asid >= limit) { in gru_reset_asid_limit()
133 if (asid >= MAX_ASID) in gru_reset_asid_limit()
134 asid = gru_wrap_asid(gru); in gru_reset_asid_limit()
139 if ((inuse_asid > asid) && (inuse_asid < limit)) in gru_reset_asid_limit()
[all …]
Dgruhandles.c153 int asid, int pagesize, int global, int n, in tgh_invalidate() argument
157 tgh->asid = asid; in tgh_invalidate()
170 unsigned long vaddr, int asid, int dirty, in tfh_write_only() argument
173 tfh->fillasid = asid; in tfh_write_only()
186 unsigned long vaddr, int asid, int dirty, in tfh_write_restart() argument
189 tfh->fillasid = asid; in tfh_write_restart()
Dgrutlbpurge.c165 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local
182 asid = asids->mt_asid; in gru_flush_tlb_range()
183 if (asids->mt_ctxbitmap && asid) { in gru_flush_tlb_range()
185 asid = GRUASID(asid, start); in gru_flush_tlb_range()
188 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap); in gru_flush_tlb_range()
190 tgh_invalidate(tgh, start, ~0, asid, grupagesize, 0, in gru_flush_tlb_range()
199 gid, asid, asids->mt_ctxbitmap, in gru_flush_tlb_range()
Dgruhandles.h214 unsigned int asid:24; /* DW 2 */ member
388 unsigned int asid[8]; /* DW 2 - 5 */ member
521 unsigned long vaddrmask, int asid, int pagesize, int global, int n,
524 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
526 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
Dgrufault.c320 unsigned long fault_vaddr, int asid, int write, in gru_preload_tlb() argument
342 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb()
348 vaddr, asid, write, pageshift, gpa); in gru_preload_tlb()
371 int pageshift = 0, asid, write, ret, atomic = !cbk, indexway; in gru_try_dropin() local
408 asid = tfh->missasid; in gru_try_dropin()
410 if (asid == 0) in gru_try_dropin()
437 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe); in gru_try_dropin()
443 tfh_write_restart(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_try_dropin()
448 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, vaddr, asid, in gru_try_dropin()
Dgrutables.h301 #define GRUASID(asid, addr) ((asid) + GRUREGION(addr)) argument
/drivers/iommu/
Dtegra-smmu.c192 unsigned long asid) in smmu_flush_tlb_asid() argument
197 value = (asid & 0x3) << 29; in smmu_flush_tlb_asid()
199 value = (asid & 0x7f) << 24; in smmu_flush_tlb_asid()
206 unsigned long asid, in smmu_flush_tlb_section() argument
212 value = (asid & 0x3) << 29; in smmu_flush_tlb_section()
214 value = (asid & 0x7f) << 24; in smmu_flush_tlb_section()
221 unsigned long asid, in smmu_flush_tlb_group() argument
227 value = (asid & 0x3) << 29; in smmu_flush_tlb_group()
229 value = (asid & 0x7f) << 24; in smmu_flush_tlb_group()
339 unsigned int asid) in tegra_smmu_enable() argument
[all …]
Dshmobile-ipmmu.c47 int asid) in ipmmu_tlb_set() argument
87 ipmmu_reg_write(ipmmu, IMASID, asid); in ipmmu_tlb_set()
Darm-smmu-v3.c464 u16 asid; member
525 u16 asid; member
802 cmd[0] |= (u64)ent->tlbi.asid << CMDQ_TLBI_0_ASID_SHIFT; in arm_smmu_cmdq_build_cmd()
812 cmd[0] |= (u64)ent->tlbi.asid << CMDQ_TLBI_0_ASID_SHIFT; in arm_smmu_cmdq_build_cmd()
956 CTXDESC_CD_0_AA64 | (u64)cfg->cd.asid << CTXDESC_CD_0_ASID_SHIFT | in arm_smmu_write_ctx_desc()
1331 cmd.tlbi.asid = smmu_domain->s1_cfg.cd.asid; in arm_smmu_tlb_inv_context()
1356 cmd.tlbi.asid = smmu_domain->s1_cfg.cd.asid; in arm_smmu_tlb_inv_range_nosync()
1442 arm_smmu_bitmap_free(smmu->asid_map, cfg->cd.asid); in arm_smmu_domain_free()
1457 int asid; in arm_smmu_domain_finalise_s1() local
1461 asid = arm_smmu_bitmap_alloc(smmu->asid_map, smmu->asid_bits); in arm_smmu_domain_finalise_s1()
[all …]
Dshmobile-ipmmu.h25 int asid);