Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgrufile.c49 struct gru_blade_state *gru_base[GRU_MAX_BLADES] __read_mostly; variable
245 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet()
277 gru_base[bid] = page_address(page); in gru_init_tables()
278 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables()
279 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables()
280 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables()
281 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables()
285 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables()
304 free_pages((unsigned long)gru_base[bid], order); in gru_init_tables()
315 free_pages((unsigned long)gru_base[bid], order); in gru_free_tables()
[all …]
Dgrutables.h155 extern struct gru_blade_state *gru_base[];
500 #define get_gru(b, c) (&gru_base[b]->bs_grus[c])
512 (gru_base[(gid) / GRU_CHIPLETS_PER_BLADE] ? \
513 (&gru_base[(gid) / GRU_CHIPLETS_PER_BLADE]-> \
523 for ((gru) = gru_base[nid]->bs_grus, (i) = 0; \
Dgrukservices.c101 #define ASYNC_HAN_TO_BS(h) gru_base[ASYNC_HAN_TO_BID(h)]
201 bs = gru_base[bid]; in gru_free_kernel_contexts()
231 bs = gru_base[bid]; in gru_lock_kernel_context()
253 bs = gru_base[blade_id]; in gru_unlock_kernel_context()
304 bs = gru_base[blade_id]; in gru_reserve_async_resources()
408 if (!gru_base[bid]) in gru_get_cb_exception_detail()
410 kgts = gru_base[bid]->bs_kgts; in gru_get_cb_exception_detail()
Dgrufault.c539 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()
879 if (req.val1 < -1 || req.val1 >= GRU_MAX_BLADES || !gru_base[req.val1] || in gru_set_context_option()
Dgrumain.c797 blade = gru_base[blade_id]; in gru_steal_context()