Lines Matching refs:selector
81 unsigned int selector)
83 if (selector > WM8994_LDO1_MAX_SELECTOR)
86 return (selector * 100000) + 2400000;
105 int selector, v;
107 selector = (min_uV - 2400000) / 100000;
108 v = wm8994_ldo1_list_voltage(rdev, selector);
112 *s = selector;
113 selector <<= WM8994_LDO1_VSEL_SHIFT;
116 WM8994_LDO1_VSEL_MASK, selector);
131 unsigned int selector)
135 if (selector > WM8994_LDO2_MAX_SELECTOR)
140 return (selector * 100000) + 900000;
142 return (selector * 100000) + 1000000;
144 switch (selector) {
148 return (selector * 100000) + 950000;
172 int selector, v;
176 selector = (min_uV - 900000) / 100000;
179 selector = (min_uV - 1000000) / 100000;
182 selector = (min_uV - 950000) / 100000;
183 if (selector == 0)
184 selector = 1;
190 v = wm8994_ldo2_list_voltage(rdev, selector);
194 *s = selector;
195 selector <<= WM8994_LDO2_VSEL_SHIFT;
198 WM8994_LDO2_VSEL_MASK, selector);