Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/regulator/
Dregulator_axp192.c40 const uint8_t vsel_mask; member
72 .vsel_mask = 0x7FU,
91 .vsel_mask = 0x3FU,
110 .vsel_mask = 0x7FU,
129 .vsel_mask = 0xF0u,
147 .vsel_mask = 0xF0U,
165 .vsel_mask = 0x0FU,
255 config->desc->vsel_mask); in axp192_set_voltage()
256 ret = i2c_reg_update_byte_dt(&config->i2c, config->desc->vsel_reg, config->desc->vsel_mask, in axp192_set_voltage()
277 raw_reg = (raw_reg & config->desc->vsel_mask) >> config->desc->vsel_bitpos; in axp192_get_voltage()
Dregulator_pca9420.c94 uint8_t vsel_mask; member
152 .vsel_mask = PCA9420_MODECFG_0_SW1_OUT_MASK,
164 .vsel_mask = PCA9420_MODECFG_1_SW2_OUT_MASK,
176 .vsel_mask = PCA9420_MODECFG_2_LDO1_OUT_MASK,
189 .vsel_mask = PCA9420_MODECFG_3_LDO2_OUT_MASK,
234 config->desc->vsel_mask, (uint8_t)idx); in regulator_pca9420_set_voltage()
253 raw_reg = (raw_reg & config->desc->vsel_mask) >> config->desc->vsel_pos; in regulator_pca9420_get_voltage()
351 config->desc->vsel_mask, (uint8_t)idx); in regulator_pca9420_init()