Searched refs:cconfig (Results 1 – 1 of 1) sorted by relevance
249 const struct regulator_pca9420_common_config *cconfig = config->parent->config; in regulator_pca9420_set_voltage() local263 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() local277 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() local297 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() local314 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 …]