Searched refs:timer_rate_hz (Results 1 – 10 of 10) sorted by relevance
30 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()
78 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()
46 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()
81 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()
50 gd->arch.timer_rate_hz = get_pit_clk_rate() / 16; in timer_init()60 return gd->arch.timer_rate_hz; in get_tbclk()
46 gd->arch.timer_rate_hz = gd->arch.mck_rate_hz / 16; in timer_init()56 return gd->arch.timer_rate_hz; in get_tbclk()
148 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()
151 unsigned long timer_rate_hz = get_pwm_clk() / in pwm_init() local154 ticks_per_period = timer_rate_hz / pwm_hz; in pwm_init()
33 unsigned long timer_rate_hz; member
1495 (u32)gd->arch.timer_rate_hz); in stgen_config()