Lines Matching refs:system_time
158 u64 system_time; in delay_base_time() local
162 tsnep_get_system_time(adapter, &system_time); in delay_base_time()
163 system_time += ms * 1000000; in delay_base_time()
164 n = div64_u64(system_time - base_time, qopt->cycle_time); in delay_base_time()
171 u64 *system_time) in get_gate_state() argument
191 *system_time = (((u64)time_high) << 32) | ((u64)time_low); in get_gate_state()
194 static int get_operation(struct tsnep_gcl *gcl, u64 system_time, u64 *next) in get_operation() argument
196 u64 n = div64_u64(system_time - gcl->base_time, gcl->cycle_time); in get_operation()
203 if (*next > system_time) in get_operation()
214 u64 system_time; in check_gate() local
221 get_gate_state(adapter, &gc, &gc_time, &system_time); in check_gate()
232 if (curr->start_time <= system_time) { in check_gate()
236 index = get_operation(curr, system_time, &next_time); in check_gate()
250 index = get_operation(prev, system_time, &next_time); in check_gate()
261 system_time)) { in check_gate()