Searched refs:cam_i2c_write (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | sr030pc30.c | 310 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) in cam_i2c_write() function 326 int ret = cam_i2c_write(sd, msg->addr, msg->val); in sr030pc30_bulk_write_reg() 343 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); in sr030pc30_pwr_ctrl() 345 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); in sr030pc30_pwr_ctrl() 368 return cam_i2c_write(sd, VDO_CTL2_REG, reg | 0x80); in sr030pc30_set_flip() 381 ret = cam_i2c_write(sd, VDO_CTL1_REG, in sr030pc30_set_params() 385 ret = cam_i2c_write(sd, ISP_CTL_REG(0), in sr030pc30_set_params() 430 ret = cam_i2c_write(sd, AWB_CTL2_REG, in sr030pc30_s_ctrl() 433 ret = cam_i2c_write(sd, AWB_CTL1_REG, in sr030pc30_s_ctrl() 437 ret = cam_i2c_write(sd, MWB_BGAIN_REG, info->blue->val); in sr030pc30_s_ctrl() [all …]
|
D | noon010pc30.c | 266 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) in cam_i2c_write() function 281 int ret = cam_i2c_write(sd, msg->addr, msg->val); in noon010_bulk_write_reg() 298 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); in noon010_power_ctrl() 302 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); in noon010_power_ctrl() 314 ret = cam_i2c_write(sd, AWB_CTL_REG(1), on ? 0x2E : 0x2F); in noon010_enable_autowhitebalance() 316 ret = cam_i2c_write(sd, AWB_CTL_REG(0), on ? 0xFB : 0x7B); in noon010_enable_autowhitebalance() 336 ret = cam_i2c_write(sd, VDO_CTL_REG(1), reg | 0x80); in noon010_set_flip() 349 int ret = cam_i2c_write(sd, VDO_CTL_REG(0), in noon010_set_params() 353 return cam_i2c_write(sd, ISP_CTL_REG(0), in noon010_set_params() 477 ret = cam_i2c_write(sd, MWB_BGAIN_REG, ctrl->val); in noon010_s_ctrl() [all …]
|