Home
last modified time | relevance | path

Searched refs:freq_hz (Results 1 – 15 of 15) sorted by relevance

/qemu/hw/timer/
A Dgrlib_gptimer.c84 uint32_t freq_hz; /* System frequency */ member
147 value = unit->freq_hz / (scaler + 1); in grlib_gptimer_set_scaler()
149 value = unit->freq_hz; in grlib_gptimer_set_scaler()
367 ptimer_set_freq(timer->ptimer, unit->freq_hz); in grlib_gptimer_reset()
395 ptimer_set_freq(timer->ptimer, unit->freq_hz); in grlib_gptimer_realize()
407 DEFINE_PROP_UINT32("frequency", GPTimerUnit, freq_hz, 40000000),
A Dxilinx_timer.c75 uint32_t freq_hz; member
228 ptimer_set_freq(xt->ptimer, t->freq_hz); in xilinx_timer_realize()
246 DEFINE_PROP_UINT32("clock-frequency", XpsTimerState, freq_hz, 62 * 1000000),
A Dmss-timer.c237 ptimer_set_freq(st->ptimer, t->freq_hz); in mss_timer_init()
275 VMSTATE_UINT32(freq_hz, MSSTimerState),
284 DEFINE_PROP_UINT32("clock-frequency", MSSTimerState, freq_hz,
A Dstm32f2xx_timer.c71 return muldiv64(t, s->freq_hz, 1000000000ULL) / (s->tim_psc + 1); in stm32f2xx_ns_to_ticks()
91 1000000000ULL, s->freq_hz); in stm32f2xx_timer_set_alarm()
303 freq_hz, 1000000000),
A Davr_timer16.c170 t16->freq_hz = t16->cpu_freq_hz / divider; in avr_timer16_clksrc_update()
171 t16->period_ns = NANOSECONDS_PER_SECOND / t16->freq_hz; in avr_timer16_clksrc_update()
172 trace_avr_timer16_clksrc_update(t16->freq_hz, t16->period_ns, in avr_timer16_clksrc_update()
173 (uint64_t)(1e6 / t16->freq_hz)); in avr_timer16_clksrc_update()
A Dsifive_pwm.c72 return muldiv64(time, s->freq_hz, NANOSECONDS_PER_SECOND); in sifive_pwm_ns_to_ticks()
78 return muldiv64(ticks, NANOSECONDS_PER_SECOND, s->freq_hz); in sifive_pwm_ticks_to_ns()
410 freq_hz, 500000000ULL),
A Dtrace-events84 avr_timer16_clksrc_update(uint64_t freq_hz, uint64_t period_ns, uint64_t delay_s) "timer frequency:…
/qemu/include/hw/timer/
A Dmss-timer.h59 uint32_t freq_hz; member
A Dsifive_pwm.h54 uint64_t freq_hz; member
A Davr_timer16.h87 uint64_t freq_hz; member
A Dstm32f2xx_timer.h80 uint64_t freq_hz; member
/qemu/hw/mips/
A Djazz.c198 unsigned freq_hz; in mips_jazz_init() member
211 clock_set_hz(cpuclk, ext_clk[jazz_model].freq_hz in mips_jazz_init()
/qemu/include/qemu/
A Dcutils.h185 char *freq_to_str(uint64_t freq_hz);
/qemu/util/
A Dcutils.c994 char *freq_to_str(uint64_t freq_hz) in freq_to_str() argument
996 double freq = freq_hz; in freq_to_str()
/qemu/hw/arm/
A Dxlnx-versal-virt.c89 unsigned int freq_hz, uint32_t phandle) in fdt_add_clk_node() argument
93 qemu_fdt_setprop_cell(s->fdt, name, "clock-frequency", freq_hz); in fdt_add_clk_node()

Completed in 36 milliseconds