Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/regulator/
Dregulator_pca9420.c249 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_set_voltage() local
263 return i2c_reg_update_byte_dt(&cconfig->i2c, config->desc->vsel_reg + in regulator_pca9420_set_voltage()
272 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_get_voltage() local
277 ret = i2c_reg_read_byte_dt(&cconfig->i2c, config->desc->vsel_reg + in regulator_pca9420_get_voltage()
295 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_get_current_limit() local
297 if (cconfig->vin_ilim_ua == 0U) { in regulator_pca9420_get_current_limit()
300 *curr_ua = MIN(config->desc->max_ua, cconfig->vin_ilim_ua); in regulator_pca9420_get_current_limit()
310 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_set_active_discharge() local
314 return i2c_reg_update_byte_dt(&cconfig->i2c, PCA9420_ACT_DISCHARGE_CNTL, in regulator_pca9420_set_active_discharge()
322 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_get_active_discharge() local
[all …]