Searched refs:reg_avdd (Results 1 – 2 of 2) sorted by relevance
83 struct regulator *reg_avdd; member501 hx711_data->reg_avdd = devm_regulator_get(dev, "avdd"); in hx711_probe()502 if (IS_ERR(hx711_data->reg_avdd)) in hx711_probe()503 return PTR_ERR(hx711_data->reg_avdd); in hx711_probe()505 ret = regulator_enable(hx711_data->reg_avdd); in hx711_probe()521 ret = regulator_get_voltage(hx711_data->reg_avdd); in hx711_probe()578 regulator_disable(hx711_data->reg_avdd); in hx711_probe()595 regulator_disable(hx711_data->reg_avdd); in hx711_remove()
144 struct regulator *reg_avdd; member787 st->reg_avdd = devm_regulator_get(&spi->dev, "avdd"); in ad7293_properties_parse()788 if (IS_ERR(st->reg_avdd)) in ad7293_properties_parse()789 return dev_err_probe(&spi->dev, PTR_ERR(st->reg_avdd), in ad7293_properties_parse()819 ret = regulator_enable(st->reg_avdd); in ad7293_init()827 st->reg_avdd); in ad7293_init()843 ret = regulator_get_voltage(st->reg_avdd); in ad7293_init()