ptbg 54 drivers/clk/mvebu/armada-37xx-tbg.c static unsigned int tbg_get_mult(void __iomem *reg, const struct tbg_def *ptbg) ptbg 60 drivers/clk/mvebu/armada-37xx-tbg.c return ((val >> ptbg->fbdiv_offset) & TBG_DIV_MASK) << 2; ptbg 63 drivers/clk/mvebu/armada-37xx-tbg.c static unsigned int tbg_get_div(void __iomem *reg, const struct tbg_def *ptbg) ptbg 70 drivers/clk/mvebu/armada-37xx-tbg.c div = (val >> ptbg->refdiv_offset) & TBG_DIV_MASK; ptbg 73 drivers/clk/mvebu/armada-37xx-tbg.c val = readl(reg + ptbg->vcodiv_reg); ptbg 75 drivers/clk/mvebu/armada-37xx-tbg.c div *= 1 << ((val >> ptbg->vcodiv_offset) & TBG_DIV_MASK);