| /drivers/base/power/ |
| A D | wakeup_stats.c | 43 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()
|
| A D | wakeup.c | 1057 ktime_t active_time; in print_wakeup_source_stats() local 1069 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats() 1070 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1071 if (active_time > max_time) in print_wakeup_source_stats() 1072 max_time = active_time; in print_wakeup_source_stats() 1078 active_time = 0; in print_wakeup_source_stats() 1084 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
| A D | runtime.c | 103 dev->power.active_time += delta; in update_pm_runtime_accounting() 121 time = suspended ? dev->power.suspended_time : dev->power.active_time; in rpm_get_accounted_time()
|
| /drivers/input/keyboard/ |
| A 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()
|
| A D | lm8323.c | 147 int active_time; member 295 lm8323_set_active_time(lm, lm->active_time); in process_keys() 327 int active = lm->active_time >> 2; in lm8323_configure() 339 lm8323_set_active_time(lm, lm->active_time); in lm8323_configure() 666 lm->active_time = pdata->active_time; in lm8323_probe()
|
| /drivers/gpu/drm/radeon/ |
| A 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()
|
| A 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()
|
| A D | evergreen.c | 1940 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 …]
|
| A D | si.c | 2039 u32 active_time; /* active display time in ns */ member 2169 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth() 2223 if (line_fill_time < wm->active_time) in dce6_latency_watermark() 2226 return latency + (line_fill_time - wm->active_time); in dce6_latency_watermark() 2251 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding() 2281 u32 active_time; in dce6_program_watermarks() local 2291 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce6_program_watermarks() 2317 wm_high.active_time = active_time; in dce6_program_watermarks() 2318 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks() 2344 wm_low.active_time = active_time; in dce6_program_watermarks() [all …]
|
| A D | cik.c | 8922 u32 active_time; /* active display time in ns */ member 9091 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth() 9154 if (line_fill_time < wm->active_time) in dce8_latency_watermark() 9157 return latency + (line_fill_time - wm->active_time); in dce8_latency_watermark() 9213 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding() 9253 u32 active_time; in dce8_program_watermarks() local 9259 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce8_program_watermarks() 9279 wm_high.active_time = active_time; in dce8_program_watermarks() 9280 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks() 9319 wm_low.active_time = active_time; in dce8_program_watermarks() [all …]
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A 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
|
| A D | cfg80211.c | 1076 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()
|
| A D | p2p.c | 741 sparams->active_time = cpu_to_le32(active); in brcmf_p2p_escan()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | dce_v8_0.c | 654 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 …]
|
| A D | dce_v6_0.c | 554 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 …]
|
| A D | dce_v10_0.c | 701 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 …]
|
| A D | dce_v11_0.c | 733 u32 active_time; /* active display time in ns */ member 902 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth() 965 if (line_fill_time < wm->active_time) in dce_v11_0_latency_watermark() 968 return latency + (line_fill_time - wm->active_time); in dce_v11_0_latency_watermark() 1024 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() 1064 u32 active_time; in dce_v11_0_program_watermarks() local 1070 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v11_0_program_watermarks() 1089 wm_high.active_time = active_time; in dce_v11_0_program_watermarks() 1090 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks() 1128 wm_low.active_time = active_time; in dce_v11_0_program_watermarks() [all …]
|
| /drivers/hid/ |
| A D | wacom.h | 153 ktime_t active_time; member
|
| A D | wacom_sys.c | 2602 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()
|
| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_device.c | 1204 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local 1225 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process() 1226 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process() 1227 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
|
| /drivers/gpu/drm/amd/display/dc/inc/ |
| A D | dce_calcs.h | 448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
|
| /drivers/gpu/drm/amd/display/dc/basics/ |
| A D | dce_calcs.c | 1192 …data->active_time[i] = bw_div(bw_div(data->source_width_rounded_up_to_chunks[i], data->hsr[i]), da… in calculate_bandwidth() 1211 …e_in_memory[i]), bw_int_to_fixed(1))), data->dmif_buffer_transfer_time[i]), data->active_time[i])); in calculate_bandwidth() 1258 …], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])))))); in calculate_bandwidth() 1261 …el[i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])); in calculate_bandwidth() 1267 …i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i]))))); in calculate_bandwidth() 1332 …_with_cursor[k], vbios->blackout_duration), data->dmif_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1342 …_duration), data->dmif_burst_time[i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1397 …time[i][j]), data->dram_speed_change_line_source_transfer_time[k][i][j]), data->active_time[k])))); in calculate_bandwidth() 1411 …ange_line_source_transfer_time[k][i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1863 …_dispclk), (bw_div(data->dispclk, dceip->display_pipe_throughput_factor))), data->active_time[i])); in calculate_bandwidth()
|
| A 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()
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | scan.h | 1306 __le32 active_time; member
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | scan.c | 2119 info->time = le32_to_cpu(notif->active_time); in iwl_mld_handle_channel_survey_notif()
|