Searched refs:mt9m111_reg_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/i2c/ |
H A D | mt9m111.c | 139 #define reg_write(reg, val) mt9m111_reg_write(client, MT9M111_##reg, (val)) 330 static int mt9m111_reg_write(struct i2c_client *client, const u16 reg, in mt9m111_reg_write() function 349 ret = mt9m111_reg_write(client, reg, ret | data); in mt9m111_reg_set() 360 ret = mt9m111_reg_write(client, reg, ret & ~data); in mt9m111_reg_clear() 371 ret = mt9m111_reg_write(client, reg, (ret & ~mask) | data); in mt9m111_reg_mask() 387 int ret = mt9m111_reg_write(client, ctx->reducer_xzoom, rect->width); in mt9m111_setup_rect_ctx() 389 ret = mt9m111_reg_write(client, ctx->reducer_yzoom, rect->height); in mt9m111_setup_rect_ctx() 391 ret = mt9m111_reg_write(client, ctx->reducer_xsize, width); in mt9m111_setup_rect_ctx() 393 ret = mt9m111_reg_write(client, ctx->reducer_ysize, height); in mt9m111_setup_rect_ctx() 779 if (mt9m111_reg_write(client, reg->reg, reg->val) < 0) in mt9m111_s_register()
|