Home
last modified time | relevance | path

Searched refs:SCU_CLK_GET_PCLK_DIV (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/hw/misc/
H A Daspeed_scu.h117 #define SCU_CLK_GET_PCLK_DIV(x) (((x) >> 23) & 0x7) macro
/openbmc/qemu/hw/misc/
H A Daspeed_scu.c267 return hpll / (SCU_CLK_GET_PCLK_DIV(s->regs[CLK_SEL]) + 1) in aspeed_2400_scu_get_apb_freq()
276 return hpll / (SCU_CLK_GET_PCLK_DIV(s->regs[AST2600_CLK_SEL]) + 1) in aspeed_2600_scu_get_apb_freq()
294 return hpll / (SCU_CLK_GET_PCLK_DIV(s->regs[AST2700_SCU_CLK_SEL_1]) + 1) in aspeed_2700_scu_get_apb_freq()