Searched refs:tfh (Results 1 - 4 of 4) sorted by relevance

/drivers/misc/sgi-gru/
H A Dgruhandles.c168 int tfh_write_only(struct gru_tlb_fault_handle *tfh, argument
173 tfh->fillasid = asid;
174 tfh->fillvaddr = vaddr;
175 tfh->pfn = paddr >> GRU_PADDR_SHIFT;
176 tfh->gaa = gaa;
177 tfh->dirty = dirty;
178 tfh->pagesize = pagesize;
179 tfh->opc = TFHOP_WRITE_ONLY;
180 start_instruction(tfh);
181 return wait_instruction_complete(tfh, tfhop_write_onl
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
199 tfh_restart(struct gru_tlb_fault_handle *tfh) argument
205 tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh) argument
211 tfh_exception(struct gru_tlb_fault_handle *tfh) argument
[all...]
H A Dgrufault.c322 struct gru_tlb_fault_handle *tfh,
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",
347 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh,
366 struct gru_tlb_fault_handle *tfh,
385 cbe = gru_tfh_to_cbe(tfh);
394 if (tfh->status != TFHSTATUS_EXCEPTION) {
395 gru_flush_cache(tfh);
397 if (tfh->status != TFHSTATUS_EXCEPTION)
401 if (tfh
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
364 gru_try_dropin(struct gru_state *gru, struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, struct gru_instruction_bits *cbk) argument
533 struct gru_tlb_fault_handle *tfh = NULL; local
622 gru_user_dropin(struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, void *cb) argument
648 struct gru_tlb_fault_handle *tfh; local
[all...]
H A Dgruhandles.h47 /* Bytes per handle & handle stride. Code assumes all cb, tfh, cbe handles
168 struct gru_tlb_fault_handle *tfh)
172 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE;
523 int tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr,
525 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr,
527 void tfh_restart(struct gru_tlb_fault_handle *tfh);
528 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh);
529 void tfh_exception(struct gru_tlb_fault_handle *tfh);
167 gru_tfh_to_cbe( struct gru_tlb_fault_handle *tfh) argument
H A Dgrukdump.c50 void *cb, *cbe, *tfh, *gseg; local
56 tfh = grubase + GRU_TFH_BASE;
63 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE))

Completed in 89 milliseconds