Home
last modified time | relevance | path

Searched refs:tgh (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/misc/sgi-gru/
Dgrutlbpurge.c78 struct gru_tlb_global_handle *tgh; in get_lock_tgh_handle() local
86 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle()
87 lock_tgh_handle(tgh); in get_lock_tgh_handle()
89 return tgh; in get_lock_tgh_handle()
92 static void get_unlock_tgh_handle(struct gru_tlb_global_handle *tgh) in get_unlock_tgh_handle() argument
94 unlock_tgh_handle(tgh); in get_unlock_tgh_handle()
163 struct gru_tlb_global_handle *tgh; in gru_flush_tlb_range() local
189 tgh = get_lock_tgh_handle(gru); in gru_flush_tlb_range()
190 tgh_invalidate(tgh, start, ~0, asid, grupagesize, 0, in gru_flush_tlb_range()
192 get_unlock_tgh_handle(tgh); in gru_flush_tlb_range()
[all …]
Dgruhandles.c151 int tgh_invalidate(struct gru_tlb_global_handle *tgh, in tgh_invalidate() argument
156 tgh->vaddr = vaddr; in tgh_invalidate()
157 tgh->asid = asid; in tgh_invalidate()
158 tgh->pagesize = pagesize; in tgh_invalidate()
159 tgh->n = n; in tgh_invalidate()
160 tgh->global = global; in tgh_invalidate()
161 tgh->vaddrmask = vaddrmask; in tgh_invalidate()
162 tgh->ctxbitmap = ctxbitmap; in tgh_invalidate()
163 tgh->opc = TGHOP_TLBINV; in tgh_invalidate()
164 start_instruction(tgh); in tgh_invalidate()
[all …]
Dgrukdump.c103 struct gru_tlb_global_handle *tgh; in gru_dump_tgh() local
110 tgh = get_tgh(gru->gs_gru_base_vaddr, i); in gru_dump_tgh()
111 if (gru_user_copy_handle(&ubuf, tgh)) in gru_dump_tgh()
Dgrutables.h598 static inline void lock_tgh_handle(struct gru_tlb_global_handle *tgh) in lock_tgh_handle() argument
600 __lock_handle(tgh); in lock_tgh_handle()
603 static inline void unlock_tgh_handle(struct gru_tlb_global_handle *tgh) in unlock_tgh_handle() argument
605 __unlock_handle(tgh); in unlock_tgh_handle()
Dgruhandles.h520 int tgh_invalidate(struct gru_tlb_global_handle *tgh, unsigned long vaddr,