Searched refs:cycles_to_ns (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/char/hw_random/ |
D | ks-sa-rng.c | 93 static unsigned int cycles_to_ns(unsigned long clk_rate, unsigned int cycles) in cycles_to_ns() function 102 return cycles_to_ns(clk_rate, BIT(24)); in startup_delay_ns() 103 return cycles_to_ns(clk_rate, 256 * TRNG_DEF_STARTUP_CYCLES); in startup_delay_ns() 109 return cycles_to_ns(clk_rate, BIT(24)); in refill_delay_ns() 110 return cycles_to_ns(clk_rate, 256 * TRNG_DEF_MAX_REFILL_CYCLES); in refill_delay_ns()
|
/Linux-v5.10/drivers/gpu/drm/i915/selftests/ |
D | i915_request.c | 1561 static u64 cycles_to_ns(struct intel_engine_cs *engine, u32 cycles) in cycles_to_ns() function 1689 cycles_to_ns(ce->engine, cycles)); in measure_semaphore_response() 1760 cycles_to_ns(ce->engine, cycles)); in measure_idle_dispatch() 1837 cycles_to_ns(ce->engine, cycles)); in measure_busy_dispatch() 1952 cycles_to_ns(ce->engine, cycles)); in measure_inter_request() 2047 cycles_to_ns(ce->engine, cycles)); in measure_context_switch() 2150 cycles_to_ns(ce->engine, cycles)); in measure_preemption() 2158 cycles_to_ns(ce->engine, cycles)); in measure_preemption() 2254 cycles_to_ns(ce->engine, cycles)); in measure_completion()
|