Home
last modified time | relevance | path

Searched refs:idle_time (Results 1 – 17 of 17) sorted by relevance

/drivers/thermal/
Dcpufreq_cooling.c80 struct time_in_idle *idle_time; member
149 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load() local
152 delta_idle = now_idle - idle_time->time; in get_load()
153 delta_time = now - idle_time->timestamp; in get_load()
160 idle_time->time = now_idle; in get_load()
161 idle_time->timestamp = now; in get_load()
523 cpufreq_cdev->idle_time = kcalloc(num_cpus, in __cpufreq_cooling_register()
524 sizeof(*cpufreq_cdev->idle_time), in __cpufreq_cooling_register()
526 if (!cpufreq_cdev->idle_time) { in __cpufreq_cooling_register()
587 kfree(cpufreq_cdev->idle_time); in __cpufreq_cooling_register()
[all …]
/drivers/cpufreq/
Dcpufreq_governor.c140 unsigned int idle_time, time_elapsed; in dbs_update() local
148 idle_time = cur_idle_time - j_cdbs->prev_cpu_idle; in dbs_update()
154 idle_time += div_u64(cur_nice - j_cdbs->prev_cpu_nice, NSEC_PER_USEC); in dbs_update()
165 } else if (unlikely((int)idle_time > 2 * sampling_rate && in dbs_update()
192 if (time_elapsed >= idle_time) { in dbs_update()
193 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update()
210 load = (int)idle_time < 0 ? 100 : 0; in dbs_update()
215 if (unlikely((int)idle_time > 2 * sampling_rate)) { in dbs_update()
216 unsigned int periods = idle_time / sampling_rate; in dbs_update()
Dcpufreq_ondemand.c357 u64 idle_time; in od_init() local
365 idle_time = get_cpu_idle_time_us(cpu, NULL); in od_init()
367 if (idle_time != -1ULL) { in od_init()
Dcpufreq.c131 u64 idle_time; in get_cpu_idle_time_jiffy() local
145 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy()
149 return div_u64(idle_time, NSEC_PER_USEC); in get_cpu_idle_time_jiffy()
154 u64 idle_time = get_cpu_idle_time_us(cpu, io_busy ? wall : NULL); in get_cpu_idle_time() local
156 if (idle_time == -1ULL) in get_cpu_idle_time()
159 idle_time += get_cpu_iowait_time_us(cpu, wall); in get_cpu_idle_time()
161 return idle_time; in get_cpu_idle_time()
/drivers/gpu/drm/panfrost/
Dpanfrost_devfreq.c23 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
49 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset()
67 pfdevfreq->idle_time)); in panfrost_devfreq_get_dev_status()
Dpanfrost_devfreq.h23 ktime_t idle_time; member
/drivers/gpu/drm/lima/
Dlima_devfreq.c29 devfreq->idle_time += ktime_sub(now, last); in lima_devfreq_update_utilization()
55 devfreq->idle_time = 0; in lima_devfreq_reset()
73 devfreq->idle_time)); in lima_devfreq_get_dev_status()
Dlima_devfreq.h24 ktime_t idle_time; member
/drivers/net/wireless/marvell/mwifiex/
Dioctl.h298 u16 idle_time; member
Dcmdevt.c1370 idletime = auto_ds->idle_time; in mwifiex_cmd_enh_power_mode()
Dsta_cmd.c2395 auto_ds.idle_time = DEEP_SLEEP_IDLE_TIME; in mwifiex_sta_init_cmd()
/drivers/base/power/
Ddomain.c244 genpd->states[state_idx].idle_time = in genpd_update_accounting()
245 ktime_add(genpd->states[state_idx].idle_time, delta); in genpd_update_accounting()
3143 ktime_add(genpd->states[i].idle_time, delta)); in idle_states_show()
3189 total = ktime_add(total, genpd->states[i].idle_time); in total_idle_time_show()
/drivers/md/
Ddm-cache-target.c54 unsigned long idle_time; member
62 iot->idle_time = 0ul; in iot_init()
71 return time_after(jiffies, iot->idle_time + jifs); in __iot_idle_for()
99 iot->idle_time = jiffies; in __iot_io_end()
/drivers/net/wireless/ath/ath11k/
Dwmi.h3084 u32 idle_time; member
3185 u32 idle_time; member
3258 u32 idle_time; member
Dwmi.c1941 arg->idle_time = 0; in ath11k_wmi_start_scan_init()
2099 cmd->idle_time = params->idle_time; in ath11k_wmi_send_scan_start_cmd()
/drivers/net/wireless/ath/ath10k/
Dwmi.h3203 __le32 idle_time; member
3255 u32 idle_time; member
Dwmi.c6922 cmn->idle_time = __cpu_to_le32(arg->idle_time); in ath10k_wmi_put_start_scan_common()
7061 arg->idle_time = 0; in ath10k_wmi_start_scan_init()