Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/regulator/
Dregulator_npm6001.c115 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()
[all …]
/Zephyr-latest/drivers/led/
Dis31fl3733.c61 uint8_t conf_reg; member
202 data->conf_reg = (config->sync << CONF_REG_SYNC_SHIFT) | CONF_REG_SSD_MASK; in is31fl3733_init()
203 ret = i2c_reg_write_byte_dt(&config->bus, CONF_REG, data->conf_reg); in is31fl3733_init()
244 data->conf_reg &= ~CONF_REG_SSD_MASK; in is31fl3733_blank()
246 data->conf_reg |= CONF_REG_SSD_MASK; in is31fl3733_blank()
249 return i2c_reg_write_byte_dt(&config->bus, CONF_REG, data->conf_reg); in is31fl3733_blank()