Home
last modified time | relevance | path

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

/linux-2.6.39/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.c475 static void gru_prefetch_context(void *gseg, void *cb, void *cbe, in gru_prefetch_context() argument
480 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES, in gru_prefetch_context()
495 void *gseg, *cb, *cbe; in gru_load_context_data() local
499 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_load_context_data()
500 cb = gseg + GRU_CB_BASE; in gru_load_context_data()
503 gru_prefetch_context(gseg, cb, cbe, cbrmap, length); in gru_load_context_data()
522 memcpy(gseg + GRU_DS_BASE, save, length); in gru_load_context_data()
524 memset(gseg + GRU_DS_BASE, 0, length); in gru_load_context_data()
530 void *gseg, *cb, *cbe; in gru_unload_context_data() local
534 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_unload_context_data()
[all …]
Dgrukdump.c50 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local
53 gseg = grubase + ctxnum * GRU_GSEG_STRIDE; in gru_dump_context_data()
54 cb = gseg + GRU_CB_BASE; in gru_dump_context_data()
70 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data()
Dgrufault.c779 gru_dbg(grudev, "gseg 0x%lx\n", req.gseg); in gru_user_unload_context()
781 if (!req.gseg) in gru_user_unload_context()
784 gts = gru_find_lock_gts(req.gseg); in gru_user_unload_context()
809 gru_dbg(grudev, "gseg 0x%lx, vaddr 0x%lx, len 0x%lx\n", req.gseg, in gru_user_flush_tlb()
812 gts = gru_find_lock_gts(req.gseg); in gru_user_flush_tlb()
839 gts = gru_find_lock_gts(req.gseg); in gru_get_gseg_statistics()
866 gru_dbg(grudev, "op %d, gseg 0x%lx, value1 0x%lx\n", req.op, req.gseg, req.val1); in gru_set_context_option()
868 gts = gru_find_lock_gts(req.gseg); in gru_set_context_option()
870 gts = gru_alloc_locked_gts(req.gseg); in gru_set_context_option()
Dgru_instructions.h711 static inline void *gru_get_cb_pointer(void *gseg, in gru_get_cb_pointer() argument
714 return gseg + GRU_CB_BASE + index * GRU_HANDLE_STRIDE; in gru_get_cb_pointer()
722 static inline void *gru_get_data_pointer(void *gseg, int index) in gru_get_data_pointer() argument
724 return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES; in gru_get_data_pointer()
Dgrufile.c148 vma = gru_find_vma(req.gseg); in gru_create_new_context()