Searched refs:ov5640_write_reg (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/video/ |
D | ov5640.c | 457 static int ov5640_write_reg(const struct i2c_dt_spec *spec, const uint16_t addr, const uint8_t val) in ov5640_write_reg() function 485 return ov5640_write_reg(spec, addr, (regVal & ~mask) | (val & mask)); in ov5640_modify_reg() 494 ret = ov5640_write_reg(spec, regs[i].addr, regs[i].val); in ov5640_write_multi_regs() 641 int ret = ov5640_write_reg(&cfg->i2c, IO_MIPI_CTRL00_REG, 0x45); in ov5640_stream_start() 647 return ov5640_write_reg(&cfg->i2c, SYS_CTRL0_REG, SYS_CTRL0_SW_PWUP); in ov5640_stream_start() 654 int ret = ov5640_write_reg(&cfg->i2c, IO_MIPI_CTRL00_REG, 0x40); in ov5640_stream_stop() 660 return ov5640_write_reg(&cfg->i2c, SYS_CTRL0_REG, SYS_CTRL0_SW_PWDN); in ov5640_stream_stop() 684 return ov5640_write_reg(&cfg->i2c, PRE_ISP_TEST_SET1, test_pattern_val[value]); in ov5640_set_ctrl_test_pattern() 775 return ov5640_write_reg(&cfg->i2c, SDE_CTRL6_REG, value & 0xff); in ov5640_set_ctrl_contrast() 798 return ov5640_write_reg(&cfg->i2c, AEC_PK_MANUAL, 0); in ov5640_set_ctrl_gain() [all …]
|