Lines Matching refs:curr
261 struct tsnep_gcl *gcl, struct tsnep_gcl *curr) in tsnep_enable_gcl() argument
273 if (curr) in tsnep_enable_gcl()
274 limit = timeout + curr->change_limit; in tsnep_enable_gcl()
286 if (curr) { in tsnep_enable_gcl()
291 last = tsnep_gcl_start_before(curr, gcl->start_time); in tsnep_enable_gcl()
292 if ((last + curr->cycle_time) == gcl->start_time) in tsnep_enable_gcl()
293 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl()
296 curr->cycle_time_extension) || in tsnep_enable_gcl()
298 change = tsnep_extend_gcl(curr, last, in tsnep_enable_gcl()
301 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl()
322 struct tsnep_gcl *curr; in tsnep_taprio() local
356 curr = &adapter->gcl[1]; in tsnep_taprio()
358 curr = &adapter->gcl[0]; in tsnep_taprio()
360 curr = NULL; in tsnep_taprio()
369 retval = tsnep_enable_gcl(adapter, gcl, curr); in tsnep_taprio()
390 if (curr) in tsnep_taprio()
391 tsnep_clean_gcl(curr); in tsnep_taprio()