Lines Matching refs:conf_reg
115 uint8_t vout_reg, uint8_t conf_reg) in regulator_npm6001_buck012_set_voltage() argument
128 ret = i2c_reg_read_byte_dt(&config->i2c, conf_reg, &conf); in regulator_npm6001_buck012_set_voltage()
134 ret = i2c_reg_write_byte_dt(&config->i2c, conf_reg, in regulator_npm6001_buck012_set_voltage()
158 ret = i2c_reg_write_byte_dt(&config->i2c, conf_reg, conf); in regulator_npm6001_buck012_set_voltage()
385 uint8_t conf_reg; in regulator_npm6001_set_mode() local
393 conf_reg = NPM6001_BUCK0CONFPWMMODE; in regulator_npm6001_set_mode()
396 conf_reg = NPM6001_BUCK1CONFPWMMODE; in regulator_npm6001_set_mode()
399 conf_reg = NPM6001_BUCK2CONFPWMMODE; in regulator_npm6001_set_mode()
402 conf_reg = NPM6001_BUCK3CONFPWMMODE; in regulator_npm6001_set_mode()
408 return i2c_reg_update_byte_dt(&config->i2c, conf_reg, in regulator_npm6001_set_mode()
416 uint8_t conf_reg, conf; in regulator_npm6001_get_mode() local
421 conf_reg = NPM6001_BUCK0CONFPWMMODE; in regulator_npm6001_get_mode()
424 conf_reg = NPM6001_BUCK1CONFPWMMODE; in regulator_npm6001_get_mode()
427 conf_reg = NPM6001_BUCK2CONFPWMMODE; in regulator_npm6001_get_mode()
430 conf_reg = NPM6001_BUCK3CONFPWMMODE; in regulator_npm6001_get_mode()
436 ret = i2c_reg_read_byte_dt(&config->i2c, conf_reg, &conf); in regulator_npm6001_get_mode()