Lines Matching refs:selector
124 unsigned int selector) in s5m8767_list_voltage() argument
137 val = desc->min + desc->step * selector; in s5m8767_list_voltage()
292 int selector = 0; in s5m8767_convert_voltage_to_sel() local
300 selector = (min_vol - desc->min) / desc->step; in s5m8767_convert_voltage_to_sel()
302 if (desc->min + desc->step * selector > max_vol) in s5m8767_convert_voltage_to_sel()
305 return selector; in s5m8767_convert_voltage_to_sel()
309 int min_uV, int max_uV, unsigned *selector) in s5m8767_set_voltage() argument
348 *selector = sel; in s5m8767_set_voltage()
372 int min_uV, int max_uV, unsigned *selector) in s5m8767_set_voltage_buck() argument
384 return s5m8767_set_voltage(rdev, min_uV, max_uV, selector); in s5m8767_set_voltage_buck()
388 return s5m8767_set_voltage(rdev, min_uV, max_uV, selector); in s5m8767_set_voltage_buck()
390 return s5m8767_set_voltage(rdev, min_uV, max_uV, selector); in s5m8767_set_voltage_buck()
405 max_uV, selector); in s5m8767_set_voltage_buck()
413 max_uV, selector); in s5m8767_set_voltage_buck()
421 max_uV, selector); in s5m8767_set_voltage_buck()
433 *selector = new_val; in s5m8767_set_voltage_buck()