Home
last modified time | relevance | path

Searched refs:timer_rate_hz (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/armv7/
H A Darch_timer.c30 gd->arch.timer_rate_hz = CONFIG_SYS_HZ_CLOCK; in timer_init()
32 gd->arch.timer_rate_hz = read_cntfrq(); in timer_init()
52 return lldiv(get_ticks(), gd->arch.timer_rate_hz / 1000000); in timer_get_boot_us()
57 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/arch/arm/cpu/armv7m/
H A Dsystick-timer.c78 gd->arch.timer_rate_hz = CONFIG_SYS_HZ_CLOCK; in timer_init()
80 gd->arch.timer_rate_hz = (cal & SYSTICK_CAL_TENMS_MASK) * 100; in timer_init()
95 return (ulong)((t / gd->arch.timer_rate_hz)) - base; in get_timer()
114 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dtimer.c46 gd->arch.timer_rate_hz = CONFIG_SYS_HZ_CLOCK / TIM_CLK_DIV; in timer_init()
74 (gd->arch.timer_rate_hz / CONFIG_SYS_HZ)) - base; in get_timer()
81 endtime = lldiv((unsigned long long)usec * gd->arch.timer_rate_hz, in __udelay()
95 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/arch/arm/mach-zynq/
H A Dtimer.c81 gd->arch.timer_rate_hz = (gd->cpu_clk / 2) / (TIMER_PRESCALE + 1); in timer_init()
96 (gd->arch.timer_rate_hz / CONFIG_SYS_HZ); in timer_init()
108 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/arch/arm/mach-at91/armv7/
H A Dtimer.c50 gd->arch.timer_rate_hz = get_pit_clk_rate() / 16; in timer_init()
60 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/
H A Dtimer.c46 gd->arch.timer_rate_hz = gd->arch.mck_rate_hz / 16; in timer_init()
56 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/u-boot/board/broadcom/bcmstb/
H A Dbcmstb.c148 gd->arch.timer_rate_hz = readl(BCMSTB_TIMER_FREQUENCY); in timer_init()
155 return gd->arch.timer_rate_hz; in get_tbclk()
177 debug("Read timer frequency (in Hz): %ld\n", gd->arch.timer_rate_hz); in board_late_init()
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c151 unsigned long timer_rate_hz = get_pwm_clk() / in pwm_init() local
154 ticks_per_period = timer_rate_hz / pwm_hz; in pwm_init()
/openbmc/u-boot/arch/arm/include/asm/
H A Dglobal_data.h33 unsigned long timer_rate_hz; member
/openbmc/u-boot/drivers/clk/
H A Dclk_stm32mp1.c1495 (u32)gd->arch.timer_rate_hz); in stgen_config()