/kernel/linux/linux-5.10/drivers/ide/ |
H A 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() 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 in qd6500_set_pio_mode() 151 qd_find_disk_type(ide_drive_t *drive, int *active_time, int *recovery_time) qd_find_disk_type() argument 217 int active_time = 175; qd6580_set_pio_mode() local [all...] |
H A 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 printk("ht6560b: drive %s setting pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time); in ht_pio2timings()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
H A 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()
|
H A D | wakeup.c | 1089 ktime_t active_time; in print_wakeup_source_stats() local 1101 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats() 1102 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats() 1103 if (active_time > max_time) in print_wakeup_source_stats() 1104 max_time = active_time; in print_wakeup_source_stats() 1110 active_time = 0; in print_wakeup_source_stats() 1116 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
|
/kernel/linux/linux-6.6/drivers/base/power/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H 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()
|
H A 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()
|
/kernel/linux/linux-5.10/tools/laptop/dslm/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/laptop/dslm/ |
H A 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()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | lm8323.h | 22 int active_time; /* Idle time until sleep, in ms. */ member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | lm8323.h | 22 int active_time; /* Idle time until sleep, in ms. */ member
|
/kernel/linux/linux-5.10/include/linux/input/ |
H A D | lm8333.h | 15 unsigned active_time; member
|
/kernel/linux/linux-6.6/include/linux/input/ |
H A D | lm8333.h | 15 unsigned active_time; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H 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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 1021 unsigned long active_time; in kgd2kfd_schedule_evict_and_restore_process() local 1042 active_time = get_jiffies_64() - p->last_restore_timestamp; in kgd2kfd_schedule_evict_and_restore_process() 1043 if (delay_jiffies > active_time) in kgd2kfd_schedule_evict_and_restore_process() 1044 delay_jiffies -= active_time; in kgd2kfd_schedule_evict_and_restore_process()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H 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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A 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() [all...] |
H A 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() [all...] |