Home
last modified time | relevance | path

Searched refs:active_time (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/ide/
H A Dqd65xx.c112 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 Dht6560b.c202 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 Dcmd640.c519 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 Dwakeup_stats.c42 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 Dwakeup.c1089 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 Dwakeup_stats.c42 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 Dwakeup.c1058 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 Dlm8333.c135 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 Dlm8323.c146 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 Dlm8333.c134 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 Dlm8323.c146 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 Ddslm.c74 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 Ddslm.c74 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 Dlm8323.h22 int active_time; /* Idle time until sleep, in ms. */ member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dlm8323.h22 int active_time; /* Idle time until sleep, in ms. */ member
/kernel/linux/linux-5.10/include/linux/input/
H A Dlm8333.h15 unsigned active_time; member
/kernel/linux/linux-6.6/include/linux/input/
H A Dlm8333.h15 unsigned active_time; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drs690.c265 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 Drv515.c948 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 Drs690.c265 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 Drv515.c916 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 Dkfd_device.c1021 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 Dfwil_types.h376 __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 Ddce_v11_0.c727 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 Ddce_v8_0.c636 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...]

Completed in 27 milliseconds

123