Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/armv7/
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()
/external/u-boot/arch/arm/cpu/armv7m/
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()
/external/u-boot/arch/arm/mach-davinci/
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()
/external/u-boot/arch/arm/mach-zynq/
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()
/external/u-boot/arch/arm/mach-at91/armv7/
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()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
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()
/external/u-boot/arch/arm/cpu/armv7/s5p-common/
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()
/external/u-boot/arch/arm/include/asm/
Dglobal_data.h33 unsigned long timer_rate_hz; member
/external/u-boot/drivers/clk/
Dclk_stm32mp1.c1416 (u32)gd->arch.timer_rate_hz); in stgen_config()