Searched refs:clkfreq (Results 1 – 5 of 5) sorted by relevance
99 uint32_t clkfreq; member179 ticks = 1 + ((uint64_t)usec * sc->clkfreq) / 1000000; in epit_do_delay()207 sc->tc.tc_frequency = sc->clkfreq; in epit_tc_attach()325 sc->et.et_frequency = sc->clkfreq; in epit_et_attach()326 sc->et.et_min_period = ((uint64_t)ET_MIN_TICKS << 32) / sc->clkfreq; in epit_et_attach()327 sc->et.et_max_period = ((uint64_t)ET_MAX_TICKS << 32) / sc->clkfreq; in epit_et_attach()434 sc->clkfreq = imx_ccm_ipg_hz(); in epit_attach()437 sc->clkfreq = imx_ccm_perclk_hz(); in epit_attach()440 sc->clkfreq = 32768; in epit_attach()
86 uint32_t clkfreq; member219 sc->clkfreq = basefreq; in imx_gpt_attach()222 sc->clkfreq = basefreq / prescale; in imx_gpt_attach()235 sc->clkfreq / 1000, basefreq, READ4(sc, IMX_GPT_CR), READ4(sc, IMX_GPT_PR)); in imx_gpt_attach()263 sc->et.et_frequency = sc->clkfreq; in imx_gpt_attach()264 sc->et.et_min_period = ((uint64_t)setup_ticks << 32) / sc->clkfreq; in imx_gpt_attach()265 sc->et.et_max_period = ((uint64_t)0xfffffffe << 32) / sc->clkfreq; in imx_gpt_attach()272 imx_gpt_timecounter.tc_frequency = sc->clkfreq; in imx_gpt_attach()410 ticks = 1 + ((uint64_t)usec * sc->clkfreq) / 1000000; in imx_gpt_do_delay()
63 uint32_t clkfreq; member208 if (riscv_timer_get_timebase(dev, &sc->clkfreq) != 0) { in riscv_timer_attach()241 riscv_timer_timecount.tc_frequency = sc->clkfreq; in riscv_timer_attach()249 sc->et.et_frequency = sc->clkfreq; in riscv_timer_attach()257 set_cputicker(get_timecount, sc->clkfreq, false); in riscv_timer_attach()
105 uint64_t clkfreq; member293 arm_tmr_timecount.tc_frequency = sc->clkfreq; in attach_tc()349 sc->et.et_frequency = sc->clkfreq; in attach_et()383 sc->clkfreq = arm_tmr_freq; in arm_tmr_attach()386 sc->clkfreq = arm_tmr_freq; in arm_tmr_attach()396 sc->clkfreq = clock; in arm_tmr_attach()
109 uint32_t clkfreq; member643 sc->clkfreq = clock; in arm_tmr_attach()654 if (sc->clkfreq == 0) { in arm_tmr_attach()656 sc->clkfreq = get_freq(); in arm_tmr_attach()659 if (sc->clkfreq == 0) { in arm_tmr_attach()755 arm_tmr_timecount.tc_frequency = sc->clkfreq; in arm_tmr_attach()762 sc->et.et_frequency = sc->clkfreq; in arm_tmr_attach()