Home
last modified time | relevance | path

Searched refs:hclk_divisors (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dspeed.c57 const uint8_t hclk_divisors[] = { 1, 2, 4, 5, 6, 8, 16, 32 }; in get_HCLK() local
62 hclk_divisors[(clkset1 >> SYSCON_CLKSET1_HCLK_DIV_SHIFT) & 7]; in get_HCLK()
/openbmc/linux/arch/arm/mach-ep93xx/
H A Dclock.c31 static char hclk_divisors[] = { 1, 2, 4, 5, 6, 8, 16, 32 }; variable
567 clk_h_div = hclk_divisors[(value >> 20) & 0x7]; in ep93xx_clock_init()
/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c849 const uint8_t hclk_divisors[] = { in aspeed_smc_hclk_divisor() local
854 for (i = 0; i < ARRAY_SIZE(hclk_divisors); i++) { in aspeed_smc_hclk_divisor()
855 if (hclk_mask == hclk_divisors[i]) { in aspeed_smc_hclk_divisor()