Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/mvebu/
H A Darmada-37xx-tbg.c25 #define TBG_DIV_MASK 0x1FF macro
66 return ((val >> ptbg->fbdiv_offset) & TBG_DIV_MASK) << 2; in tbg_get_mult()
76 div = (val >> ptbg->refdiv_offset) & TBG_DIV_MASK; in tbg_get_div()
81 div *= 1 << ((val >> ptbg->vcodiv_offset) & TBG_DIV_MASK); in tbg_get_div()
/openbmc/linux/drivers/clk/mvebu/
H A Darmada-37xx-tbg.c25 #define TBG_DIV_MASK 0x1FF macro
60 return ((val >> ptbg->fbdiv_offset) & TBG_DIV_MASK) << 2; in tbg_get_mult()
70 div = (val >> ptbg->refdiv_offset) & TBG_DIV_MASK; in tbg_get_div()
75 div *= 1 << ((val >> ptbg->vcodiv_offset) & TBG_DIV_MASK); in tbg_get_div()