Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/base/power/
Dwakeup_stats.c42 ktime_t active_time = in active_time_ms_show() local
45 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show()
53 ktime_t active_time; in total_time_ms_show() local
57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
58 total_time = ktime_add(total_time, active_time); in total_time_ms_show()
69 ktime_t active_time; in max_time_ms_show() local
73 active_time = ktime_sub(ktime_get(), ws->last_time); in max_time_ms_show()
74 if (active_time > max_time) in max_time_ms_show()
75 max_time = active_time; in max_time_ms_show()
Dwakeup.c1058 ktime_t active_time; in print_wakeup_source_stats() local
1070 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats()
1071 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1072 if (active_time > max_time) in print_wakeup_source_stats()
1073 max_time = active_time; in print_wakeup_source_stats()
1079 active_time = 0; in print_wakeup_source_stats()
1085 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
Druntime.c90 dev->power.active_time += delta; in update_pm_runtime_accounting()
107 time = suspended ? dev->power.suspended_time : dev->power.active_time; in rpm_get_accounted_time()
/linux-6.6.21/drivers/input/keyboard/
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()
Dlm8323.c146 int active_time; member
294 lm8323_set_active_time(lm, lm->active_time); in process_keys()
326 int active = lm->active_time >> 2; in lm8323_configure()
338 lm8323_set_active_time(lm, lm->active_time); in lm8323_configure()
670 lm->active_time = pdata->active_time; in lm8323_probe()
/linux-6.6.21/tools/laptop/dslm/
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-6.6.21/include/linux/platform_data/
Dlm8323.h22 int active_time; /* Idle time until sleep, in ms. */ member
/linux-6.6.21/include/linux/input/
Dlm8333.h15 unsigned active_time; member
/linux-6.6.21/drivers/gpu/drm/radeon/
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()
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()
Devergreen.c1939 u32 active_time; /* active display time in ns */ member
2052 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth()
2103 if (line_fill_time < wm->active_time) in evergreen_latency_watermark()
2106 return latency + (line_fill_time - wm->active_time); in evergreen_latency_watermark()
2131 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding()
2161 u32 active_time; in evergreen_program_watermarks() local
2172 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in evergreen_program_watermarks()
2194 wm_high.active_time = active_time; in evergreen_program_watermarks()
2195 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks()
2221 wm_low.active_time = active_time; in evergreen_program_watermarks()
[all …]
Dsi.c2058 u32 active_time; /* active display time in ns */ member
2188 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth()
2242 if (line_fill_time < wm->active_time) in dce6_latency_watermark()
2245 return latency + (line_fill_time - wm->active_time); in dce6_latency_watermark()
2270 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding()
2300 u32 active_time; in dce6_program_watermarks() local
2310 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce6_program_watermarks()
2336 wm_high.active_time = active_time; in dce6_program_watermarks()
2337 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks()
2363 wm_low.active_time = active_time; in dce6_program_watermarks()
[all …]
Dcik.c8904 u32 active_time; /* active display time in ns */ member
9073 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth()
9136 if (line_fill_time < wm->active_time) in dce8_latency_watermark()
9139 return latency + (line_fill_time - wm->active_time); in dce8_latency_watermark()
9195 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding()
9235 u32 active_time; in dce8_program_watermarks() local
9241 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce8_program_watermarks()
9261 wm_high.active_time = active_time; in dce8_program_watermarks()
9262 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks()
9301 wm_low.active_time = active_time; in dce8_program_watermarks()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c502 u32 active_time; /* active display time in ns */ member
671 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth()
734 if (line_fill_time < wm->active_time) in dce_v6_0_latency_watermark()
737 return latency + (line_fill_time - wm->active_time); in dce_v6_0_latency_watermark()
793 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding()
834 u32 active_time; in dce_v6_0_program_watermarks() local
844 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v6_0_program_watermarks()
867 wm_high.active_time = active_time; in dce_v6_0_program_watermarks()
868 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks()
894 wm_low.active_time = active_time; in dce_v6_0_program_watermarks()
[all …]
Ddce_v8_0.c637 u32 active_time; /* active display time in ns */ member
806 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_bandwidth()
869 if (line_fill_time < wm->active_time) in dce_v8_0_latency_watermark()
872 return latency + (line_fill_time - wm->active_time); in dce_v8_0_latency_watermark()
928 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding()
968 u32 active_time; in dce_v8_0_program_watermarks() local
974 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v8_0_program_watermarks()
993 wm_high.active_time = active_time; in dce_v8_0_program_watermarks()
994 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks()
1032 wm_low.active_time = active_time; in dce_v8_0_program_watermarks()
[all …]
Ddce_v10_0.c698 u32 active_time; /* active display time in ns */ member
867 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_bandwidth()
930 if (line_fill_time < wm->active_time) in dce_v10_0_latency_watermark()
933 return latency + (line_fill_time - wm->active_time); in dce_v10_0_latency_watermark()
989 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding()
1029 u32 active_time; in dce_v10_0_program_watermarks() local
1035 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v10_0_program_watermarks()
1054 wm_high.active_time = active_time; in dce_v10_0_program_watermarks()
1055 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks()
1093 wm_low.active_time = active_time; in dce_v10_0_program_watermarks()
[all …]
Ddce_v11_0.c730 u32 active_time; /* active display time in ns */ member
899 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth()
962 if (line_fill_time < wm->active_time) in dce_v11_0_latency_watermark()
965 return latency + (line_fill_time - wm->active_time); in dce_v11_0_latency_watermark()
1021 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding()
1061 u32 active_time; in dce_v11_0_program_watermarks() local
1067 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v11_0_program_watermarks()
1086 wm_high.active_time = active_time; in dce_v11_0_program_watermarks()
1087 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks()
1125 wm_low.active_time = active_time; in dce_v11_0_program_watermarks()
[all …]
/linux-6.6.21/drivers/hid/
Dwacom.h153 ktime_t active_time; member
Dwacom_sys.c2557 remote->remotes[index].active_time = 0; in wacom_remote_destroy_battery()
2667 if (!remote->remotes[index].active_time) in wacom_remote_attach_battery()
2713 if (kt - remote->remotes[i].active_time > WACOM_REMOTE_BATTERY_TIMEOUT in wacom_remote_work()
2714 && remote->remotes[i].active_time != 0) in wacom_remote_work()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c1100 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local
1121 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process()
1122 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process()
1123 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
/linux-6.6.21/include/linux/
Dpm.h716 u64 active_time; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c1194 …data->active_time[i] = bw_div(bw_div(data->source_width_rounded_up_to_chunks[i], data->hsr[i]), da… in calculate_bandwidth()
1213 …e_in_memory[i]), bw_int_to_fixed(1))), data->dmif_buffer_transfer_time[i]), data->active_time[i])); in calculate_bandwidth()
1260 …], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])))))); in calculate_bandwidth()
1263 …el[i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])); in calculate_bandwidth()
1269 …i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i]))))); in calculate_bandwidth()
1334 …_with_cursor[k], vbios->blackout_duration), data->dmif_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth()
1344 …_duration), data->dmif_burst_time[i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth()
1399 …time[i][j]), data->dram_speed_change_line_source_transfer_time[k][i][j]), data->active_time[k])))); in calculate_bandwidth()
1413 …ange_line_source_transfer_time[k][i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth()
1865 …_dispclk), (bw_div(data->dispclk, dceip->display_pipe_throughput_factor))), data->active_time[i])); in calculate_bandwidth()
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()

12