Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgruhandles.c168 int tfh_write_only(struct gru_tlb_fault_handle *tfh, in tfh_write_only() argument
173 tfh->fillasid = asid; in tfh_write_only()
174 tfh->fillvaddr = vaddr; in tfh_write_only()
175 tfh->pfn = paddr >> GRU_PADDR_SHIFT; in tfh_write_only()
176 tfh->gaa = gaa; in tfh_write_only()
177 tfh->dirty = dirty; in tfh_write_only()
178 tfh->pagesize = pagesize; in tfh_write_only()
179 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only()
180 start_instruction(tfh); in tfh_write_only()
181 return wait_instruction_complete(tfh, tfhop_write_only); in tfh_write_only()
[all …]
Dgrufault.c322 struct gru_tlb_fault_handle *tfh, in gru_preload_tlb() argument
342 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb()
347 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, in gru_preload_tlb()
366 struct gru_tlb_fault_handle *tfh, in gru_try_dropin() argument
385 cbe = gru_tfh_to_cbe(tfh); in gru_try_dropin()
394 if (tfh->status != TFHSTATUS_EXCEPTION) { in gru_try_dropin()
395 gru_flush_cache(tfh); in gru_try_dropin()
397 if (tfh->status != TFHSTATUS_EXCEPTION) in gru_try_dropin()
401 if (tfh->state == TFHSTATE_IDLE) in gru_try_dropin()
403 if (tfh->state == TFHSTATE_MISS_FMM && cbk) in gru_try_dropin()
[all …]
Dgruhandles.h168 struct gru_tlb_fault_handle *tfh) in gru_tfh_to_cbe() argument
172 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE; in gru_tfh_to_cbe()
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);
Dgrukdump.c50 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local
56 tfh = grubase + GRU_TFH_BASE; in gru_dump_context_data()
63 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()