Home
last modified time | relevance | path

Searched refs:duration_us (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/cpuidle/governors/
Dteo.c210 unsigned int duration_us) in teo_find_shallower_state() argument
219 if (drv->states[i].target_residency <= duration_us) in teo_find_shallower_state()
236 unsigned int duration_us, count; in teo_select() local
248 duration_us = ktime_to_us(cpu_data->sleep_length_ns); in teo_select()
279 if (s->target_residency > duration_us) in teo_select()
306 duration_us = drv->states[idx].target_residency; in teo_select()
330 if (val >= duration_us) in teo_select()
349 duration_us = avg_us; in teo_select()
362 duration_us < TICK_USEC) && !tick_nohz_tick_stopped()) { in teo_select()
/Linux-v5.4/drivers/powercap/
Didle_inject.c107 unsigned int duration_us; in idle_inject_timer_fn() local
111 duration_us = READ_ONCE(ii_dev->run_duration_us); in idle_inject_timer_fn()
112 duration_us += READ_ONCE(ii_dev->idle_duration_us); in idle_inject_timer_fn()
116 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC)); in idle_inject_timer_fn()
/Linux-v5.4/kernel/sched/
Didle.c314 void play_idle(unsigned long duration_us) in play_idle() argument
326 WARN_ON_ONCE(!duration_us); in play_idle()
336 hrtimer_start(&it.timer, ns_to_ktime(duration_us * NSEC_PER_USEC), in play_idle()
/Linux-v5.4/drivers/usb/dwc2/
Dhcd_queue.c554 qh, i, trans_time->duration_us, uframe, rel_us); in dwc2_qh_schedule_print()
666 DWC2_HS_SCHEDULE_UFRAMES, trans_time->duration_us, in dwc2_hs_pmap_schedule()
691 DWC2_HS_SCHEDULE_UFRAMES, trans_time->duration_us, in dwc2_hs_pmap_unschedule()
933 qh->hs_transfers[0].duration_us = HS_USECS_ISO(first_count); in dwc2_uframe_schedule_split()
935 qh->hs_transfers[i].duration_us = in dwc2_uframe_schedule_split()
938 qh->hs_transfers[qh->num_hs_transfers - 1].duration_us = in dwc2_uframe_schedule_split()
999 qh->hs_transfers[0].duration_us = qh->host_us; in dwc2_uframe_schedule_hs()
Dhcd.h254 u16 duration_us; member
/Linux-v5.4/drivers/iio/chemical/
Dsgp30.c235 unsigned long duration_us) in sgp_read_cmd() argument
245 usleep_range(duration_us, duration_us + 1000); in sgp_read_cmd()
/Linux-v5.4/include/linux/
Dcpu.h187 void play_idle(unsigned long duration_us);
/Linux-v5.4/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py475duration_us = (int(time_pre_dec) - int(last_sec_cpu[cpu_int])) * 1000000 + (int(time_post_dec) - i…
476 duration_ms = Decimal(duration_us) / Decimal(1000)