Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/video/
Dgc2145.c713 static int gc2145_write_reg(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint8_t value) in gc2145_write_reg() function
771 ret = gc2145_write_reg(&cfg->i2c, regs[i].addr, regs[i].value); in gc2145_write_all()
786 ret = gc2145_write_reg(&cfg->i2c, GC2145_REG_RESET, GC2145_REG_SW_RESET); in gc2145_soft_reset()
805 return gc2145_write_reg(&cfg->i2c, GC2145_REG_AMODE1, in gc2145_set_ctrl_vflip()
821 return gc2145_write_reg(&cfg->i2c, GC2145_REG_AMODE1, in gc2145_set_ctrl_hmirror()
831 ret = gc2145_write_reg(&cfg->i2c, GC2145_REG_RESET, GC2145_SET_P0_REGS); in gc2145_set_window()
837 ret = gc2145_write_reg(&cfg->i2c, reg++, y >> 8); in gc2145_set_window()
842 ret = gc2145_write_reg(&cfg->i2c, reg++, y & 0xff); in gc2145_set_window()
848 ret = gc2145_write_reg(&cfg->i2c, reg++, x >> 8); in gc2145_set_window()
853 ret = gc2145_write_reg(&cfg->i2c, reg++, x & 0xff); in gc2145_set_window()
[all …]