Searched refs:idle_time (Results 1 – 17 of 17) sorted by relevance
/drivers/thermal/ |
D | cpufreq_cooling.c | 80 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/ |
D | cpufreq_governor.c | 140 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()
|
D | cpufreq_ondemand.c | 357 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()
|
D | cpufreq.c | 131 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/ |
D | panfrost_devfreq.c | 23 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()
|
D | panfrost_devfreq.h | 23 ktime_t idle_time; member
|
/drivers/gpu/drm/lima/ |
D | lima_devfreq.c | 29 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()
|
D | lima_devfreq.h | 24 ktime_t idle_time; member
|
/drivers/net/wireless/marvell/mwifiex/ |
D | ioctl.h | 298 u16 idle_time; member
|
D | cmdevt.c | 1370 idletime = auto_ds->idle_time; in mwifiex_cmd_enh_power_mode()
|
D | sta_cmd.c | 2395 auto_ds.idle_time = DEEP_SLEEP_IDLE_TIME; in mwifiex_sta_init_cmd()
|
/drivers/base/power/ |
D | domain.c | 244 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/ |
D | dm-cache-target.c | 54 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/ |
D | wmi.h | 3084 u32 idle_time; member 3185 u32 idle_time; member 3258 u32 idle_time; member
|
D | wmi.c | 1941 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/ |
D | wmi.h | 3203 __le32 idle_time; member 3255 u32 idle_time; member
|
D | wmi.c | 6922 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()
|