Lines Matching refs:desc
25 struct regulator_desc desc; member
77 .desc = { \
107 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_spmi_regulator_enable()
108 rdev->desc->enable_mask, in hi6421_spmi_regulator_enable()
109 rdev->desc->enable_mask); in hi6421_spmi_regulator_enable()
112 usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 60); in hi6421_spmi_regulator_enable()
124 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_mode()
125 regmap_read(rdev->regmap, rdev->desc->enable_reg, ®_val); in hi6421_spmi_regulator_get_mode()
139 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_set_mode()
154 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_spmi_regulator_set_mode()
165 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_optimum_mode()
266 rdev = devm_regulator_register(dev, &info->desc, &config); in hi6421_spmi_regulator_probe()
269 info->desc.name); in hi6421_spmi_regulator_probe()