Searched refs:gseg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grulib.h | 67 unsigned long gseg; member 75 unsigned long gseg; member 87 unsigned long gseg; member 95 unsigned long gseg; member 105 unsigned long gseg; member
|
H A D | grumain.c | 483 void *gseg, *cb, *cbe; in gru_load_context_data() local 487 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_load_context_data() 488 cb = gseg + GRU_CB_BASE; in gru_load_context_data() 491 gru_prefetch_context(gseg, cb, cbe, cbrmap, length); in gru_load_context_data() 510 memcpy(gseg + GRU_DS_BASE, save, length); in gru_load_context_data() 512 memset(gseg + GRU_DS_BASE, 0, length); in gru_load_context_data() 518 void *gseg, *cb, *cbe; in gru_unload_context_data() local 522 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_unload_context_data() 523 cb = gseg + GRU_CB_BASE; in gru_unload_context_data() 532 gru_prefetch_context(gseg, cb, cbe, cbrmap, length); in gru_unload_context_data() [all …]
|
H A D | grukdump.c | 40 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local 43 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_dump_context_data() 44 cb = gseg + GRU_CB_BASE; in gru_dump_context_data() 60 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data()
|
H A D | grufault.c | 776 gru_dbg(grudev, "gseg 0x%lx\n", req.gseg); in gru_user_unload_context() 778 if (!req.gseg) in gru_user_unload_context() 781 gts = gru_find_lock_gts(req.gseg); in gru_user_unload_context() 806 gru_dbg(grudev, "gseg 0x%lx, vaddr 0x%lx, len 0x%lx\n", req.gseg, in gru_user_flush_tlb() 809 gts = gru_find_lock_gts(req.gseg); in gru_user_flush_tlb() 836 gts = gru_find_lock_gts(req.gseg); in gru_get_gseg_statistics() 863 gru_dbg(grudev, "op %d, gseg 0x%lx, value1 0x%lx\n", req.op, req.gseg, req.val1); in gru_set_context_option() 865 gts = gru_find_lock_gts(req.gseg); in gru_set_context_option() 867 gts = gru_alloc_locked_gts(req.gseg); in gru_set_context_option()
|
H A D | gru_instructions.h | 712 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()
|
H A D | grufile.c | 140 vma = gru_find_vma(req.gseg); in gru_create_new_context()
|