Lines Matching refs:ov7670_write
564 static int ov7670_write(struct v4l2_subdev *sd, unsigned char reg, in ov7670_write() function
585 return ov7670_write(sd, reg, (orig & ~mask) | (value & mask)); in ov7670_update_bits()
594 int ret = ov7670_write(sd, vals->reg_num, vals->value); in ov7670_write_array()
609 ov7670_write(sd, REG_COM7, COM7_RESET); in ov7670_reset()
814 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7675_apply_framerate()
818 return ov7670_write(sd, REG_DBLV, in ov7675_apply_framerate()
907 return ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7670_set_framerate_legacy()
925 ret = ov7670_write(sd, REG_HSTART, (hstart >> 3) & 0xff); in ov7670_set_hw()
928 ret = ov7670_write(sd, REG_HSTOP, (hstop >> 3) & 0xff); in ov7670_set_hw()
936 ret = ov7670_write(sd, REG_HREF, v); in ov7670_set_hw()
940 ret = ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw()
943 ret = ov7670_write(sd, REG_VSTOP, (vstop >> 2) & 0xff); in ov7670_set_hw()
951 return ov7670_write(sd, REG_VREF, v); in ov7670_set_hw()
1045 ret = ov7670_write(sd, REG_COM7, com7); in ov7670_apply_fmt()
1058 ret = ov7670_write(sd, REG_COM10, com10); in ov7670_apply_fmt()
1090 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7670_apply_fmt()
1306 ret = ov7670_write(sd, REG_CMATRIX_BASE + i, raw); in ov7670_store_cmatrix()
1310 return ov7670_write(sd, REG_CMATRIX_SIGN, signbits); in ov7670_store_cmatrix()
1419 ov7670_write(sd, REG_COM8, com8); in ov7670_s_brightness()
1421 return ov7670_write(sd, REG_BRIGHT, v); in ov7670_s_brightness()
1426 return ov7670_write(sd, REG_CONTRAS, (unsigned char) value); in ov7670_s_contrast()
1442 return ov7670_write(sd, REG_MVFP, v); in ov7670_s_hflip()
1458 return ov7670_write(sd, REG_MVFP, v); in ov7670_s_vflip()
1484 ret = ov7670_write(sd, REG_GAIN, value & 0xff); in ov7670_s_gain()
1491 return ov7670_write(sd, REG_COM8, com8 & ~COM8_AGC); in ov7670_s_gain()
1508 ret = ov7670_write(sd, REG_COM8, com8); in ov7670_s_autogain()
1527 ret = ov7670_write(sd, REG_COM1, com1) + in ov7670_s_exp()
1528 ov7670_write(sd, REG_AECH, aech) + in ov7670_s_exp()
1529 ov7670_write(sd, REG_AECHH, aechh); in ov7670_s_exp()
1532 ret = ov7670_write(sd, REG_COM8, com8 & ~COM8_AEC); in ov7670_s_exp()
1551 ret = ov7670_write(sd, REG_COM8, com8); in ov7670_s_autoexp()
1646 ov7670_write(sd, reg->reg & 0xff, reg->val & 0xff); in ov7670_s_register()