Lines Matching refs:ov7670_write

570 static int ov7670_write(struct v4l2_subdev *sd, unsigned char reg,  in ov7670_write()  function
590 return ov7670_write(sd, reg, (orig & ~mask) | (value & mask)); in ov7670_update_bits()
599 int ret = ov7670_write(sd, vals->reg_num, vals->value); in ov7670_write_array()
613 ov7670_write(sd, REG_COM7, COM7_RESET); in ov7670_reset()
818 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7675_apply_framerate()
822 return ov7670_write(sd, REG_DBLV, in ov7675_apply_framerate()
911 return ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7670_set_framerate_legacy()
929 ret = ov7670_write(sd, REG_HSTART, (hstart >> 3) & 0xff); in ov7670_set_hw()
930 ret += ov7670_write(sd, REG_HSTOP, (hstop >> 3) & 0xff); in ov7670_set_hw()
934 ret += ov7670_write(sd, REG_HREF, v); in ov7670_set_hw()
938 ret += ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw()
939 ret += ov7670_write(sd, REG_VSTOP, (vstop >> 2) & 0xff); in ov7670_set_hw()
943 ret += ov7670_write(sd, REG_VREF, v); in ov7670_set_hw()
1038 ret = ov7670_write(sd, REG_COM7, com7); in ov7670_apply_fmt()
1051 ret = ov7670_write(sd, REG_COM10, com10); in ov7670_apply_fmt()
1083 ret = ov7670_write(sd, REG_CLKRC, info->clkrc); in ov7670_apply_fmt()
1295 ret += ov7670_write(sd, REG_CMATRIX_BASE + i, raw); in ov7670_store_cmatrix()
1297 ret += ov7670_write(sd, REG_CMATRIX_SIGN, signbits); in ov7670_store_cmatrix()
1410 ov7670_write(sd, REG_COM8, com8); in ov7670_s_brightness()
1412 ret = ov7670_write(sd, REG_BRIGHT, v); in ov7670_s_brightness()
1418 return ov7670_write(sd, REG_CONTRAS, (unsigned char) value); in ov7670_s_contrast()
1432 ret += ov7670_write(sd, REG_MVFP, v); in ov7670_s_hflip()
1447 ret += ov7670_write(sd, REG_MVFP, v); in ov7670_s_vflip()
1472 ret = ov7670_write(sd, REG_GAIN, value & 0xff); in ov7670_s_gain()
1476 ret = ov7670_write(sd, REG_COM8, com8 & ~COM8_AGC); in ov7670_s_gain()
1495 ret = ov7670_write(sd, REG_COM8, com8); in ov7670_s_autogain()
1514 ret = ov7670_write(sd, REG_COM1, com1) + in ov7670_s_exp()
1515 ov7670_write(sd, REG_AECH, aech) + in ov7670_s_exp()
1516 ov7670_write(sd, REG_AECHH, aechh); in ov7670_s_exp()
1519 ret = ov7670_write(sd, REG_COM8, com8 & ~COM8_AEC); in ov7670_s_exp()
1538 ret = ov7670_write(sd, REG_COM8, com8); in ov7670_s_autoexp()
1633 ov7670_write(sd, reg->reg & 0xff, reg->val & 0xff); in ov7670_s_register()