Home
last modified time | relevance | path

Searched refs:raw_reg (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/drivers/regulator/
Dregulator_adp5360.c126 uint8_t raw_reg; in regulator_adp5360_get_voltage() local
128 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->out_reg, &raw_reg); in regulator_adp5360_get_voltage()
133 raw_reg = (raw_reg & ADP5360_BUCK_OUTPUT_VOUT_MSK) >> ADP5360_BUCK_OUTPUT_VOUT_POS; in regulator_adp5360_get_voltage()
135 return linear_range_group_get_value(config->desc->ranges, config->desc->nranges, raw_reg, in regulator_adp5360_get_voltage()
Dregulator_axp192.c269 uint8_t raw_reg; in axp192_get_voltage() local
272 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->vsel_reg, &raw_reg); in axp192_get_voltage()
277 raw_reg = (raw_reg & config->desc->vsel_mask) >> config->desc->vsel_bitpos; in axp192_get_voltage()
279 ret = linear_range_group_get_value(config->desc->ranges, config->desc->num_ranges, raw_reg, in axp192_get_voltage()
Dregulator_pca9420.c244 uint8_t raw_reg; in regulator_pca9420_get_voltage() local
248 &raw_reg); in regulator_pca9420_get_voltage()
253 raw_reg = (raw_reg & config->desc->vsel_mask) >> config->desc->vsel_pos; in regulator_pca9420_get_voltage()
256 config->desc->num_ranges, raw_reg, in regulator_pca9420_get_voltage()
/Zephyr-Core-3.5.0/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py1642 for raw_reg in _slice(node, "reg", 4*(address_cells + size_cells),
1648 addr = _translate(to_num(raw_reg[:4*address_cells]), node)
1652 size = to_num(raw_reg[4*address_cells:])