Lines Matching refs:ts_ctxnum
225 unsigned short ctxbitmap = (1 << gts->ts_ctxnum); in gru_load_mm_tracker()
251 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker()
264 ctxbitmap = (1 << gts->ts_ctxnum); in gru_unload_mm_tracker()
270 gru->gs_gid, gts, gms, gts->ts_ctxnum, gms->ms_asidmap[0]); in gru_unload_mm_tracker()
331 gts->ts_ctxnum = NULLCTX; in gru_alloc_gts()
428 gru->gs_gts[gts->ts_ctxnum] = NULL; in gru_free_gru_context()
430 BUG_ON(test_bit(gts->ts_ctxnum, &gru->gs_context_map) == 0); in gru_free_gru_context()
431 __clear_bit(gts->ts_ctxnum, &gru->gs_context_map); in gru_free_gru_context()
432 gts->ts_ctxnum = NULLCTX; in gru_free_gru_context()
542 int ctxnum = gts->ts_ctxnum; in gru_unload_context()
578 int i, err, asid, ctxnum = gts->ts_ctxnum; in gru_load_context()
645 int i, ctxnum = gts->ts_ctxnum, ret = 0; in gru_update_cch()
651 if (gru->gs_gts[gts->ts_ctxnum] != gts) in gru_update_cch()
895 gts->ts_ctxnum = gru_assign_context_number(gru); in gru_assign_gru_context()
897 gru->gs_gts[gts->ts_ctxnum] = gts; in gru_assign_gru_context()
903 gseg_virtual_address(gts->ts_gru, gts->ts_ctxnum), gts, in gru_assign_gru_context()
904 gts->ts_gru->gs_gid, gts->ts_ctxnum, in gru_assign_gru_context()
959 paddr = gseg_physical_address(gts->ts_gru, gts->ts_ctxnum); in gru_fault()