• Home
  • Raw
  • Download

Lines Matching refs:uc_pdata

186 	struct dm_regulator_uclass_platdata *uc_pdata;  in stpmic1_buck_set_enable()  local
196 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_buck_set_enable()
198 if (uv < uc_pdata->min_uV || uv > uc_pdata->max_uV) in stpmic1_buck_set_enable()
199 stpmic1_buck_set_value(dev, uc_pdata->min_uV); in stpmic1_buck_set_enable()
233 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_buck_probe() local
238 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_buck_probe()
240 uc_pdata->type = REGULATOR_TYPE_BUCK; in stpmic1_buck_probe()
241 uc_pdata->mode = (struct dm_regulator_mode *)buck_modes; in stpmic1_buck_probe()
242 uc_pdata->mode_count = ARRAY_SIZE(buck_modes); in stpmic1_buck_probe()
365 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_ldo_set_enable() local
375 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_ldo_set_enable()
377 if (uv < uc_pdata->min_uV || uv > uc_pdata->max_uV) in stpmic1_ldo_set_enable()
378 stpmic1_ldo_set_value(dev, uc_pdata->min_uV); in stpmic1_ldo_set_enable()
439 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_ldo_probe() local
444 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_ldo_probe()
446 uc_pdata->type = REGULATOR_TYPE_LDO; in stpmic1_ldo_probe()
448 uc_pdata->mode = (struct dm_regulator_mode *)ldo_modes; in stpmic1_ldo_probe()
449 uc_pdata->mode_count = ARRAY_SIZE(ldo_modes); in stpmic1_ldo_probe()
451 uc_pdata->mode_count = 0; in stpmic1_ldo_probe()
513 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_vref_ddr_probe() local
515 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_vref_ddr_probe()
517 uc_pdata->type = REGULATOR_TYPE_FIXED; in stpmic1_vref_ddr_probe()
518 uc_pdata->mode_count = 0; in stpmic1_vref_ddr_probe()
577 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_boost_probe() local
579 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_boost_probe()
581 uc_pdata->type = REGULATOR_TYPE_FIXED; in stpmic1_boost_probe()
582 uc_pdata->mode_count = 0; in stpmic1_boost_probe()
650 struct dm_regulator_uclass_platdata *uc_pdata; in stpmic1_pwr_sw_probe() local
655 uc_pdata = dev_get_uclass_platdata(dev); in stpmic1_pwr_sw_probe()
657 uc_pdata->type = REGULATOR_TYPE_FIXED; in stpmic1_pwr_sw_probe()
658 uc_pdata->mode_count = 0; in stpmic1_pwr_sw_probe()