Lines Matching refs:ccs_write

379 	rval = ccs_write(sensor, VT_PIX_CLK_DIV, pll->vt_bk.pix_clk_div);  in ccs_pll_configure()
383 rval = ccs_write(sensor, VT_SYS_CLK_DIV, pll->vt_bk.sys_clk_div); in ccs_pll_configure()
387 rval = ccs_write(sensor, PRE_PLL_CLK_DIV, pll->vt_fr.pre_pll_clk_div); in ccs_pll_configure()
391 rval = ccs_write(sensor, PLL_MULTIPLIER, pll->vt_fr.pll_multiplier); in ccs_pll_configure()
398 rval = ccs_write(sensor, REQUESTED_LINK_RATE, in ccs_pll_configure()
412 rval = ccs_write(sensor, OP_PIX_CLK_DIV, pll->op_bk.pix_clk_div); in ccs_pll_configure()
416 rval = ccs_write(sensor, OP_SYS_CLK_DIV, pll->op_bk.sys_clk_div); in ccs_pll_configure()
423 rval = ccs_write(sensor, PLL_MODE, CCS_PLL_MODE_DUAL); in ccs_pll_configure()
427 rval = ccs_write(sensor, OP_PRE_PLL_CLK_DIV, in ccs_pll_configure()
432 return ccs_write(sensor, OP_PLL_MULTIPLIER, pll->op_fr.pll_multiplier); in ccs_pll_configure()
683 rval = ccs_write(sensor, ANALOG_GAIN_CODE_GLOBAL, ctrl->val); in ccs_set_ctrl()
688 rval = ccs_write(sensor, ANALOG_LINEAR_GAIN_GLOBAL, ctrl->val); in ccs_set_ctrl()
693 rval = ccs_write(sensor, ANALOG_EXPONENTIAL_GAIN_GLOBAL, in ccs_set_ctrl()
701 rval = ccs_write(sensor, DIGITAL_GAIN_GLOBAL, in ccs_set_ctrl()
730 rval = ccs_write(sensor, COARSE_INTEGRATION_TIME, ctrl->val); in ccs_set_ctrl()
735 rval = ccs_write(sensor, IMAGE_ORIENTATION, orient); in ccs_set_ctrl()
739 rval = ccs_write(sensor, FRAME_LENGTH_LINES, in ccs_set_ctrl()
744 rval = ccs_write(sensor, LINE_LENGTH_PCK, in ccs_set_ctrl()
749 rval = ccs_write(sensor, TEST_PATTERN_MODE, ctrl->val); in ccs_set_ctrl()
753 rval = ccs_write(sensor, TEST_DATA_RED, ctrl->val); in ccs_set_ctrl()
757 rval = ccs_write(sensor, TEST_DATA_GREENR, ctrl->val); in ccs_set_ctrl()
761 rval = ccs_write(sensor, TEST_DATA_BLUE, ctrl->val); in ccs_set_ctrl()
765 rval = ccs_write(sensor, TEST_DATA_GREENB, ctrl->val); in ccs_set_ctrl()
769 rval = ccs_write(sensor, SHADING_CORRECTION_EN, in ccs_set_ctrl()
778 rval = ccs_write(sensor, LUMINANCE_CORRECTION_LEVEL, ctrl->val); in ccs_set_ctrl()
1274 rval = ccs_write(sensor, DATA_TRANSFER_IF_1_PAGE_SELECT, p); in ccs_read_nvm_page()
1278 rval = ccs_write(sensor, DATA_TRANSFER_IF_1_CTRL, in ccs_read_nvm_page()
1337 rval2 = ccs_write(sensor, DATA_TRANSFER_IF_1_CTRL, 0); in ccs_read_nvm()
1357 rval = ccs_write(sensor, CCI_ADDRESS_CTRL, in ccs_change_cci_addr()
1471 rval = ccs_write(sensor, FLASH_MODE_RS, strobe_setup->mode); in ccs_setup_flash_strobe()
1475 rval = ccs_write(sensor, FLASH_STROBE_ADJUSTMENT, strobe_adjustment); in ccs_setup_flash_strobe()
1479 rval = ccs_write(sensor, TFLASH_STROBE_WIDTH_HIGH_RS_CTRL, in ccs_setup_flash_strobe()
1484 rval = ccs_write(sensor, TFLASH_STROBE_DELAY_RS_CTRL, in ccs_setup_flash_strobe()
1489 rval = ccs_write(sensor, FLASH_STROBE_START_POINT, in ccs_setup_flash_strobe()
1494 rval = ccs_write(sensor, FLASH_TRIGGER_RS, strobe_setup->trigger); in ccs_setup_flash_strobe()
1540 return ccs_write(sensor, PHY_CTRL, val); in ccs_update_phy_ctrl()
1598 rval = ccs_write(sensor, SOFTWARE_RESET, CCS_SOFTWARE_RESET_ON); in ccs_power_on()
1628 rval = ccs_write(sensor, COMPRESSION_MODE, in ccs_power_on()
1635 rval = ccs_write(sensor, EXTCLK_FREQUENCY_MHZ, in ccs_power_on()
1642 rval = ccs_write(sensor, CSI_LANE_MODE, sensor->hwcfg.lanes - 1); in ccs_power_on()
1648 rval = ccs_write(sensor, FAST_STANDBY_CTRL, in ccs_power_on()
1655 rval = ccs_write(sensor, CSI_SIGNALING_MODE, in ccs_power_on()
1705 ccs_write(sensor, SOFTWARE_RESET, CCS_SOFTWARE_RESET_ON); in ccs_power_off()
1730 rval = ccs_write(sensor, CSI_DATA_FORMAT, in ccs_start_streaming()
1745 rval = ccs_write(sensor, BINNING_TYPE, binning_type); in ccs_start_streaming()
1751 rval = ccs_write(sensor, BINNING_MODE, binning_mode); in ccs_start_streaming()
1761 rval = ccs_write(sensor, X_ADDR_START, sensor->pa_src.left); in ccs_start_streaming()
1765 rval = ccs_write(sensor, Y_ADDR_START, sensor->pa_src.top); in ccs_start_streaming()
1770 rval = ccs_write(sensor, X_ADDR_END, in ccs_start_streaming()
1775 rval = ccs_write(sensor, Y_ADDR_END, in ccs_start_streaming()
1788 rval = ccs_write(sensor, DIGITAL_CROP_X_OFFSET, in ccs_start_streaming()
1793 rval = ccs_write(sensor, DIGITAL_CROP_Y_OFFSET, in ccs_start_streaming()
1798 rval = ccs_write(sensor, DIGITAL_CROP_IMAGE_WIDTH, in ccs_start_streaming()
1803 rval = ccs_write(sensor, DIGITAL_CROP_IMAGE_HEIGHT, in ccs_start_streaming()
1812 rval = ccs_write(sensor, SCALING_MODE, sensor->scaling_mode); in ccs_start_streaming()
1816 rval = ccs_write(sensor, SCALE_M, sensor->scale_m); in ccs_start_streaming()
1822 rval = ccs_write(sensor, X_OUTPUT_SIZE, sensor->src_src.width); in ccs_start_streaming()
1825 rval = ccs_write(sensor, Y_OUTPUT_SIZE, sensor->src_src.height); in ccs_start_streaming()
1845 rval = ccs_write(sensor, MODE_SELECT, CCS_MODE_SELECT_STREAMING); in ccs_start_streaming()
1859 rval = ccs_write(sensor, MODE_SELECT, CCS_MODE_SELECT_SOFTWARE_STANDBY); in ccs_stop_streaming()
1971 rval = ccs_write(sensor, MANUAL_LP_CTRL, in ccs_pre_streamon()