Searched refs:cycles_to_ns (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/fdt/ |
| D | amlpwm.c | 126 cycles_to_ns(uint64_t clk_freq, uint32_t clk_div, uint32_t cycles) in cycles_to_ns() function 167 ps->ps_period = cycles_to_ns(sc->sc_clkin[idx], clk_div, total); in amlpwm_get_state() 168 ps->ps_pulse_width = cycles_to_ns(sc->sc_clkin[idx], clk_div, high); in amlpwm_get_state()
|
| /openbsd/src/sys/dev/pci/drm/i915/selftests/ |
| D | i915_request.c | 1953 static u64 cycles_to_ns(struct intel_engine_cs *engine, u32 cycles) in cycles_to_ns() function 2081 cycles_to_ns(ce->engine, cycles)); in measure_semaphore_response() 2152 cycles_to_ns(ce->engine, cycles)); in measure_idle_dispatch() 2229 cycles_to_ns(ce->engine, cycles)); in measure_busy_dispatch() 2342 cycles_to_ns(ce->engine, cycles)); in measure_inter_request() 2437 cycles_to_ns(ce->engine, cycles)); in measure_context_switch() 2540 cycles_to_ns(ce->engine, cycles)); in measure_preemption() 2548 cycles_to_ns(ce->engine, cycles)); in measure_preemption() 2642 cycles_to_ns(ce->engine, cycles)); in measure_completion()
|