/linux-6.1.9/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 | 1063 ktime_t active_time; in print_wakeup_source_stats() local 1075 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats() 1076 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1077 if (active_time > max_time) in print_wakeup_source_stats() 1078 max_time = active_time; in print_wakeup_source_stats() 1084 active_time = 0; in print_wakeup_source_stats() 1090 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-6.1.9/drivers/input/keyboard/ |
D | lm8333.c | 135 int err, active_time; in lm8333_probe() local 140 active_time = pdata->active_time ?: 500; in lm8333_probe() 141 if (active_time / 3 <= pdata->debounce_time / 3) { in lm8333_probe() 175 if (pdata->active_time) { in lm8333_probe() 177 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() 663 lm->active_time = pdata->active_time; in lm8323_probe()
|
/linux-6.1.9/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-6.1.9/include/linux/platform_data/ |
D | lm8323.h | 22 int active_time; /* Idle time until sleep, in ms. */ member
|
/linux-6.1.9/include/linux/input/ |
D | lm8333.h | 15 unsigned active_time; member
|
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 902 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local 923 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process() 924 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process() 925 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 500 u32 active_time; /* active display time in ns */ member 669 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth() 732 if (line_fill_time < wm->active_time) in dce_v6_0_latency_watermark() 735 return latency + (line_fill_time - wm->active_time); in dce_v6_0_latency_watermark() 791 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding() 832 u32 active_time; in dce_v6_0_program_watermarks() local 842 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v6_0_program_watermarks() 865 wm_high.active_time = active_time; in dce_v6_0_program_watermarks() 866 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks() 892 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 | 702 u32 active_time; /* active display time in ns */ member 871 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v10_0_average_bandwidth() 934 if (line_fill_time < wm->active_time) in dce_v10_0_latency_watermark() 937 return latency + (line_fill_time - wm->active_time); in dce_v10_0_latency_watermark() 993 u32 line_time = wm->active_time + wm->blank_time; in dce_v10_0_check_latency_hiding() 1033 u32 active_time; in dce_v10_0_program_watermarks() local 1039 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v10_0_program_watermarks() 1058 wm_high.active_time = active_time; in dce_v10_0_program_watermarks() 1059 wm_high.blank_time = line_time - wm_high.active_time; in dce_v10_0_program_watermarks() 1097 wm_low.active_time = active_time; in dce_v10_0_program_watermarks() [all …]
|
D | dce_v11_0.c | 728 u32 active_time; /* active display time in ns */ member 897 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth() 960 if (line_fill_time < wm->active_time) in dce_v11_0_latency_watermark() 963 return latency + (line_fill_time - wm->active_time); in dce_v11_0_latency_watermark() 1019 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() 1059 u32 active_time; in dce_v11_0_program_watermarks() local 1065 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v11_0_program_watermarks() 1084 wm_high.active_time = active_time; in dce_v11_0_program_watermarks() 1085 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks() 1123 wm_low.active_time = active_time; in dce_v11_0_program_watermarks() [all …]
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil_types.h | 361 __le32 active_time; /* -1 use default, dwell time per channel for member 451 __le32 active_time; /* -1 use default, dwell time per channel for member
|
D | cfg80211.c | 803 params_le.active_time = cpu_to_le32(-1); in brcmf_notify_escan_complete() 1046 params_le->active_time = cpu_to_le32(-1); in brcmf_escan_prep() 2200 ext_join_params->scan_le.active_time = in brcmf_cfg80211_connect() 2212 ext_join_params->scan_le.active_time = cpu_to_le32(-1); in brcmf_cfg80211_connect()
|
D | p2p.c | 741 sparams->active_time = cpu_to_le32(active); in brcmf_p2p_escan()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
|
/linux-6.1.9/include/linux/ |
D | pm.h | 688 u64 active_time; member
|
/linux-6.1.9/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()
|