Lines Matching full:desc

77 	const struct regulator_adp5360_desc *desc;  member
93 return linear_range_group_values_count(config->desc->ranges, config->desc->nranges); in regulator_adp5360_count_voltages()
101 return linear_range_group_get_value(config->desc->ranges, config->desc->nranges, idx, in regulator_adp5360_list_voltage()
111 ret = linear_range_group_get_win_index(config->desc->ranges, config->desc->nranges, min_uv, in regulator_adp5360_set_voltage()
117 return i2c_reg_update_byte_dt(&config->i2c, config->desc->out_reg, in regulator_adp5360_set_voltage()
128 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->out_reg, &raw_reg); in regulator_adp5360_get_voltage()
135 return linear_range_group_get_value(config->desc->ranges, config->desc->nranges, raw_reg, in regulator_adp5360_get_voltage()
143 if (!config->desc->has_modes || (mode > ADP5360_MODE_PWM)) { in regulator_adp5360_set_mode()
147 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_set_mode()
158 if (!config->desc->has_modes) { in regulator_adp5360_get_mode()
162 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_get_mode()
176 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_enable()
184 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_disable()
204 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->out_reg, &val); in regulator_adp5360_init()
216 ret = i2c_reg_write_byte_dt(&config->i2c, config->desc->out_reg, in regulator_adp5360_init()
227 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_init()
239 if (config->desc->has_modes) { in regulator_adp5360_init()
261 ret = i2c_reg_write_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_init()
288 .desc = &name##_desc, \