Searched refs:GRU_HANDLE_STRIDE (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/misc/sgi-gru/ |
D | gruhandles.h | 50 #define GRU_HANDLE_STRIDE 256 macro 84 #define GRU_CB_LIMIT (GRU_CB_BASE + GRU_HANDLE_STRIDE * GRU_NUM_CBE) 96 GRU_##hn##_BASE + GRU_NUM_##hn * GRU_HANDLE_STRIDE && \ 97 (((h) & (GRU_HANDLE_STRIDE - 1)) == 0)) 109 GRU_CB_BASE + GRU_HANDLE_STRIDE * line); in get_gseg_base_address_cb() 121 ctxnum * GRU_HANDLE_STRIDE); in get_tfm() 127 ctxnum * GRU_HANDLE_STRIDE); in get_tgh() 133 ctxnum * GRU_HANDLE_STRIDE); in get_cbe() 139 ctxnum * GRU_HANDLE_STRIDE); in get_tfh() 146 GRU_CCH_BASE + ctxnum * GRU_HANDLE_STRIDE); in get_cch() [all …]
|
D | grukdump.c | 66 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 68 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 70 cb += GRU_HANDLE_STRIDE; in gru_dump_context_data() 73 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data()
|
D | grumain.c | 486 prefetch_data(cbe + i * GRU_HANDLE_STRIDE, 1, in gru_prefetch_context() 488 cb += GRU_HANDLE_STRIDE; in gru_prefetch_context() 509 save += gru_copy_handle(cbe + i * GRU_HANDLE_STRIDE, in gru_load_context_data() 513 memset(cbe + i * GRU_HANDLE_STRIDE, 0, in gru_load_context_data() 518 gru_flush_cache(cbe + i * GRU_HANDLE_STRIDE); in gru_load_context_data() 519 cb += GRU_HANDLE_STRIDE; in gru_load_context_data() 542 gru_flush_cache(cbe + i * GRU_HANDLE_STRIDE); in gru_unload_context_data() 549 save += gru_copy_handle(save, cbe + i * GRU_HANDLE_STRIDE); in gru_unload_context_data() 550 cb += GRU_HANDLE_STRIDE; in gru_unload_context_data()
|
D | gru.h | 26 #define GRU_HANDLE_STRIDE 256 macro
|
D | grukservices.c | 276 *cb = bs->kernel_cb + lcpu * GRU_HANDLE_STRIDE; in gru_get_cpu_resources() 380 *cb = bs->kernel_cb + ncpus * GRU_HANDLE_STRIDE; in gru_lock_async_resource() 1079 gru_vset(cb0 + i * GRU_HANDLE_STRIDE, uv_gpa(&buf[i * 4]), 0, in quicktest2() 1087 cb = cb0 + i * GRU_HANDLE_STRIDE; in quicktest2()
|
D | gru_instructions.h | 715 return gseg + GRU_CB_BASE + index * GRU_HANDLE_STRIDE; in gru_get_cb_pointer()
|
D | grufault.c | 661 if ((cb & (GRU_HANDLE_STRIDE - 1)) || ucbnum >= GRU_NUM_CB) in gru_handle_user_call_os()
|