Searched refs:delta_time (Results 1 – 8 of 8) sorted by relevance
/drivers/thermal/ |
D | cpu_cooling.c | 391 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/ |
D | cpufreq_interactive.c | 316 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/ |
D | rtw_pwrctrl.c | 250 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/ |
D | rtw_pwrctrl.c | 351 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()
|
D | rtw_mlme.c | 166 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/ |
D | dvb_demux.c | 401 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/ |
D | rtl871x_mlme.c | 107 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/ |
D | rtl8723a_bt-coexist.c | 6412 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()
|