Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgrufault.c280 struct gru_tlb_fault_handle *tfh, in gru_try_dropin() argument
300 if (tfh->state == TFHSTATE_IDLE) in gru_try_dropin()
302 if (tfh->state == TFHSTATE_MISS_FMM && cb) in gru_try_dropin()
305 write = (tfh->cause & TFHCAUSE_TLB_MOD) != 0; in gru_try_dropin()
306 vaddr = tfh->missvaddr; in gru_try_dropin()
307 asid = tfh->missasid; in gru_try_dropin()
343 tfh_write_restart(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_try_dropin()
348 ret ? "non-atomic" : "atomic", tfh, vaddr, asid, in gru_try_dropin()
355 gru_dbg(grudev, "FAILED no_asid tfh: 0x%p, vaddr 0x%lx\n", tfh, vaddr); in gru_try_dropin()
357 tfh_user_polling_mode(tfh); in gru_try_dropin()
[all …]
Dgruhandles.h612 static inline void tfh_write_only(struct gru_tlb_fault_handle *tfh, in tfh_write_only() argument
616 tfh->fillasid = asid; in tfh_write_only()
617 tfh->fillvaddr = vaddr; in tfh_write_only()
618 tfh->pfn = pfn; in tfh_write_only()
619 tfh->dirty = dirty; in tfh_write_only()
620 tfh->pagesize = pagesize; in tfh_write_only()
621 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only()
622 start_instruction(tfh); in tfh_write_only()
625 static inline void tfh_write_restart(struct gru_tlb_fault_handle *tfh, in tfh_write_restart() argument
630 tfh->fillasid = asid; in tfh_write_restart()
[all …]