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()
147 void cleanup_tc(struct tc *tc) in cleanup_tc() argument
159 settc(tc->index); in cleanup_tc()
209 struct tc *t; in vpe_stop()
214 t = list_entry(v->tc.next, struct tc, tc); in vpe_stop()
230 struct tc *t; in vpe_free()
233 t = list_entry(v->tc.next, struct tc, tc); in vpe_free()
333 struct tc *t; in vpe_module_init()
334 int tc, err; in vpe_module_init() local
389 for (tc = aprp_cpu_index(); tc < hw_tcs; tc++) { in vpe_module_init()
398 t = alloc_tc(tc); in vpe_module_init()
410 if (tc < hw_tcs) { in vpe_module_init()
411 settc(tc); in vpe_module_init()
413 v = alloc_vpe(tc); in vpe_module_init()
422 list_add(&t->tc, &v->tc); in vpe_module_init()
425 if (tc >= aprp_cpu_index()) { in vpe_module_init()
439 if (tc >= vpelimit) { in vpe_module_init()
451 if (tc >= aprp_cpu_index()) { in vpe_module_init()
454 settc(tc); in vpe_module_init()