Lines Matching refs:val_set
99 int val_set, val_get; in dm_test_power_regulator_set_get_voltage() local
108 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage()
109 ut_assertok(regulator_set_value(dev, val_set)); in dm_test_power_regulator_set_get_voltage()
114 ut_asserteq(val_set, val_get); in dm_test_power_regulator_set_get_voltage()
126 int val_set, val_get; in dm_test_power_regulator_set_get_current() local
135 val_set = uc_pdata->min_uA; in dm_test_power_regulator_set_get_current()
136 ut_assertok(regulator_set_current(dev, val_set)); in dm_test_power_regulator_set_get_current()
141 ut_asserteq(val_set, val_get); in dm_test_power_regulator_set_get_current()
164 bool val_set = true; in dm_test_power_regulator_set_get_enable() local
169 ut_assertok(regulator_set_enable(dev, val_set)); in dm_test_power_regulator_set_get_enable()
172 ut_asserteq(regulator_get_enable(dev), val_set); in dm_test_power_regulator_set_get_enable()
183 int val_set = LDO_OM_SLEEP; in dm_test_power_regulator_set_get_mode() local
188 ut_assertok(regulator_set_mode(dev, val_set)); in dm_test_power_regulator_set_get_mode()
191 ut_asserteq(regulator_get_mode(dev), val_set); in dm_test_power_regulator_set_get_mode()