Home
last modified time | relevance | path

Searched refs:active_time (Results 1 – 25 of 67) sorted by relevance

123

/OK3568_Linux_fs/kernel/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() 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 …]
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 …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()
/OK3568_Linux_fs/kernel/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.c1140 ktime_t active_time; in print_wakeup_source_stats() local
1152 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats()
1153 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1154 if (active_time > max_time) in print_wakeup_source_stats()
1155 max_time = active_time; in print_wakeup_source_stats()
1161 active_time = 0; in print_wakeup_source_stats()
1167 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
H A Devergreen.c1937 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 …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dlm8323.h22 int active_time; /* Idle time until sleep, in ms. */ member
/OK3568_Linux_fs/kernel/include/linux/input/
H A Dlm8333.h15 unsigned active_time; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgp2p.c960 s32 active_time = 0; in wl_cfgp2p_escan() local
1028 active_time = P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS; in wl_cfgp2p_escan()
1032 active_time = P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS; in wl_cfgp2p_escan()
1035 active_time = WL_SCAN_CONNECT_DWELL_TIME_MS; in wl_cfgp2p_escan()
1038 active_time = wl_get_drv_status_all(cfg, CONNECTED) ? in wl_cfgp2p_escan()
1044 nprobes = active_time / in wl_cfgp2p_escan()
1047 nprobes = active_time / in wl_cfgp2p_escan()
1067 eparams_v2->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1089 eparams->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1107 CFGP2P_DBG(("nprobes:%d active_time:%d\n", nprobes, active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgp2p.c955 s32 active_time = 0; in wl_cfgp2p_escan() local
1023 active_time = P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS; in wl_cfgp2p_escan()
1027 active_time = P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS; in wl_cfgp2p_escan()
1030 active_time = WL_SCAN_CONNECT_DWELL_TIME_MS; in wl_cfgp2p_escan()
1033 active_time = wl_get_drv_status_all(cfg, CONNECTED) ? in wl_cfgp2p_escan()
1039 nprobes = active_time / in wl_cfgp2p_escan()
1042 nprobes = active_time / in wl_cfgp2p_escan()
1062 eparams_v2->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1084 eparams->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1102 CFGP2P_DBG(("nprobes:%d active_time:%d\n", nprobes, active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgp2p.c955 s32 active_time = 0; in wl_cfgp2p_escan() local
1023 active_time = P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS; in wl_cfgp2p_escan()
1027 active_time = P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS; in wl_cfgp2p_escan()
1030 active_time = WL_SCAN_CONNECT_DWELL_TIME_MS; in wl_cfgp2p_escan()
1033 active_time = wl_get_drv_status_all(cfg, CONNECTED) ? in wl_cfgp2p_escan()
1039 nprobes = active_time / in wl_cfgp2p_escan()
1042 nprobes = active_time / in wl_cfgp2p_escan()
1062 eparams_v2->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1084 eparams->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1102 CFGP2P_DBG(("nprobes:%d active_time:%d\n", nprobes, active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgp2p.c955 s32 active_time = 0; in wl_cfgp2p_escan() local
1023 active_time = P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS; in wl_cfgp2p_escan()
1027 active_time = P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS; in wl_cfgp2p_escan()
1030 active_time = WL_SCAN_CONNECT_DWELL_TIME_MS; in wl_cfgp2p_escan()
1033 active_time = wl_get_drv_status_all(cfg, CONNECTED) ? in wl_cfgp2p_escan()
1039 nprobes = active_time / in wl_cfgp2p_escan()
1042 nprobes = active_time / in wl_cfgp2p_escan()
1062 eparams_v2->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1084 eparams->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1102 CFGP2P_DBG(("nprobes:%d active_time:%d\n", nprobes, active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgp2p.c973 s32 active_time = 0; in wl_cfgp2p_escan() local
1041 active_time = P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS; in wl_cfgp2p_escan()
1045 active_time = P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS; in wl_cfgp2p_escan()
1048 active_time = WL_SCAN_CONNECT_DWELL_TIME_MS; in wl_cfgp2p_escan()
1051 active_time = wl_get_drv_status_all(cfg, CONNECTED) ? in wl_cfgp2p_escan()
1057 nprobes = active_time / in wl_cfgp2p_escan()
1060 nprobes = active_time / in wl_cfgp2p_escan()
1080 eparams_v2->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1102 eparams->params.active_time = htod32(active_time); in wl_cfgp2p_escan()
1120 CFGP2P_DBG(("nprobes:%d active_time:%d\n", nprobes, active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
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()
1031 wm_low.active_time = active_time; in dce_v8_0_program_watermarks()
[all …]
H A Ddce_v6_0.c499 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 …]
H A Ddce_v10_0.c701 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 …]
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()
1122 wm_low.active_time = active_time; in dce_v11_0_program_watermarks()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfgp2p.c962 eparams->params.active_time = htod32(P2PAPI_SCAN_SOCIAL_DWELL_TIME_MS); in wl_cfgp2p_escan()
966 eparams->params.active_time = htod32(P2PAPI_SCAN_AF_SEARCH_DWELL_TIME_MS); in wl_cfgp2p_escan()
969 eparams->params.active_time = htod32(WL_SCAN_CONNECT_DWELL_TIME_MS); in wl_cfgp2p_escan()
973 eparams->params.active_time = -1; in wl_cfgp2p_escan()
975 eparams->params.active_time = htod32(P2PAPI_SCAN_DWELL_TIME_MS); in wl_cfgp2p_escan()
980 eparams->params.nprobes = htod32(eparams->params.active_time / in wl_cfgp2p_escan()
983 eparams->params.nprobes = htod32((eparams->params.active_time / in wl_cfgp2p_escan()
990 eparams->params.nprobes, eparams->params.active_time)); in wl_cfgp2p_escan()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h361 __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

123