Searched refs:cfg_reg (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/regulator/ |
D | regulator_adp5360.c | 42 uint8_t cfg_reg; member 54 .cfg_reg = ADP5360_BUCK_CFG, 67 .cfg_reg = ADP5360_BUCKBST_CFG, 147 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_set_mode() 162 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_get_mode() 176 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_enable() 184 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_disable() 227 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_init() 261 ret = i2c_reg_write_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_init()
|
/Zephyr-Core-3.5.0/drivers/sensor/tmp116/ |
D | tmp116.c | 170 uint16_t cfg_reg = 0; in tmp116_sample_fetch() local 180 rc = tmp116_reg_read(dev, TMP116_REG_CFGR, &cfg_reg); in tmp116_sample_fetch() 187 if ((cfg_reg & TMP116_CFGR_DATA_READY) == 0) { in tmp116_sample_fetch()
|