Lines Matching refs:uc_pdata
51 struct dm_regulator_uclass_platdata *uc_pdata; in dm_test_power_regulator_get() local
78 uc_pdata = dev_get_uclass_platdata(dev_by_platname); in dm_test_power_regulator_get()
79 ut_assert(uc_pdata); in dm_test_power_regulator_get()
80 ut_asserteq_str(platname, uc_pdata->name); in dm_test_power_regulator_get()
96 struct dm_regulator_uclass_platdata *uc_pdata; in dm_test_power_regulator_set_get_voltage() local
105 uc_pdata = dev_get_uclass_platdata(dev); in dm_test_power_regulator_set_get_voltage()
106 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_voltage()
108 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage()
123 struct dm_regulator_uclass_platdata *uc_pdata; in dm_test_power_regulator_set_get_current() local
132 uc_pdata = dev_get_uclass_platdata(dev); in dm_test_power_regulator_set_get_current()
133 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_current()
135 val_set = uc_pdata->min_uA; in dm_test_power_regulator_set_get_current()
147 uc_pdata = dev_get_uclass_platdata(dev); in dm_test_power_regulator_set_get_current()
148 ut_assert(uc_pdata); in dm_test_power_regulator_set_get_current()
149 ut_asserteq(-ENODATA, uc_pdata->min_uA); in dm_test_power_regulator_set_get_current()
150 ut_asserteq(-ENODATA, uc_pdata->max_uA); in dm_test_power_regulator_set_get_current()