Lines Matching refs:ov5648_write
989 static int ov5648_write(struct ov5648_sensor *sensor, u16 address, u8 value) in ov5648_write() function
1013 ret = ov5648_write(sensor, sequence[i].address, in ov5648_write_sequence()
1038 ret = ov5648_write(sensor, address, value); in ov5648_update_bits()
1049 return ov5648_write(sensor, OV5648_SW_RESET_REG, OV5648_SW_RESET_RESET); in ov5648_sw_reset()
1059 return ov5648_write(sensor, OV5648_SW_STANDBY_REG, value); in ov5648_sw_standby()
1088 return ov5648_write(sensor, OV5648_A_PWC_PK_O0_REG, in ov5648_avdd_internal_power()
1098 ret = ov5648_write(sensor, OV5648_PAD_OEN1_REG, 0); in ov5648_pad_configure()
1102 ret = ov5648_write(sensor, OV5648_PAD_OEN2_REG, 0); in ov5648_pad_configure()
1108 return ov5648_write(sensor, OV5648_PAD_PK_REG, in ov5648_pad_configure()
1120 ret = ov5648_write(sensor, OV5648_MIPI_CTRL0_REG, in ov5648_mipi_configure()
1127 return ov5648_write(sensor, OV5648_MIPI_SC_CTRL0_REG, in ov5648_mipi_configure()
1139 ret = ov5648_write(sensor, OV5648_BLC_CTRL1_REG, in ov5648_black_level_configure()
1144 ret = ov5648_write(sensor, OV5648_BLC_CTRL2_REG, in ov5648_black_level_configure()
1150 ret = ov5648_write(sensor, OV5648_BLC_LINE_NUM_REG, in ov5648_black_level_configure()
1174 ret = ov5648_write(sensor, OV5648_ISP_CTRL1_REG, in ov5648_isp_configure()
1180 ret = ov5648_write(sensor, OV5648_ISP_CTRL2_REG, in ov5648_isp_configure()
1187 ret = ov5648_write(sensor, OV5648_ISP_CTRL3_REG, in ov5648_isp_configure()
1193 ret = ov5648_write(sensor, OV5648_ISP_CTRL4_REG, 0); in ov5648_isp_configure()
1197 ret = ov5648_write(sensor, OV5648_ISP_CTRL1F_REG, in ov5648_isp_configure()
1203 ret = ov5648_write(sensor, OV5648_ISP_CTRL4B_REG, in ov5648_isp_configure()
1210 ret = ov5648_write(sensor, OV5648_AEC_CTRL0_REG, in ov5648_isp_configure()
1216 return ov5648_write(sensor, OV5648_MANUAL_CTRL_REG, in ov5648_isp_configure()
1269 ret = ov5648_write(sensor, OV5648_PLL_CTRL0_REG, value); in ov5648_mode_pll1_configure()
1273 ret = ov5648_write(sensor, OV5648_PLL_DIV_REG, in ov5648_mode_pll1_configure()
1279 ret = ov5648_write(sensor, OV5648_PLL_MUL_REG, in ov5648_mode_pll1_configure()
1284 ret = ov5648_write(sensor, OV5648_PLL_CTRL1_REG, in ov5648_mode_pll1_configure()
1290 return ov5648_write(sensor, OV5648_SRB_CTRL_REG, in ov5648_mode_pll1_configure()
1301 ret = ov5648_write(sensor, OV5648_PLLS_DIV_REG, in ov5648_mode_pll2_configure()
1308 ret = ov5648_write(sensor, OV5648_PLLS_MUL_REG, in ov5648_mode_pll2_configure()
1313 return ov5648_write(sensor, OV5648_PLLS_CTRL_REG, in ov5648_mode_pll2_configure()
1325 ret = ov5648_write(sensor, OV5648_CROP_START_X_H_REG, in ov5648_mode_configure()
1330 ret = ov5648_write(sensor, OV5648_CROP_START_X_L_REG, in ov5648_mode_configure()
1337 ret = ov5648_write(sensor, OV5648_OFFSET_X_H_REG, in ov5648_mode_configure()
1342 ret = ov5648_write(sensor, OV5648_OFFSET_X_L_REG, in ov5648_mode_configure()
1349 ret = ov5648_write(sensor, OV5648_OUTPUT_SIZE_X_H_REG, in ov5648_mode_configure()
1354 ret = ov5648_write(sensor, OV5648_OUTPUT_SIZE_X_L_REG, in ov5648_mode_configure()
1361 ret = ov5648_write(sensor, OV5648_CROP_END_X_H_REG, in ov5648_mode_configure()
1366 ret = ov5648_write(sensor, OV5648_CROP_END_X_L_REG, in ov5648_mode_configure()
1373 ret = ov5648_write(sensor, OV5648_HTS_H_REG, OV5648_HTS_H(mode->hts)); in ov5648_mode_configure()
1377 ret = ov5648_write(sensor, OV5648_HTS_L_REG, OV5648_HTS_L(mode->hts)); in ov5648_mode_configure()
1383 ret = ov5648_write(sensor, OV5648_CROP_START_Y_H_REG, in ov5648_mode_configure()
1388 ret = ov5648_write(sensor, OV5648_CROP_START_Y_L_REG, in ov5648_mode_configure()
1395 ret = ov5648_write(sensor, OV5648_OFFSET_Y_H_REG, in ov5648_mode_configure()
1400 ret = ov5648_write(sensor, OV5648_OFFSET_Y_L_REG, in ov5648_mode_configure()
1407 ret = ov5648_write(sensor, OV5648_OUTPUT_SIZE_Y_H_REG, in ov5648_mode_configure()
1412 ret = ov5648_write(sensor, OV5648_OUTPUT_SIZE_Y_L_REG, in ov5648_mode_configure()
1419 ret = ov5648_write(sensor, OV5648_CROP_END_Y_H_REG, in ov5648_mode_configure()
1424 ret = ov5648_write(sensor, OV5648_CROP_END_Y_L_REG, in ov5648_mode_configure()
1431 ret = ov5648_write(sensor, OV5648_VTS_H_REG, OV5648_VTS_H(mode->vts)); in ov5648_mode_configure()
1435 ret = ov5648_write(sensor, OV5648_VTS_L_REG, OV5648_VTS_L(mode->vts)); in ov5648_mode_configure()
1460 ret = ov5648_write(sensor, OV5648_SUB_INC_X_REG, in ov5648_mode_configure()
1466 ret = ov5648_write(sensor, OV5648_SUB_INC_Y_REG, in ov5648_mode_configure()
1535 ret = ov5648_write(sensor, OV5648_EXPOSURE_CTRL_HH_REG, in ov5648_exposure_configure()
1540 ret = ov5648_write(sensor, OV5648_EXPOSURE_CTRL_H_REG, in ov5648_exposure_configure()
1545 return ov5648_write(sensor, OV5648_EXPOSURE_CTRL_L_REG, in ov5648_exposure_configure()
1591 ret = ov5648_write(sensor, OV5648_GAIN_CTRL_H_REG, in ov5648_gain_configure()
1596 return ov5648_write(sensor, OV5648_GAIN_CTRL_L_REG, in ov5648_gain_configure()
1624 return ov5648_write(sensor, OV5648_AWB_CTRL_REG, in ov5648_white_balance_auto_configure()
1637 ret = ov5648_write(sensor, OV5648_GAIN_RED_MAN_H_REG, in ov5648_white_balance_configure()
1642 ret = ov5648_write(sensor, OV5648_GAIN_RED_MAN_L_REG, in ov5648_white_balance_configure()
1647 ret = ov5648_write(sensor, OV5648_GAIN_BLUE_MAN_H_REG, in ov5648_white_balance_configure()
1652 return ov5648_write(sensor, OV5648_GAIN_BLUE_MAN_L_REG, in ov5648_white_balance_configure()
1684 return ov5648_write(sensor, OV5648_ISP_CTRL3D_REG, in ov5648_test_pattern_configure()