Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/video/
Dov2640.c482 static int ov2640_write_reg(const struct i2c_dt_spec *spec, uint8_t reg_addr, in ov2640_write_reg() function
537 err = ov2640_write_reg(&cfg->i2c, regs[i].addr, regs[i].value); in ov2640_write_all()
552 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_SENSOR); in ov2640_soft_reset()
555 ret |= ov2640_write_reg(&cfg->i2c, COM7, COM7_SRST); in ov2640_soft_reset()
572 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_level()
575 ret |= ov2640_write_reg(&cfg->i2c, regs[0][i], regs[level][i]); in ov2640_set_level()
630 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_output_format()
634 ret |= ov2640_write_reg(&cfg->i2c, IMAGE_MODE, IMAGE_MODE_JPEG_EN); in ov2640_set_output_format()
637 ret |= ov2640_write_reg(&cfg->i2c, IMAGE_MODE, IMAGE_MODE_RGB565); in ov2640_set_output_format()
653 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_quality()
[all …]