/Linux-v6.6/drivers/base/power/ |
D | wakeup_stats.c | 42 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()
|
D | wakeup.c | 1058 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()
|
D | runtime.c | 90 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-v6.6/drivers/input/keyboard/ |
D | lm8333.c | 134 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()
|
D | lm8323.c | 146 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-v6.6/tools/laptop/dslm/ |
D | dslm.c | 74 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-v6.6/include/linux/platform_data/ |
D | lm8323.h | 22 int active_time; /* Idle time until sleep, in ms. */ member
|
/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | rs690.c | 265 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()
|
D | rv515.c | 916 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()
|
D | evergreen.c | 1939 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 …]
|
D | si.c | 2058 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 …]
|
D | cik.c | 8904 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-v6.6/include/linux/input/ |
D | lm8333.h | 15 unsigned active_time; member
|
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil_types.h | 376 __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-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 502 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 …]
|
D | dce_v8_0.c | 637 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 …]
|
D | dce_v10_0.c | 698 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 …]
|
D | dce_v11_0.c | 730 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-v6.6/drivers/hid/ |
D | wacom.h | 153 ktime_t active_time; member
|
D | wacom_sys.c | 2534 remote->remotes[index].active_time = 0; in wacom_remote_destroy_battery() 2644 if (!remote->remotes[index].active_time) in wacom_remote_attach_battery() 2690 if (kt - remote->remotes[i].active_time > WACOM_REMOTE_BATTERY_TIMEOUT in wacom_remote_work() 2691 && remote->remotes[i].active_time != 0) in wacom_remote_work()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1100 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-v6.6/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
|
/Linux-v6.6/include/linux/ |
D | pm.h | 701 u64 active_time; member
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dce_calcs.c | 1194 …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()
|
D | calcs_logger.h | 527 …DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] active_time[%d]:%d", i, bw_fixed_to_int(data->active_time[i])); in print_bw_calcs_data()
|