/Linux-v5.10/drivers/ide/ |
D | qd65xx.c | 112 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time) in qd6500_compute_timing() argument 118 act_cyc = 9 - IDE_IN(active_time * clk / 1000 + 1, 2, 9); in qd6500_compute_timing() 121 act_cyc = 8 - IDE_IN(active_time * clk / 1000 + 1, 1, 8); in qd6500_compute_timing() 134 static u8 qd6580_compute_timing (int active_time, int recovery_time) in qd6580_compute_timing() argument 139 act_cyc = 17 - IDE_IN(active_time * clk / 1000 + 1, 2, 17); in qd6580_compute_timing() 152 int *active_time, int *recovery_time) in qd_find_disk_type() argument 167 *active_time = p->active; in qd_find_disk_type() 195 int active_time = 175; in qd6500_set_pio_mode() local 199 if (!qd_find_disk_type(drive, &active_time, &recovery_time) && in qd6500_set_pio_mode() 204 active_time = 110; in qd6500_set_pio_mode() [all …]
|
D | ht6560b.c | 202 int active_time, recovery_time; in ht_pio2timings() local 217 active_time = t->active; in ht_pio2timings() 218 recovery_time = cycle_time - active_time - t->setup; in ht_pio2timings() 222 active_cycles = (active_time * bus_speed + 999) / 1000; in ht_pio2timings() 233 …active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time); in ht_pio2timings()
|
D | cmd640.c | 519 int setup_time, active_time, recovery_time, clock_time; in cmd640_set_mode() local 533 active_time = t->active; in cmd640_set_mode() 535 recovery_time = cycle_time - (setup_time + active_time); in cmd640_set_mode() 541 active_count = DIV_ROUND_UP(active_time, clock_time); in cmd640_set_mode()
|
/Linux-v5.10/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 | 1062 ktime_t active_time; in print_wakeup_source_stats() local 1074 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats() 1075 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1076 if (active_time > max_time) in print_wakeup_source_stats() 1077 max_time = active_time; in print_wakeup_source_stats() 1083 active_time = 0; in print_wakeup_source_stats() 1089 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-v5.10/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-v5.10/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-v5.10/include/linux/platform_data/ |
D | lm8323.h | 22 int active_time; /* Idle time until sleep, in ms. */ member
|
/Linux-v5.10/include/linux/input/ |
D | lm8333.h | 15 unsigned active_time; member
|
/Linux-v5.10/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 | 948 fixed20_12 active_time; member 1041 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute() 1042 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute() 1138 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1152 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority() 1186 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1213 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
|
D | evergreen.c | 1937 u32 active_time; /* active display time in ns */ member 2050 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth() 2101 if (line_fill_time < wm->active_time) in evergreen_latency_watermark() 2104 return latency + (line_fill_time - wm->active_time); in evergreen_latency_watermark() 2129 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding() 2159 u32 active_time; in evergreen_program_watermarks() local 2170 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in evergreen_program_watermarks() 2192 wm_high.active_time = active_time; in evergreen_program_watermarks() 2193 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks() 2219 wm_low.active_time = active_time; in evergreen_program_watermarks() [all …]
|
D | si.c | 2063 u32 active_time; /* active display time in ns */ member 2193 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth() 2247 if (line_fill_time < wm->active_time) in dce6_latency_watermark() 2250 return latency + (line_fill_time - wm->active_time); in dce6_latency_watermark() 2275 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding() 2305 u32 active_time; in dce6_program_watermarks() local 2315 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce6_program_watermarks() 2341 wm_high.active_time = active_time; in dce6_program_watermarks() 2342 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks() 2368 wm_low.active_time = active_time; in dce6_program_watermarks() [all …]
|
D | cik.c | 8921 u32 active_time; /* active display time in ns */ member 9090 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth() 9153 if (line_fill_time < wm->active_time) in dce8_latency_watermark() 9156 return latency + (line_fill_time - wm->active_time); in dce8_latency_watermark() 9212 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding() 9252 u32 active_time; in dce8_program_watermarks() local 9258 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce8_program_watermarks() 9278 wm_high.active_time = active_time; in dce8_program_watermarks() 9279 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks() 9318 wm_low.active_time = active_time; in dce8_program_watermarks() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1018 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local 1039 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process() 1040 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process() 1041 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 499 u32 active_time; /* active display time in ns */ member 668 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v6_0_average_bandwidth() 731 if (line_fill_time < wm->active_time) in dce_v6_0_latency_watermark() 734 return latency + (line_fill_time - wm->active_time); in dce_v6_0_latency_watermark() 790 u32 line_time = wm->active_time + wm->blank_time; in dce_v6_0_check_latency_hiding() 831 u32 active_time; in dce_v6_0_program_watermarks() local 841 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v6_0_program_watermarks() 864 wm_high.active_time = active_time; in dce_v6_0_program_watermarks() 865 wm_high.blank_time = line_time - wm_high.active_time; in dce_v6_0_program_watermarks() 891 wm_low.active_time = active_time; in dce_v6_0_program_watermarks() [all …]
|
D | dce_v8_0.c | 636 u32 active_time; /* active display time in ns */ member 805 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v8_0_average_bandwidth() 868 if (line_fill_time < wm->active_time) in dce_v8_0_latency_watermark() 871 return latency + (line_fill_time - wm->active_time); in dce_v8_0_latency_watermark() 927 u32 line_time = wm->active_time + wm->blank_time; in dce_v8_0_check_latency_hiding() 967 u32 active_time; in dce_v8_0_program_watermarks() local 973 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v8_0_program_watermarks() 992 wm_high.active_time = active_time; in dce_v8_0_program_watermarks() 993 wm_high.blank_time = line_time - wm_high.active_time; in dce_v8_0_program_watermarks() 1031 wm_low.active_time = active_time; in dce_v8_0_program_watermarks() [all …]
|
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 …]
|
D | dce_v11_0.c | 727 u32 active_time; /* active display time in ns */ member 896 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce_v11_0_average_bandwidth() 959 if (line_fill_time < wm->active_time) in dce_v11_0_latency_watermark() 962 return latency + (line_fill_time - wm->active_time); in dce_v11_0_latency_watermark() 1018 u32 line_time = wm->active_time + wm->blank_time; in dce_v11_0_check_latency_hiding() 1058 u32 active_time; in dce_v11_0_program_watermarks() local 1064 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v11_0_program_watermarks() 1083 wm_high.active_time = active_time; in dce_v11_0_program_watermarks() 1084 wm_high.blank_time = line_time - wm_high.active_time; in dce_v11_0_program_watermarks() 1122 wm_low.active_time = active_time; in dce_v11_0_program_watermarks() [all …]
|
/Linux-v5.10/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
|
/Linux-v5.10/include/linux/ |
D | pm.h | 616 u64 active_time; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 448 struct bw_fixed active_time[maximum_number_of_surfaces]; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 1183 …data->active_time[i] = bw_div(bw_div(data->source_width_rounded_up_to_chunks[i], data->hsr[i]), da… in calculate_bandwidth() 1202 …e_in_memory[i]), bw_int_to_fixed(1))), data->dmif_buffer_transfer_time[i]), data->active_time[i])); in calculate_bandwidth() 1249 …], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])))))); in calculate_bandwidth() 1252 …el[i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i])); in calculate_bandwidth() 1258 …i], data->adjusted_data_buffer_size_in_memory[i]), bw_int_to_fixed(1))), data->active_time[i]))))); in calculate_bandwidth() 1323 …_with_cursor[k], vbios->blackout_duration), data->dmif_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1333 …_duration), data->dmif_burst_time[i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1391 …time[i][j]), data->dram_speed_change_line_source_transfer_time[k][i][j]), data->active_time[k])))); in calculate_bandwidth() 1405 …ange_line_source_transfer_time[k][i][j]), data->mcifwr_burst_time[i][j]), data->active_time[k])))); in calculate_bandwidth() 1857 …_dispclk), (bw_div(data->dispclk, dceip->display_pipe_throughput_factor))), data->active_time[i])); in calculate_bandwidth()
|