Lines Matching refs:gru
523 #define for_each_gru_on_blade(gru, nid, i) \ argument
524 for ((gru) = gru_base[nid]->bs_grus, (i) = 0; \
526 (i)++, (gru)++)
533 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument
535 if (((gts) = (gru)->gs_gts[ctxnum]))
553 #define gseg_physical_address(gru, ctxnum) \ argument
554 ((gru)->gs_gru_base_paddr + ctxnum * GRU_GSEG_STRIDE)
555 #define gseg_virtual_address(gru, ctxnum) \ argument
556 ((gru)->gs_gru_base_vaddr + ctxnum * GRU_GSEG_STRIDE)
642 extern void gru_tgh_flush_init(struct gru_state *gru);
658 extern void gru_flush_all_tlb(struct gru_state *gru);
665 extern unsigned long gru_reserve_cb_resources(struct gru_state *gru,
667 extern unsigned long gru_reserve_ds_resources(struct gru_state *gru,