Home
last modified time | relevance | path

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

/linux/drivers/misc/sgi-gru/
H A Dgrumain.c101 for (i = 0; i < GRU_NUM_CCH; i++) { in gru_reset_asid_limit()
750 #define next_ctxnum(n) ((n) < GRU_NUM_CCH - 2 ? (n) + 1 : 0)
802 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context()
805 for (; ctxnum < GRU_NUM_CCH; ctxnum++) { in gru_steal_context()
853 ctxnum = find_first_zero_bit(&gru->gs_context_map, GRU_NUM_CCH); in gru_assign_context_number()
871 max_active_contexts = GRU_NUM_CCH; in gru_assign_gru_context()
888 gts->ts_dsr_au_count, GRU_NUM_CCH)) { in gru_assign_gru_context()
H A Dgruprocfs.c170 for (i = 0; i < GRU_NUM_CCH; i++) { in cch_seq_show()
197 ctxfree = GRU_NUM_CCH - gru->gs_active_contexts; in gru_seq_show()
201 gru->gs_gid, gru->gs_blade_id, GRU_NUM_CCH - ctxfree, in gru_seq_show()
H A Dgrutables.h437 struct gru_thread_state *gs_gts[GRU_NUM_CCH]; /* GTS currently using
520 for ((ctxnum) = 0; (ctxnum) < GRU_NUM_CCH; (ctxnum)++) \
H A Dgrukdump.c205 for (ctxnum = 0; ctxnum < GRU_NUM_CCH; ctxnum++) { in gru_dump_chiplet_request()
H A Dgruhandles.h28 #define GRU_NUM_CCH 16 macro
H A Dgrufault.c753 for (ctxnum = 0; ctxnum < GRU_NUM_CCH; ctxnum++) { in gru_unload_all_contexts()