Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/
Ddfs_pri_detector.c233 u32 delta_ts = ts - p->ts; in pseq_handler_create_sequences() local
235 if (delta_ts < pde->rs->pri_min) in pseq_handler_create_sequences()
239 if (delta_ts > pde->rs->pri_max) in pseq_handler_create_sequences()
309 u32 delta_ts; in pseq_handler_add_to_existing_seqs() local
319 delta_ts = ts - ps->last_ts; in pseq_handler_add_to_existing_seqs()
320 factor = pde_get_multiple(delta_ts, ps->pri, in pseq_handler_add_to_existing_seqs()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c89 u32 delta_ts = time_ref->ts_dev_2 - time_ref->ts_dev_1; in peak_usb_update_ts_now() local
92 delta_ts &= (1 << time_ref->adapter->ts_used_bits) - 1; in peak_usb_update_ts_now()
94 time_ref->ts_total += delta_ts; in peak_usb_update_ts_now()
138 s64 delta_ts = 0; in peak_usb_get_ts_time() local
164 delta_ts = BIT_ULL(time_ref->adapter->ts_used_bits); in peak_usb_get_ts_time()
176 delta_ts = -BIT_ULL(time_ref->adapter->ts_used_bits); in peak_usb_get_ts_time()
180 delta_ts += (signed int)(ts - time_ref->ts_dev_2); in peak_usb_get_ts_time()
183 delta_ts += time_ref->ts_total; in peak_usb_get_ts_time()
186 delta_us = delta_ts * time_ref->adapter->us_per_ts_scale; in peak_usb_get_ts_time()
/linux-6.1.9/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()
/linux-6.1.9/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()