Home
last modified time | relevance | path

Searched refs:delta_ts (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/
Ddfs_pri_detector.c234 u32 delta_ts = ts - p->ts; in pseq_handler_create_sequences() local
236 if (delta_ts < pde->rs->pri_min) in pseq_handler_create_sequences()
240 if (delta_ts > pde->rs->pri_max) in pseq_handler_create_sequences()
310 u32 delta_ts; in pseq_handler_add_to_existing_seqs() local
320 delta_ts = ts - ps->last_ts; in pseq_handler_add_to_existing_seqs()
321 factor = pde_get_multiple(delta_ts, ps->pri, in pseq_handler_add_to_existing_seqs()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c84 u32 delta_ts = time_ref->ts_dev_2 - time_ref->ts_dev_1; in peak_usb_update_ts_now() local
87 delta_ts &= (1 << time_ref->adapter->ts_used_bits) - 1; in peak_usb_update_ts_now()
89 time_ref->ts_total += delta_ts; in peak_usb_update_ts_now()
133 s64 delta_ts = 0; in peak_usb_get_ts_time() local
159 delta_ts = BIT_ULL(time_ref->adapter->ts_used_bits); in peak_usb_get_ts_time()
171 delta_ts = -BIT_ULL(time_ref->adapter->ts_used_bits); in peak_usb_get_ts_time()
175 delta_ts += (signed int)(ts - time_ref->ts_dev_2); in peak_usb_get_ts_time()
178 delta_ts += time_ref->ts_total; in peak_usb_get_ts_time()
181 delta_us = delta_ts * time_ref->adapter->us_per_ts_scale; in peak_usb_get_ts_time()
/drivers/gpu/drm/i915/gvt/
Dsched_policy.c77 ktime_t delta_ts; in vgpu_update_timeslice() local
84 delta_ts = ktime_sub(cur_time, vgpu_data->sched_in_time); in vgpu_update_timeslice()
85 vgpu_data->sched_time = ktime_add(vgpu_data->sched_time, delta_ts); in vgpu_update_timeslice()
86 vgpu_data->left_ts = ktime_sub(vgpu_data->left_ts, delta_ts); in vgpu_update_timeslice()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_dfs.c229 u32 current_ts, delta_ts; in mt76x02_dfs_check_chirp() local
233 delta_ts = current_ts - dfs_pd->chirp_pulse_ts; in mt76x02_dfs_check_chirp()
237 if (delta_ts <= (12 * (1 << 20))) { in mt76x02_dfs_check_chirp()
396 u32 delta_ts; in mt76x02_dfs_check_event() local
400 delta_ts = event->ts - event_buff->data[last_event_idx].ts; in mt76x02_dfs_check_event()
401 if (delta_ts < MT_DFS_EVENT_TIME_MARGIN && in mt76x02_dfs_check_event()