Lines Matching full:cci

32 #include <media/v4l2-cci.h>
549 struct regmap *cci; member
738 return cci_write(imx283->cci, IMX283_REG_TPG_CTRL, 0x00, NULL); in imx283_update_test_pattern()
740 ret = cci_write(imx283->cci, IMX283_REG_TPG_PAT, in imx283_update_test_pattern()
745 return cci_write(imx283->cci, IMX283_REG_TPG_CTRL, in imx283_update_test_pattern()
801 ret = cci_write(imx283->cci, IMX283_REG_SHR, shr, NULL); in imx283_set_ctrl()
809 ret = cci_write(imx283->cci, IMX283_REG_HMAX, imx283->hmax, NULL); in imx283_set_ctrl()
816 ret = cci_write(imx283->cci, IMX283_REG_VMAX, imx283->vmax, NULL); in imx283_set_ctrl()
820 ret = cci_write(imx283->cci, IMX283_REG_ANALOG_GAIN, ctrl->val, NULL); in imx283_set_ctrl()
824 ret = cci_write(imx283->cci, IMX283_REG_DIGITAL_GAIN, ctrl->val, NULL); in imx283_set_ctrl()
833 cci_write(imx283->cci, IMX283_REG_HTRIMMING, in imx283_set_ctrl()
836 cci_write(imx283->cci, IMX283_REG_HTRIMMING, in imx283_set_ctrl()
993 cci_write(imx283->cci, IMX283_REG_STANDBY, in imx283_standby_cancel()
997 cci_multi_reg_write(imx283->cci, imx283->freq->regs, in imx283_standby_cancel()
1004 cci_write(imx283->cci, IMX283_REG_PLSTMG08, IMX283_PLSTMG08_VAL, &ret); in imx283_standby_cancel()
1005 cci_write(imx283->cci, IMX283_REG_PLSTMG02, IMX283_PLSTMG02_VAL, &ret); in imx283_standby_cancel()
1008 cci_write(imx283->cci, IMX283_REG_STBPL, IMX283_STBPL_NORMAL, &ret); in imx283_standby_cancel()
1012 cci_multi_reg_write(imx283->cci, link_freq_reglist[link_freq_idx].regs, in imx283_standby_cancel()
1020 cci_write(imx283->cci, IMX283_REG_STANDBY, IMX283_ACTIVE, &ret); in imx283_standby_cancel()
1025 cci_write(imx283->cci, IMX283_REG_CLAMP, IMX283_CLPSQRST, &ret); in imx283_standby_cancel()
1026 cci_write(imx283->cci, IMX283_REG_XMSTA, 0, &ret); in imx283_standby_cancel()
1027 cci_write(imx283->cci, IMX283_REG_SYNCDRV, IMX283_SYNCDRV_XHS_XVS, &ret); in imx283_standby_cancel()
1063 cci_write(imx283->cci, IMX283_REG_MDSEL1, readout->mdsel1, &ret); in imx283_start_streaming()
1064 cci_write(imx283->cci, IMX283_REG_MDSEL2, readout->mdsel2, &ret); in imx283_start_streaming()
1065 cci_write(imx283->cci, IMX283_REG_MDSEL3, in imx283_start_streaming()
1067 cci_write(imx283->cci, IMX283_REG_MDSEL4, in imx283_start_streaming()
1072 cci_write(imx283->cci, IMX283_REG_MDSEL7, 0x01, &ret); in imx283_start_streaming()
1073 cci_write(imx283->cci, IMX283_REG_MDSEL18, 0x1098, &ret); in imx283_start_streaming()
1082 cci_write(imx283->cci, IMX283_REG_SVR, 0x00, &ret); in imx283_start_streaming()
1102 cci_write(imx283->cci, IMX283_REG_Y_OUT_SIZE, y_out_size, &ret); in imx283_start_streaming()
1103 cci_write(imx283->cci, IMX283_REG_WRITE_VSIZE, write_v_size, &ret); in imx283_start_streaming()
1104 cci_write(imx283->cci, IMX283_REG_VWIDCUT, v_widcut, &ret); in imx283_start_streaming()
1105 cci_write(imx283->cci, IMX283_REG_VWINPOS, v_pos, &ret); in imx283_start_streaming()
1107 cci_write(imx283->cci, IMX283_REG_OB_SIZE_V, mode->vertical_ob, &ret); in imx283_start_streaming()
1110 cci_write(imx283->cci, IMX283_REG_HTRIMMING_START, mode->crop.left, &ret); in imx283_start_streaming()
1111 cci_write(imx283->cci, IMX283_REG_HTRIMMING_END, in imx283_start_streaming()
1115 cci_write(imx283->cci, IMX283_REG_EBD_X_OUT_SIZE, 0, &ret); in imx283_start_streaming()
1162 ret = cci_write(imx283->cci, IMX283_REG_STANDBY, IMX283_STBLOGIC, NULL); in imx283_disable_streams()
1247 ret = cci_read(imx283->cci, IMX283_REG_CHIP_ID, &val, NULL); in imx283_identify_module()
1470 imx283->cci = devm_cci_regmap_init_i2c(client, 16); in imx283_probe()
1471 if (IS_ERR(imx283->cci)) { in imx283_probe()
1472 ret = PTR_ERR(imx283->cci); in imx283_probe()
1473 dev_err(imx283->dev, "failed to initialize CCI: %d\n", ret); in imx283_probe()