Lines Matching refs:tc
31 struct tc *t; in vpe_run()
46 if (list_empty(&v->tc)) { in vpe_run()
57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run()
146 void cleanup_tc(struct tc *tc) in cleanup_tc() argument
158 settc(tc->index); in cleanup_tc()
208 struct tc *t; in vpe_stop()
213 t = list_entry(v->tc.next, struct tc, tc); in vpe_stop()
229 struct tc *t; in vpe_free()
232 t = list_entry(v->tc.next, struct tc, tc); in vpe_free()
330 struct tc *t; in vpe_module_init()
331 int tc, err; in vpe_module_init() local
386 for (tc = aprp_cpu_index(); tc < hw_tcs; tc++) { in vpe_module_init()
395 t = alloc_tc(tc); in vpe_module_init()
407 if (tc < hw_tcs) { in vpe_module_init()
408 settc(tc); in vpe_module_init()
410 v = alloc_vpe(tc); in vpe_module_init()
419 list_add(&t->tc, &v->tc); in vpe_module_init()
422 if (tc >= aprp_cpu_index()) { in vpe_module_init()
436 if (tc >= vpelimit) { in vpe_module_init()
448 if (tc >= aprp_cpu_index()) { in vpe_module_init()
451 settc(tc); in vpe_module_init()