Searched refs:ov2640_write_reg (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/video/ |
D | ov2640.c | 479 static int ov2640_write_reg(const struct i2c_dt_spec *spec, uint8_t reg_addr, in ov2640_write_reg() function 534 err = ov2640_write_reg(&cfg->i2c, regs[i].addr, regs[i].value); in ov2640_write_all() 549 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_SENSOR); in ov2640_soft_reset() 552 ret |= ov2640_write_reg(&cfg->i2c, COM7, COM7_SRST); in ov2640_soft_reset() 569 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_level() 572 ret |= ov2640_write_reg(&cfg->i2c, regs[0][i], regs[level][i]); in ov2640_set_level() 627 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_output_format() 631 ret |= ov2640_write_reg(&cfg->i2c, IMAGE_MODE, IMAGE_MODE_JPEG_EN); in ov2640_set_output_format() 634 ret |= ov2640_write_reg(&cfg->i2c, IMAGE_MODE, IMAGE_MODE_RGB565); in ov2640_set_output_format() 650 ret |= ov2640_write_reg(&cfg->i2c, BANK_SEL, BANK_SEL_DSP); in ov2640_set_quality() [all …]
|