Lines Matching refs:ov2740_write_reg
393 static int ov2740_write_reg(struct ov2740 *ov2740, u16 reg, u16 len, u32 val) in ov2740_write_reg() function
420 ret = ov2740_write_reg(ov2740, r_list->regs[i].address, 1, in ov2740_write_reg_list()
437 ret = ov2740_write_reg(ov2740, OV2740_REG_MWB_R_GAIN, 2, d_gain); in ov2740_update_digital_gain()
441 ret = ov2740_write_reg(ov2740, OV2740_REG_MWB_G_GAIN, 2, d_gain); in ov2740_update_digital_gain()
445 return ov2740_write_reg(ov2740, OV2740_REG_MWB_B_GAIN, 2, d_gain); in ov2740_update_digital_gain()
454 return ov2740_write_reg(ov2740, OV2740_REG_TEST_PATTERN, 1, pattern); in ov2740_test_pattern()
482 ret = ov2740_write_reg(ov2740, OV2740_REG_ANALOG_GAIN, 2, in ov2740_set_ctrl()
492 ret = ov2740_write_reg(ov2740, OV2740_REG_EXPOSURE, 3, in ov2740_set_ctrl()
497 ret = ov2740_write_reg(ov2740, OV2740_REG_VTS, 2, in ov2740_set_ctrl()
623 ret = ov2740_write_reg(ov2740, OV2740_REG_MODE_SELECT, 1, in ov2740_start_streaming()
635 if (ov2740_write_reg(ov2740, OV2740_REG_MODE_SELECT, 1, in ov2740_stop_streaming()
954 ret = ov2740_write_reg(ov2740, OV2740_REG_ISP_CTRL00, 1, in ov2740_load_otp_data()
962 ret = ov2740_write_reg(ov2740, OV2740_REG_ISP_CTRL01, 1, in ov2740_load_otp_data()
969 ret = ov2740_write_reg(ov2740, OV2740_REG_MODE_SELECT, 1, in ov2740_load_otp_data()
989 ov2740_write_reg(ov2740, OV2740_REG_MODE_SELECT, 1, in ov2740_load_otp_data()
991 ov2740_write_reg(ov2740, OV2740_REG_ISP_CTRL01, 1, isp_ctrl01); in ov2740_load_otp_data()
992 ov2740_write_reg(ov2740, OV2740_REG_ISP_CTRL00, 1, isp_ctrl00); in ov2740_load_otp_data()