Searched refs:reg_pid_val (Results 1 – 2 of 2) sorted by relevance
1003 uint8_t reg_pid_val; in gc2145_check_connection() local1006 ret = gc2145_read_reg(&cfg->i2c, 0xf0, ®_pid_val); in gc2145_check_connection()1016 if ((reg_ver_val != GC2145_REV_VAL) || (reg_pid_val != GC2145_PID_VAL)) { in gc2145_check_connection()1017 LOG_WRN("Unexpected GC2145 pid: 0x%x or rev: 0x%x", reg_pid_val, reg_ver_val); in gc2145_check_connection()
846 uint8_t reg_pid_val, reg_ver_val; in ov2640_check_connection() local849 reg_pid_val = ov2640_read_reg(&cfg->i2c, REG_PID); in ov2640_check_connection()852 if (REG_PID_VAL != reg_pid_val || REG_VER_VAL != reg_ver_val) { in ov2640_check_connection()