Lines Matching refs:parent
151 const struct rk8xx_reg_info *info = get_buck_reg(dev->parent, buck); in buck_get_value()
157 ret = pmic_reg_read(dev->parent, info->vsel_reg); in buck_get_value()
169 return _buck_set_value(dev->parent, buck, uvolt); in buck_set_value()
176 return _buck_set_enable(dev->parent, buck, enable); in buck_set_enable()
187 ret = pmic_reg_read(dev->parent, REG_DCDC_EN); in buck_get_enable()
197 const struct rk8xx_reg_info *info = get_ldo_reg(dev->parent, ldo); in ldo_get_value()
203 ret = pmic_reg_read(dev->parent, info->vsel_reg); in ldo_get_value()
214 const struct rk8xx_reg_info *info = get_ldo_reg(dev->parent, ldo); in ldo_set_value()
224 return pmic_clrsetbits(dev->parent, info->vsel_reg, mask, val); in ldo_set_value()
234 return pmic_clrsetbits(dev->parent, REG_LDO_EN, mask, in ldo_set_enable()
246 ret = pmic_reg_read(dev->parent, REG_LDO_EN); in ldo_get_enable()
260 return pmic_clrsetbits(dev->parent, REG_DCDC_EN, mask, in switch_set_enable()
272 ret = pmic_reg_read(dev->parent, REG_DCDC_EN); in switch_get_enable()