Home
last modified time | relevance | path

Searched refs:cci_write (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dimx290.c634 cci_write(imx290->regmap, IMX290_INCKSEL1, clk_cfg->incksel1, &ret); in imx290_set_clock()
635 cci_write(imx290->regmap, IMX290_INCKSEL2, clk_cfg->incksel2, &ret); in imx290_set_clock()
636 cci_write(imx290->regmap, IMX290_INCKSEL3, clk_cfg->incksel3, &ret); in imx290_set_clock()
637 cci_write(imx290->regmap, IMX290_INCKSEL4, clk_cfg->incksel4, &ret); in imx290_set_clock()
638 cci_write(imx290->regmap, IMX290_INCKSEL5, clk_cfg->incksel5, &ret); in imx290_set_clock()
639 cci_write(imx290->regmap, IMX290_INCKSEL6, clk_cfg->incksel6, &ret); in imx290_set_clock()
648 cci_write(imx290->regmap, IMX290_PHY_LANE_NUM, imx290->nlanes - 1, in imx290_set_data_lanes()
650 cci_write(imx290->regmap, IMX290_CSI_LANE_MODE, imx290->nlanes - 1, in imx290_set_data_lanes()
652 cci_write(imx290->regmap, IMX290_FR_FDG_SEL, 0x01, &ret); in imx290_set_data_lanes()
663 return cci_write(imx290->regmap, IMX290_BLKLEVEL, in imx290_set_black_level()
[all …]
H A Dov2680.c390 cci_write(sensor->regmap, OV2680_REG_SENSOR_CTRL_0A, in ov2680_set_mode()
392 cci_write(sensor->regmap, OV2680_REG_HORIZONTAL_START, in ov2680_set_mode()
394 cci_write(sensor->regmap, OV2680_REG_VERTICAL_START, in ov2680_set_mode()
396 cci_write(sensor->regmap, OV2680_REG_HORIZONTAL_END, in ov2680_set_mode()
398 cci_write(sensor->regmap, OV2680_REG_VERTICAL_END, in ov2680_set_mode()
400 cci_write(sensor->regmap, OV2680_REG_HORIZONTAL_OUTPUT_SIZE, in ov2680_set_mode()
402 cci_write(sensor->regmap, OV2680_REG_VERTICAL_OUTPUT_SIZE, in ov2680_set_mode()
404 cci_write(sensor->regmap, OV2680_REG_TIMING_HTS, in ov2680_set_mode()
406 cci_write(sensor->regmap, OV2680_REG_TIMING_VTS, in ov2680_set_mode()
408 cci_write(sensor->regmap, OV2680_REG_ISP_X_WIN, 0, &ret); in ov2680_set_mode()
[all …]
H A Dimx219.c527 cci_write(imx219->regmap, IMX219_REG_ANALOG_GAIN, in imx219_set_ctrl()
531 cci_write(imx219->regmap, IMX219_REG_EXPOSURE, in imx219_set_ctrl()
535 cci_write(imx219->regmap, IMX219_REG_DIGITAL_GAIN, in imx219_set_ctrl()
539 cci_write(imx219->regmap, IMX219_REG_TEST_PATTERN, in imx219_set_ctrl()
544 cci_write(imx219->regmap, IMX219_REG_ORIENTATION, in imx219_set_ctrl()
548 cci_write(imx219->regmap, IMX219_REG_VTS, in imx219_set_ctrl()
552 cci_write(imx219->regmap, IMX219_REG_TESTP_RED, in imx219_set_ctrl()
556 cci_write(imx219->regmap, IMX219_REG_TESTP_GREENR, in imx219_set_ctrl()
560 cci_write(imx219->regmap, IMX219_REG_TESTP_BLUE, in imx219_set_ctrl()
564 cci_write(imx219->regmap, IMX219_REG_TESTP_GREENB, in imx219_set_ctrl()
[all …]
H A Dov5693.c411 cci_write(ov5693->regmap, OV5693_EXPOSURE_CTRL_REG, exposure, &ret); in ov5693_exposure_configure()
438 cci_write(ov5693->regmap, OV5693_MWB_RED_GAIN_REG, gain, &ret); in ov5693_digital_gain_configure()
439 cci_write(ov5693->regmap, OV5693_MWB_GREEN_GAIN_REG, gain, &ret); in ov5693_digital_gain_configure()
440 cci_write(ov5693->regmap, OV5693_MWB_BLUE_GAIN_REG, gain, &ret); in ov5693_digital_gain_configure()
451 cci_write(ov5693->regmap, OV5693_GAIN_CTRL_REG, gain, &ret); in ov5693_analog_gain_configure()
461 cci_write(ov5693->regmap, OV5693_TIMING_VTS_REG, vts, &ret); in ov5693_vts_configure()
470 cci_write(ov5693->regmap, OV5693_TEST_PATTERN_REG, in ov5693_test_pattern_configure()
560 cci_write(ov5693->regmap, OV5693_CROP_START_X_REG, mode->crop.left, in ov5693_mode_configure()
564 cci_write(ov5693->regmap, OV5693_OFFSET_START_X_REG, 0, &ret); in ov5693_mode_configure()
567 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_X_REG, mode->format.width, in ov5693_mode_configure()
[all …]
H A Ddw9719.c86 cci_write(dw9719->regmap, DW9719_CONTROL, 1, &ret); in dw9719_power_up()
91 cci_write(dw9719->regmap, DW9719_CONTROL, DW9719_ENABLE_RINGING, &ret); in dw9719_power_up()
92 cci_write(dw9719->regmap, DW9719_MODE, in dw9719_power_up()
94 cci_write(dw9719->regmap, DW9719_VCM_FREQ, dw9719->vcm_freq, &ret); in dw9719_power_up()
104 return cci_write(dw9719->regmap, DW9719_VCM_CURRENT, value, NULL); in dw9719_t_focus_abs()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-cci.c92 int cci_write(struct regmap *map, u32 reg, u64 val, int *err) in cci_write() function
152 EXPORT_SYMBOL_GPL(cci_write);
165 return cci_write(map, reg, val, err); in cci_update_bits()
176 ret = cci_write(map, regs[i].reg, regs[i].val, err); in cci_multi_reg_write()
/openbmc/linux/include/media/
H A Dv4l2-cci.h77 int cci_write(struct regmap *map, u32 reg, u64 val, int *err);