Searched refs:cam_i2c_write (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/media/video/ |
D | sr030pc30.c | 352 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) in cam_i2c_write() function 368 int ret = cam_i2c_write(sd, msg->addr, msg->val); in sr030pc30_bulk_write_reg() 385 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); in sr030pc30_pwr_ctrl() 387 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); in sr030pc30_pwr_ctrl() 401 int ret = cam_i2c_write(sd, AE_CTL1_REG, on ? 0xDC : 0x0C); in sr030pc30_enable_autoexposure() 413 int ret = cam_i2c_write(sd, EXP_TIMEH_REG, expos >> 16 & 0xFF); in sr030pc30_set_exposure() 415 ret = cam_i2c_write(sd, EXP_TIMEM_REG, expos >> 8 & 0xFF); in sr030pc30_set_exposure() 417 ret = cam_i2c_write(sd, EXP_TIMEL_REG, expos & 0xFF); in sr030pc30_set_exposure() 430 int ret = cam_i2c_write(sd, AWB_CTL2_REG, on ? 0x2E : 0x2F); in sr030pc30_enable_autowhitebalance() 432 ret = cam_i2c_write(sd, AWB_CTL1_REG, on ? 0xFB : 0x7B); in sr030pc30_enable_autowhitebalance() [all …]
|
D | noon010pc30.c | 271 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) in cam_i2c_write() function 286 int ret = cam_i2c_write(sd, msg->addr, msg->val); in noon010_bulk_write_reg() 303 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); in noon010_power_ctrl() 307 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); in noon010_power_ctrl() 319 ret = cam_i2c_write(sd, AWB_CTL_REG(1), on ? 0x2E : 0x2F); in noon010_enable_autowhitebalance() 321 ret = cam_i2c_write(sd, AWB_CTL_REG(0), on ? 0xFB : 0x7B); in noon010_enable_autowhitebalance() 341 ret = cam_i2c_write(sd, VDO_CTL_REG(1), reg | 0x80); in noon010_set_flip() 354 int ret = cam_i2c_write(sd, VDO_CTL_REG(0), in noon010_set_params() 358 return cam_i2c_write(sd, ISP_CTL_REG(0), in noon010_set_params() 482 ret = cam_i2c_write(sd, MWB_BGAIN_REG, ctrl->val); in noon010_s_ctrl() [all …]
|