Lines Matching defs:index
119 static int berlin2_div_set_parent(struct clk_hw *hw, u8 index)
128 /* index == 0 is PLL_SWITCH */
130 if (index == 0)
136 /* index > 0 is PLL_SELECT */
137 if (index > 0) {
140 reg |= (index - 1) << map->pll_select_shift;
155 u8 index = 0;
160 /* PLL_SWITCH == 0 is index 0 */
167 index = 1 + reg;
173 return index;