Searched refs:ptbg (Results 1 – 1 of 1) sorted by relevance
61 static unsigned int tbg_get_mult(void __iomem *reg, const struct tbg_def *ptbg) in tbg_get_mult() argument67 return ((val >> ptbg->fbdiv_offset) & TBG_DIV_MASK) << 2; in tbg_get_mult()70 static unsigned int tbg_get_div(void __iomem *reg, const struct tbg_def *ptbg) in tbg_get_div() argument77 div = (val >> ptbg->refdiv_offset) & TBG_DIV_MASK; in tbg_get_div()80 val = readl(reg + ptbg->vcodiv_reg); in tbg_get_div()82 div *= 1 << ((val >> ptbg->vcodiv_offset) & TBG_DIV_MASK); in tbg_get_div()
Completed in 2 milliseconds