Lines Matching refs:ov5647_write

614 static int ov5647_write(struct v4l2_subdev *sd, u16 reg, u8 val)  in ov5647_write()  function
665 ret = ov5647_write(sd, regs[i].addr, regs[i].data); in ov5647_write_array()
684 return ov5647_write(sd, OV5647_REG_MIPI_CTRL14, in ov5647_set_virtual_channel()
716 ret = ov5647_write(sd, OV5647_SW_STANDBY, 0x01); in ov5647_set_mode()
746 ret = ov5647_write(sd, OV5647_REG_MIPI_CTRL00, val); in ov5647_stream_on()
750 ret = ov5647_write(sd, OV5647_REG_FRAME_OFF_NUMBER, 0x00); in ov5647_stream_on()
754 return ov5647_write(sd, OV5640_REG_PAD_OUT, 0x00); in ov5647_stream_on()
761 ret = ov5647_write(sd, OV5647_REG_MIPI_CTRL00, in ov5647_stream_off()
767 ret = ov5647_write(sd, OV5647_REG_FRAME_OFF_NUMBER, 0x0f); in ov5647_stream_off()
771 return ov5647_write(sd, OV5640_REG_PAD_OUT, 0x01); in ov5647_stream_off()
835 ret = ov5647_write(&sensor->sd, OV5647_SW_STANDBY, rdval); in ov5647_power_off()
865 return ov5647_write(sd, reg->reg & 0xff, reg->val & 0xff); in ov5647_sensor_set_register()
1102 ret = ov5647_write(sd, OV5647_SW_RESET, 0x01); in ov5647_detect()
1124 return ov5647_write(sd, OV5647_SW_RESET, 0x00); in ov5647_detect()
1149 return ov5647_write(sd, OV5647_REG_AWB, val ? 1 : 0); in ov5647_s_auto_white_balance()
1162 return ov5647_write(sd, OV5647_REG_AEC_AGC, val ? reg & ~BIT(1) in ov5647_s_autogain()
1179 return ov5647_write(sd, OV5647_REG_AEC_AGC, in ov5647_s_exposure_auto()
1189 ret = ov5647_write(sd, OV5647_REG_GAIN_HI, (val >> 8) & 3); in ov5647_s_analogue_gain()
1193 return ov5647_write(sd, OV5647_REG_GAIN_LO, val & 0xff); in ov5647_s_analogue_gain()
1204 ret = ov5647_write(sd, OV5647_REG_EXP_HI, (val >> 12) & 0xf); in ov5647_s_exposure()
1208 ret = ov5647_write(sd, OV5647_REG_EXP_MID, (val >> 4) & 0xff); in ov5647_s_exposure()
1212 return ov5647_write(sd, OV5647_REG_EXP_LO, (val & 0xf) << 4); in ov5647_s_exposure()
1267 ret = ov5647_write(sd, OV5647_REG_ISPCTRL3D, in ov5647_s_ctrl()