Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/ide/
Dqd65xx.c111 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time) in qd6500_compute_timing() argument
117 act_cyc = 9 - IDE_IN(active_time * clk / 1000 + 1, 2, 9); in qd6500_compute_timing()
120 act_cyc = 8 - IDE_IN(active_time * clk / 1000 + 1, 1, 8); in qd6500_compute_timing()
133 static u8 qd6580_compute_timing (int active_time, int recovery_time) in qd6580_compute_timing() argument
138 act_cyc = 17 - IDE_IN(active_time * clk / 1000 + 1, 2, 17); in qd6580_compute_timing()
151 int *active_time, int *recovery_time) in qd_find_disk_type() argument
166 *active_time = p->active; in qd_find_disk_type()
194 int active_time = 175; in qd6500_set_pio_mode() local
198 if (!qd_find_disk_type(drive, &active_time, &recovery_time) && in qd6500_set_pio_mode()
203 active_time = 110; in qd6500_set_pio_mode()
[all …]
Dht6560b.c201 int active_time, recovery_time; in ht_pio2timings() local
216 active_time = t->active; in ht_pio2timings()
217 recovery_time = cycle_time - active_time - t->setup; in ht_pio2timings()
221 active_cycles = (active_time * bus_speed + 999) / 1000; in ht_pio2timings()
232 …active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time); in ht_pio2timings()
Dcmd640.c518 int setup_time, active_time, recovery_time, clock_time; in cmd640_set_mode() local
532 active_time = t->active; in cmd640_set_mode()
534 recovery_time = cycle_time - (setup_time + active_time); in cmd640_set_mode()
540 active_count = DIV_ROUND_UP(active_time, clock_time); in cmd640_set_mode()
/linux-4.1.27/drivers/input/keyboard/
Dlm8333.c138 int err, active_time; in lm8333_probe() local
143 active_time = pdata->active_time ?: 500; in lm8333_probe()
144 if (active_time / 3 <= pdata->debounce_time / 3) { in lm8333_probe()
178 if (pdata->active_time) { in lm8333_probe()
180 pdata->active_time / 3); in lm8333_probe()
Dlm8323.c158 int active_time; member
306 lm8323_set_active_time(lm, lm->active_time); in process_keys()
338 int active = lm->active_time >> 2; in lm8323_configure()
350 lm8323_set_active_time(lm, lm->active_time); in lm8323_configure()
675 lm->active_time = pdata->active_time; in lm8323_probe()
/linux-4.1.27/Documentation/laptops/
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()
/linux-4.1.27/drivers/base/power/
Dwakeup.c844 ktime_t active_time; in print_wakeup_source_stats() local
856 active_time = ktime_sub(now, ws->last_time); in print_wakeup_source_stats()
857 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
858 if (active_time.tv64 > max_time.tv64) in print_wakeup_source_stats()
859 max_time = active_time; in print_wakeup_source_stats()
865 active_time = ktime_set(0, 0); in print_wakeup_source_stats()
871 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
/linux-4.1.27/include/linux/i2c/
Dlm8323.h34 int active_time; /* Idle time until sleep, in ms. */ member
/linux-4.1.27/include/linux/input/
Dlm8333.h15 unsigned active_time; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Drs690.c254 fixed20_12 active_time; member
350 wm->active_time.full = dfixed_mul(line_time, b); in rs690_crtc_bandwidth_compute()
351 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
476 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
490 b.full = dfixed_mul(b, wm1->active_time); in rs690_compute_mode_priority()
524 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
551 b.full = dfixed_mul(b, wm1->active_time); in rs690_compute_mode_priority()
Drv515.c946 fixed20_12 active_time; member
1039 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1040 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute()
1136 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1150 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
1184 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority()
1211 b.full = dfixed_mul(b, wm1->active_time); in rv515_compute_mode_priority()
Devergreen.c1986 u32 active_time; /* active display time in ns */ member
2099 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in evergreen_average_bandwidth()
2156 if (line_fill_time < wm->active_time) in evergreen_latency_watermark()
2159 return latency + (line_fill_time - wm->active_time); in evergreen_latency_watermark()
2184 u32 line_time = wm->active_time + wm->blank_time; in evergreen_check_latency_hiding()
2244 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in evergreen_program_watermarks()
2245 wm_high.blank_time = line_time - wm_high.active_time; in evergreen_program_watermarks()
2271 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in evergreen_program_watermarks()
2272 wm_low.blank_time = line_time - wm_low.active_time; in evergreen_program_watermarks()
Dsi.c2003 u32 active_time; /* active display time in ns */ member
2133 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce6_average_bandwidth()
2200 if (line_fill_time < wm->active_time) in dce6_latency_watermark()
2203 return latency + (line_fill_time - wm->active_time); in dce6_latency_watermark()
2228 u32 line_time = wm->active_time + wm->blank_time; in dce6_check_latency_hiding()
2291 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in dce6_program_watermarks()
2292 wm_high.blank_time = line_time - wm_high.active_time; in dce6_program_watermarks()
2318 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in dce6_program_watermarks()
2319 wm_low.blank_time = line_time - wm_low.active_time; in dce6_program_watermarks()
Dcik.c9176 u32 active_time; /* active display time in ns */ member
9345 line_time.full = dfixed_const(wm->active_time + wm->blank_time); in dce8_average_bandwidth()
9421 if (line_fill_time < wm->active_time) in dce8_latency_watermark()
9424 return latency + (line_fill_time - wm->active_time); in dce8_latency_watermark()
9480 u32 line_time = wm->active_time + wm->blank_time; in dce8_check_latency_hiding()
9543 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in dce8_program_watermarks()
9544 wm_high.blank_time = line_time - wm_high.active_time; in dce8_program_watermarks()
9583 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in dce8_program_watermarks()
9584 wm_low.blank_time = line_time - wm_low.active_time; in dce8_program_watermarks()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfwil_types.h296 __le32 active_time; /* -1 use default, dwell time per channel for member
386 __le32 active_time; /* -1 use default, dwell time per channel for member
Dcfg80211.c709 params_le.active_time = cpu_to_le32(-1); in brcmf_notify_escan_complete()
875 params_le->active_time = cpu_to_le32(-1); in brcmf_escan_prep()
1863 ext_join_params->scan_le.active_time = in brcmf_cfg80211_connect()
1875 ext_join_params->scan_le.active_time = cpu_to_le32(-1); in brcmf_cfg80211_connect()
Dp2p.c734 sparams->active_time = cpu_to_le32(active); in brcmf_p2p_escan()