Lines Matching refs:read_val
277 uint8_t read_val; local
283 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
288 read_val &= ~STPMIC1_LDO3_MODE;
289 read_val &= ~STPMIC1_LDO12356_OUTPUT_MASK;
290 read_val |= STPMIC1_LDO3_DDR_SEL <<
293 status = stpmic1_register_write(LDO3_CONTROL_REG, read_val);
332 status = stpmic1_register_read(BUCK3_CONTROL_REG, &read_val);
337 if ((read_val & STPMIC1_BUCK3_1V8) == STPMIC1_BUCK3_1V8) {
341 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
346 read_val &= ~STPMIC1_LDO3_MODE;
347 read_val &= ~STPMIC1_LDO12356_OUTPUT_MASK;
348 read_val |= STPMIC1_LDO3_1800000;
350 read_val |= STPMIC1_LDO3_MODE;
353 status = stpmic1_register_write(LDO3_CONTROL_REG, read_val);