Home
last modified time | relevance | path

Searched refs:gseg (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/misc/sgi-gru/
Dgrulib.h67 unsigned long gseg; member
75 unsigned long gseg; member
87 unsigned long gseg; member
95 unsigned long gseg; member
105 unsigned long gseg; member
Dgrumain.c476 static void gru_prefetch_context(void *gseg, void *cb, void *cbe, in gru_prefetch_context() argument
481 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES, in gru_prefetch_context()
496 void *gseg, *cb, *cbe; in gru_load_context_data() local
500 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_load_context_data()
501 cb = gseg + GRU_CB_BASE; in gru_load_context_data()
504 gru_prefetch_context(gseg, cb, cbe, cbrmap, length); in gru_load_context_data()
523 memcpy(gseg + GRU_DS_BASE, save, length); in gru_load_context_data()
525 memset(gseg + GRU_DS_BASE, 0, length); in gru_load_context_data()
531 void *gseg, *cb, *cbe; in gru_unload_context_data() local
535 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_unload_context_data()
[all …]
Dgrukdump.c53 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local
56 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_dump_context_data()
57 cb = gseg + GRU_CB_BASE; in gru_dump_context_data()
73 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data()
Dgrufault.c789 gru_dbg(grudev, "gseg 0x%lx\n", req.gseg); in gru_user_unload_context()
791 if (!req.gseg) in gru_user_unload_context()
794 gts = gru_find_lock_gts(req.gseg); in gru_user_unload_context()
819 gru_dbg(grudev, "gseg 0x%lx, vaddr 0x%lx, len 0x%lx\n", req.gseg, in gru_user_flush_tlb()
822 gts = gru_find_lock_gts(req.gseg); in gru_user_flush_tlb()
849 gts = gru_find_lock_gts(req.gseg); in gru_get_gseg_statistics()
876 gru_dbg(grudev, "op %d, gseg 0x%lx, value1 0x%lx\n", req.op, req.gseg, req.val1); in gru_set_context_option()
878 gts = gru_find_lock_gts(req.gseg); in gru_set_context_option()
880 gts = gru_alloc_locked_gts(req.gseg); in gru_set_context_option()
Dgru_instructions.h712 static inline void *gru_get_cb_pointer(void *gseg, in gru_get_cb_pointer() argument
715 return gseg + GRU_CB_BASE + index * GRU_HANDLE_STRIDE; in gru_get_cb_pointer()
723 static inline void *gru_get_data_pointer(void *gseg, int index) in gru_get_data_pointer() argument
725 return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES; in gru_get_data_pointer()
Dgrufile.c152 vma = gru_find_vma(req.gseg); in gru_create_new_context()