Searched refs:dev_vcm (Results 1 – 3 of 3) sorted by relevance
/drivers/media/i2c/ |
D | ak7375.c | 75 struct ak7375_device *dev_vcm = to_ak7375_vcm(ctrl); in ak7375_set_ctrl() local 78 return ak7375_i2c_write(dev_vcm, AK7375_REG_POSITION, in ak7375_set_ctrl() 122 static int ak7375_init_controls(struct ak7375_device *dev_vcm) in ak7375_init_controls() argument 124 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in ak7375_init_controls() 129 dev_vcm->focus = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FOCUS_ABSOLUTE, in ak7375_init_controls() 133 dev_err(dev_vcm->sd.dev, "%s fail error: 0x%x\n", in ak7375_init_controls() 135 dev_vcm->sd.ctrl_handler = hdl; in ak7375_init_controls()
|
D | dw9807-vcm.c | 114 struct dw9807_device *dev_vcm = container_of(ctrl->handler, in dw9807_set_ctrl() local 118 struct i2c_client *client = v4l2_get_subdevdata(&dev_vcm->sd); in dw9807_set_ctrl() 120 dev_vcm->current_val = ctrl->val; in dw9807_set_ctrl() 165 static int dw9807_init_controls(struct dw9807_device *dev_vcm) in dw9807_init_controls() argument 167 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in dw9807_init_controls() 169 struct i2c_client *client = v4l2_get_subdevdata(&dev_vcm->sd); in dw9807_init_controls() 176 dev_vcm->sd.ctrl_handler = hdl; in dw9807_init_controls()
|
D | dw9714.c | 74 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_set_ctrl() local 77 return dw9714_t_focus_vcm(dev_vcm, ctrl->val); in dw9714_set_ctrl() 120 static int dw9714_init_controls(struct dw9714_device *dev_vcm) in dw9714_init_controls() argument 122 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in dw9714_init_controls() 131 dev_err(dev_vcm->sd.dev, "%s fail error: 0x%x\n", in dw9714_init_controls() 133 dev_vcm->sd.ctrl_handler = hdl; in dw9714_init_controls()
|