Searched refs:ptbg (Results 1 – 1 of 1) sorted by relevance
54 static unsigned int tbg_get_mult(void __iomem *reg, const struct tbg_def *ptbg) in tbg_get_mult() argument60 return ((val >> ptbg->fbdiv_offset) & TBG_DIV_MASK) << 2; in tbg_get_mult()63 static unsigned int tbg_get_div(void __iomem *reg, const struct tbg_def *ptbg) in tbg_get_div() argument70 div = (val >> ptbg->refdiv_offset) & TBG_DIV_MASK; in tbg_get_div()73 val = readl(reg + ptbg->vcodiv_reg); in tbg_get_div()75 div *= 1 << ((val >> ptbg->vcodiv_offset) & TBG_DIV_MASK); in tbg_get_div()
Completed in 3 milliseconds