Lines Matching refs:ov7670_write
434 static int ov7670_write(struct v4l2_subdev *sd, unsigned char reg,
482 static int ov7670_write(struct v4l2_subdev *sd, unsigned char reg,
510 int ret = ov7670_write(sd, vals->reg_num, vals->value);
524 ov7670_write(sd, REG_COM7, COM7_RESET);
718 ret = ov7670_write(sd, REG_HSTART, (hstart >> 3) & 0xff);
719 ret += ov7670_write(sd, REG_HSTOP, (hstop >> 3) & 0xff);
723 ret += ov7670_write(sd, REG_HREF, v);
727 ret += ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff);
728 ret += ov7670_write(sd, REG_VSTOP, (vstop >> 2) & 0xff);
732 ret += ov7670_write(sd, REG_VREF, v);
824 ov7670_write(sd, REG_COM7, com7);
847 ret = ov7670_write(sd, REG_CLKRC, info->clkrc);
895 return ov7670_write(sd, REG_CLKRC, info->clkrc);
937 ret += ov7670_write(sd, REG_CMATRIX_BASE + i, raw);
939 ret += ov7670_write(sd, REG_CMATRIX_SIGN, signbits);
1091 ov7670_write(sd, REG_COM8, com8);
1093 ret = ov7670_write(sd, REG_BRIGHT, v);
1108 return ov7670_write(sd, REG_CONTRAS, (unsigned char) value);
1142 ret += ov7670_write(sd, REG_MVFP, v);
1170 ret += ov7670_write(sd, REG_MVFP, v);
1195 ret = ov7670_write(sd, REG_GAIN, value & 0xff);
1199 ret = ov7670_write(sd, REG_COM8, com8 & ~COM8_AGC);
1228 ret = ov7670_write(sd, REG_COM8, com8);
1263 ret = ov7670_write(sd, REG_COM1, com1) +
1264 ov7670_write(sd, REG_AECH, aech) +
1265 ov7670_write(sd, REG_AECHH, aechh);
1268 ret = ov7670_write(sd, REG_COM8, com8 & ~COM8_AEC);
1301 ret = ov7670_write(sd, REG_COM8, com8);
1424 ov7670_write(sd, reg->reg & 0xff, reg->val & 0xff);