Searched defs:asid (Results 1 - 6 of 6) sorted by relevance

/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c137 * - asid[maxgrus] array. ASIDs are assigned to a GRU when a context is
147 * asid is non-zero.
165 int grupagesize, pagesize, pageshift, gid, asid; local
182 asid = asids->mt_asid;
183 if (asids->mt_ctxbitmap && asid) {
185 asid = GRUASID(asid, start);
187 " FLUSH gruid %d, asid 0x%x, vaddr 0x%lx, vamask 0x%x, num %ld, cbmap 0x%x\n",
188 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap);
190 tgh_invalidate(tgh, start, ~0, asid, grupagesiz
[all...]
H A Dgruhandles.c153 int asid, int pagesize, int global, int n,
157 tgh->asid = asid;
170 unsigned long vaddr, int asid, int dirty,
173 tfh->fillasid = asid;
186 unsigned long vaddr, int asid, int dirty,
189 tfh->fillasid = asid;
151 tgh_invalidate(struct gru_tlb_global_handle *tgh, unsigned long vaddr, unsigned long vaddrmask, int asid, int pagesize, int global, int n, unsigned short ctxbitmap) argument
168 tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) argument
184 tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) argument
H A Dgrufault.c320 unsigned long fault_vaddr, int asid, int write,
342 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write,
346 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid 0x%x, rw %d, ps %d, gpa 0x%lx\n",
348 vaddr, asid, write, pageshift, gpa);
371 int pageshift = 0, asid, write, ret, atomic = !cbk, indexway; local
408 asid = tfh->missasid;
410 if (asid == 0)
437 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe);
443 tfh_write_restart(tfh, gpa, GAA_RAM, vaddr, asid, write,
446 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid
318 gru_preload_tlb(struct gru_state *gru, struct gru_thread_state *gts, int atomic, unsigned long fault_vaddr, int asid, int write, unsigned char tlb_preload_count, struct gru_tlb_fault_handle *tfh, struct gru_control_block_extended *cbe) argument
[all...]
H A Dgrumain.c75 * asid in use ("x"s below). Set "limit" to this value.
83 * Each time MAX_ASID is reached, increment the asid generation. Since
86 * a context, the asid generation of the GTS asid is rechecked. If it
87 * doesn't match the current generation, a new asid will be assigned.
92 * All asid manipulation & context loading/unloading is protected by the
96 /* Hit the asid limit. Start over */
106 static int gru_reset_asid_limit(struct gru_state *gru, int asid) argument
110 gru_dbg(grudev, "gid %d, asid 0x%x\n", gru->gs_gid, asid);
152 int asid; local
243 int asid; local
595 int i, err, asid, ctxnum = gts->ts_ctxnum; local
[all...]
H A Dgruhandles.h214 unsigned int asid:24; /* DW 2 */ member in struct:gru_tlb_global_handle
388 unsigned int asid[8]; /* DW 2 - 5 */ member in struct:gru_context_configuration_handle
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);
/drivers/iommu/
H A Dtegra-smmu.c176 #define SMMU_ASID_ENABLE(asid) ((asid) | (1 << 31))
222 unsigned int asid; member in struct:smmu_as
305 u32 val, offs, mask = SMMU_ASID_ENABLE(as->asid);
382 smmu_write(smmu, SMMU_PTB_ASID_CUR(as->asid), SMMU_PTB_ASID);
421 (as->asid << SMMU_TLB_FLUSH_ASID_SHIFT);
578 (as->asid << SMMU_TLB_FLUSH_ASID_SHIFT);
636 dev_dbg(as->smmu->dev, "[%d] %08lx:%08x\n", as->asid, iova, pa);
653 dev_dbg(as->smmu->dev, "[%d] %08lx\n", as->asid, iova);
677 "iova:%08lx pfn:%08lx asid
[all...]

Completed in 205 milliseconds