Home
last modified time | relevance | path

Searched refs:CLK2MHZ (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/arch/arm/mach-rmobile/
H A Dtimer.c16 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
40 timer = ((timer << 2) + (CLK2MHZ(CONFIG_SYS_CPU_CLK) >> 1)); in get_time_us()
41 do_div(timer, CLK2MHZ(CONFIG_SYS_CPU_CLK)); in get_time_us()
65 wait = (u64)((usec * CLK2MHZ(CONFIG_SYS_CPU_CLK)) >> 2); in __udelay()
/openbmc/u-boot/board/renesas/eagle/
H A Deagle.c37 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
49 stc = ((800 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) << PLL0_STC_OFFSET; in s_init()
/openbmc/u-boot/board/renesas/stout/
H A Dstout.c35 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
48 u32 stc = ((1400 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) in s_init()
/openbmc/u-boot/board/renesas/porter/
H A Dporter.c31 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
43 stc = ((1500 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) << PLL0_STC_BIT; in s_init()
/openbmc/u-boot/board/renesas/koelsch/
H A Dkoelsch.c31 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
43 stc = ((1500 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) << PLL0_STC_BIT; in s_init()
/openbmc/u-boot/board/renesas/gose/
H A Dgose.c29 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
41 stc = ((1500 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) << PLL0_STC_BIT; in s_init()
/openbmc/u-boot/board/renesas/lager/
H A Dlager.c33 #define CLK2MHZ(clk) (clk / 1000 / 1000) macro
46 u32 stc = ((1400 / CLK2MHZ(CONFIG_SYS_CLK_FREQ)) - 1) in s_init()