Lines Matching refs:gru
509 #define for_each_gru_on_blade(gru, nid, i) \ argument
510 for ((gru) = gru_base[nid]->bs_grus, (i) = 0; \
512 (i)++, (gru)++)
519 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument
521 if (((gts) = (gru)->gs_gts[ctxnum]))
533 #define gseg_physical_address(gru, ctxnum) \ argument
534 ((gru)->gs_gru_base_paddr + ctxnum * GRU_GSEG_STRIDE)
535 #define gseg_virtual_address(gru, ctxnum) \ argument
536 ((gru)->gs_gru_base_vaddr + ctxnum * GRU_GSEG_STRIDE)
622 extern void gru_tgh_flush_init(struct gru_state *gru);
638 extern void gru_flush_all_tlb(struct gru_state *gru);
645 extern unsigned long gru_reserve_cb_resources(struct gru_state *gru,
647 extern unsigned long gru_reserve_ds_resources(struct gru_state *gru,