Home
last modified time | relevance | path

Searched refs:cconfig (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/drivers/regulator/
Dregulator_pca9420.c218 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_set_voltage() local
232 return i2c_reg_update_byte_dt(&cconfig->i2c, config->desc->vsel_reg + in regulator_pca9420_set_voltage()
241 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_get_voltage() local
246 ret = i2c_reg_read_byte_dt(&cconfig->i2c, config->desc->vsel_reg + in regulator_pca9420_get_voltage()
264 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_get_current_limit() local
266 if (cconfig->vin_ilim_ua == 0U) { in regulator_pca9420_get_current_limit()
269 *curr_ua = MIN(config->desc->max_ua, cconfig->vin_ilim_ua); in regulator_pca9420_get_current_limit()
278 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_enable() local
283 return i2c_reg_update_byte_dt(&cconfig->i2c, config->desc->enable_reg in regulator_pca9420_enable()
291 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_disable() local
[all …]