Home
last modified time | relevance | path

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

/drivers/thermal/
Dcpu_cooling.c391 u64 now, now_idle, delta_time, delta_idle; in get_load() local
395 delta_time = now - cpufreq_device->time_in_idle_timestamp[cpu_idx]; in get_load()
397 if (delta_time <= delta_idle) in get_load()
400 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()
/drivers/cpufreq/
Dcpufreq_interactive.c316 u64 delta_time; in update_load() local
321 delta_time = (now - pcpu->time_in_idle_timestamp); in update_load()
323 if (delta_time <= delta_idle) in update_load()
326 active_time = delta_time - delta_idle; in update_load()
338 unsigned int delta_time; in cpufreq_interactive_timer() local
358 delta_time = (unsigned int)(now - pcpu->cputime_speedadj_timestamp); in cpufreq_interactive_timer()
362 if (WARN_ON_ONCE(!delta_time)) in cpufreq_interactive_timer()
366 do_div(cputime_speedadj, delta_time); in cpufreq_interactive_timer()
/drivers/staging/rtl8723au/core/
Drtw_pwrctrl.c250 unsigned long delta_time; in PS_RDY_CHECK() local
254 delta_time = jiffies - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
256 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c351 u32 curr_time, delta_time; in PS_RDY_CHECK() local
357 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
359 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
Drtw_mlme.c166 u32 curr_time, delta_time; in _rtw_free_network() local
180 delta_time = (curr_time - pnetwork->last_scanned)/HZ; in _rtw_free_network()
181 if (delta_time < lifetime)/* unit:sec */ in _rtw_free_network()
/drivers/media/dvb-core/
Ddvb_demux.c401 struct timespec cur_time, delta_time; in dvb_dmx_swfilter_packet() local
412 delta_time = timespec_sub(cur_time, in dvb_dmx_swfilter_packet()
420 (u64)timespec_to_ns(&delta_time); in dvb_dmx_swfilter_packet()
/drivers/staging/rtl8712/
Drtl871x_mlme.c107 u32 curr_time, delta_time; in _free_network() local
116 delta_time = (curr_time - (u32)pnetwork->last_scanned) / HZ; in _free_network()
117 if (delta_time < SCANQUEUE_LIFETIME) in _free_network()
/drivers/staging/rtl8723au/hal/
Drtl8723a_bt-coexist.c6412 unsigned long delta_time; in BTDM_1AntBtCoexist8723A() local
6431 delta_time = jiffies - padapter->pwrctrlpriv.DelayLPSLastTimeStamp; in BTDM_1AntBtCoexist8723A()
6432 delta_time = jiffies_to_msecs(delta_time); in BTDM_1AntBtCoexist8723A()
6433 if (delta_time < 500) { in BTDM_1AntBtCoexist8723A()
6435 "progress(%li ms)!!\n", delta_time)); in BTDM_1AntBtCoexist8723A()