Home
last modified time | relevance | path

Searched refs:active_time (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/base/power/
H A Dwakeup_stats.c43 ktime_t active_time = in active_time_ms_show() local
46 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show()
54 ktime_t active_time; in total_time_ms_show() local
58 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
59 total_time = ktime_add(total_time, active_time); in total_time_ms_show()
70 ktime_t active_time; in max_time_ms_show() local
74 active_time = ktime_sub(ktime_get(), ws->last_time); in max_time_ms_show()
75 if (active_time > max_time) in max_time_ms_show()
76 max_time = active_time; in max_time_ms_show()
/linux/drivers/input/keyboard/
H A Dlm8333.c134 int err, active_time; in lm8333_probe() local
139 active_time = pdata->active_time ?: 500; in lm8333_probe()
140 if (active_time / 3 <= pdata->debounce_time / 3) { in lm8333_probe()
174 if (pdata->active_time) { in lm8333_probe()
176 pdata->active_time / 3); in lm8333_probe()
/linux/tools/laptop/dslm/
H A Ddslm.c74 time_t active_time = 0; in measure() local
96 if (last_state == 1) active_time += time_diff; in measure()
115 tmp = (float)active_time / (float)total_time * 100; in measure()
116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); in measure()
/linux/drivers/gpu/drm/radeon/
H A Drs690.c265 fixed20_12 active_time; member
361 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute()
362 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
487 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
501 b.full = dfixed_mul(b, wm1->active_time); in rs690_compute_mode_priority()
535 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
562 b.full = dfixed_mul(b, wm1->active_time); in rs690_compute_mode_priority()
H A Drv515.c916 fixed20_12 active_time; member
1009 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1010 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute()
1106 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1120 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
1154 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1181 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
H A Devergreen.c1940 u32 active_time; /* active display time in ns */ member
2053 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth()
2104 if (line_fill_time < wm->active_time) in evergreen_latency_watermark()
2107 return latency + (line_fill_time - wm->active_time); in evergreen_latency_watermark()
2132 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding()
2162 u32 active_time; in evergreen_program_watermarks() local
2173 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in evergreen_program_watermarks()
2195 wm_high.active_time = active_time; in evergreen_program_watermarks()
2196 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks()
2222 wm_low.active_time = active_time; in evergreen_program_watermarks()
[all …]
/linux/include/linux/platform_data/
H A Dlm8323.h22 int active_time; /* Idle time until sleep, in ms. */ member
/linux/include/linux/input/
H A Dlm8333.h15 unsigned active_time; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h376 __le32 active_time; /* -1 use default, dwell time per channel for member
420 __le32 active_time; /* -1 use default, dwell time per channel for member
518 __le32 active_time; /* -1 use default, dwell time per channel for member
H A Dcfg80211.c1076 params_le->active_time = params_v2_le->active_time; in brcmf_scan_params_v2_to_v1()
1117 params_le->active_time = cpu_to_le32(-1); in brcmf_escan_prep()
2560 ext_join_params->scan_le.active_time = in brcmf_cfg80211_connect()
2572 ext_join_params->scan_le.active_time = cpu_to_le32(-1); in brcmf_cfg80211_connect()
H A Dp2p.c741 sparams->active_time = cpu_to_le32(active); in brcmf_p2p_escan()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c654 u32 active_time; /* active display time in ns */ member
823 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_bandwidth()
886 if (line_fill_time < wm->active_time) in dce_v8_0_latency_watermark()
889 return latency + (line_fill_time - wm->active_time); in dce_v8_0_latency_watermark()
945 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding()
985 u32 active_time; in dce_v8_0_program_watermarks() local
991 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v8_0_program_watermarks()
1010 wm_high.active_time = active_time; in dce_v8_0_program_watermarks()
1011 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks()
1049 wm_low.active_time = active_time; in dce_v8_0_program_watermarks()
[all …]
H A Ddce_v10_0.c701 u32 active_time; /* active display time in ns */ member
870 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_bandwidth()
933 if (line_fill_time < wm->active_time) in dce_v10_0_latency_watermark()
936 return latency + (line_fill_time - wm->active_time); in dce_v10_0_latency_watermark()
992 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding()
1032 u32 active_time; in dce_v10_0_program_watermarks() local
1038 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v10_0_program_watermarks()
1057 wm_high.active_time = active_time; in dce_v10_0_program_watermarks()
1058 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks()
1096 wm_low.active_time = active_time; in dce_v10_0_program_watermarks()
[all …]
H A Ddce_v6_0.c554 u32 active_time; /* active display time in ns */ member
723 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth()
786 if (line_fill_time < wm->active_time) in dce_v6_0_latency_watermark()
789 return latency + (line_fill_time - wm->active_time); in dce_v6_0_latency_watermark()
845 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding()
886 u32 active_time; in dce_v6_0_program_watermarks() local
896 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v6_0_program_watermarks()
919 wm_high.active_time = active_time; in dce_v6_0_program_watermarks()
920 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks()
946 wm_low.active_time = active_time; in dce_v6_0_program_watermarks()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c1213 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local
1234 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process()
1235 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process()
1236 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Ddce_calcs.h448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
/linux/drivers/hid/
H A Dwacom_sys.c2602 remote->remotes[index].active_time = 0; in wacom_remote_destroy_battery()
2712 if (!remote->remotes[index].active_time) in wacom_remote_attach_battery()
2758 if (kt - remote->remotes[i].active_time > WACOM_REMOTE_BATTERY_TIMEOUT in wacom_remote_work()
2759 && remote->remotes[i].active_time != 0) in wacom_remote_work()
H A Dwacom_wac.c1091 remote->remotes[i].active_time = ktime_get(); in wacom_remote_irq()
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dcalcs_logger.h527 …DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] active_time[%d]:%d", i, bw_fixed_to_int(data->active_time[i])); in print_bw_calcs_data()