Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/nxp/fxls8974/
Dfxls8974.c431 uint8_t regVal[5]; in fxls8974_print_config() local
433 if (cfg->ops->read(dev, FXLS8974_REG_CTRLREG1, regVal, 5)) { in fxls8974_print_config()
438 regVal[0], regVal[1], regVal[2], regVal[3], regVal[4]); in fxls8974_print_config()
446 uint8_t regVal; in fxls8974_init() local
503 if (fxls8974_get_active(dev, (enum fxls8974_active *)&regVal)) { in fxls8974_init()
508 if (regVal != FXLS8974_ACTIVE_OFF) { in fxls8974_init()
518 if (cfg->ops->byte_read(dev, FXLS8974_REG_CTRLREG4, &regVal)) { in fxls8974_init()
523 if (regVal != FXLS8974_CTRLREG4_INT_POL_HIGH) { in fxls8974_init()
541 &regVal)) { in fxls8974_init()
546 if ((regVal & FXLS8974_CTRLREG1_FSR_MASK) != FXLS8974_CTRLREG1_FSR_2G) { in fxls8974_init()
[all …]
/Zephyr-latest/drivers/video/
Dov5640.c478 uint8_t regVal = 0; in ov5640_modify_reg() local
479 int ret = ov5640_read_reg(spec, addr, &regVal, sizeof(regVal)); in ov5640_modify_reg()
485 return ov5640_write_reg(spec, addr, (regVal & ~mask) | (val & mask)); in ov5640_modify_reg()