Lines Matching refs:ts_ctxnum
242 unsigned short ctxbitmap = (1 << gts->ts_ctxnum); in gru_load_mm_tracker()
268 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker()
281 ctxbitmap = (1 << gts->ts_ctxnum); in gru_unload_mm_tracker()
287 gru->gs_gid, gts, gms, gts->ts_ctxnum, gms->ms_asidmap[0]); in gru_unload_mm_tracker()
348 gts->ts_ctxnum = NULLCTX; in gru_alloc_gts()
445 gru->gs_gts[gts->ts_ctxnum] = NULL; in gru_free_gru_context()
447 BUG_ON(test_bit(gts->ts_ctxnum, &gru->gs_context_map) == 0); in gru_free_gru_context()
448 __clear_bit(gts->ts_ctxnum, &gru->gs_context_map); in gru_free_gru_context()
449 gts->ts_ctxnum = NULLCTX; in gru_free_gru_context()
559 int ctxnum = gts->ts_ctxnum; in gru_unload_context()
595 int i, err, asid, ctxnum = gts->ts_ctxnum; in gru_load_context()
662 int i, ctxnum = gts->ts_ctxnum, ret = 0; in gru_update_cch()
668 if (gru->gs_gts[gts->ts_ctxnum] != gts) in gru_update_cch()
903 gts->ts_ctxnum = gru_assign_context_number(gru); in gru_assign_gru_context()
905 gru->gs_gts[gts->ts_ctxnum] = gts; in gru_assign_gru_context()
911 gseg_virtual_address(gts->ts_gru, gts->ts_ctxnum), gts, in gru_assign_gru_context()
912 gts->ts_gru->gs_gid, gts->ts_ctxnum, in gru_assign_gru_context()
962 paddr = gseg_physical_address(gts->ts_gru, gts->ts_ctxnum); in gru_fault()