Searched refs:dev_vcm (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/media/i2c/ |
H A D | ak7375.c | 119 struct ak7375_device *dev_vcm = to_ak7375_vcm(ctrl); in ak7375_set_ctrl() local 120 const struct ak73xx_chipdef *cdef = dev_vcm->cdef; in ak7375_set_ctrl() 123 return ak7375_i2c_write(dev_vcm, cdef->reg_position, in ak7375_set_ctrl() 159 static int ak7375_init_controls(struct ak7375_device *dev_vcm) in ak7375_init_controls() argument 161 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in ak7375_init_controls() 163 const struct ak73xx_chipdef *cdef = dev_vcm->cdef; in ak7375_init_controls() 167 dev_vcm->focus = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FOCUS_ABSOLUTE, in ak7375_init_controls() 171 dev_err(dev_vcm->sd.dev, "%s fail error: 0x%x\n", in ak7375_init_controls() 173 dev_vcm->sd.ctrl_handler = hdl; in ak7375_init_controls()
|
H A 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() 157 static int dw9807_init_controls(struct dw9807_device *dev_vcm) in dw9807_init_controls() argument 159 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in dw9807_init_controls() 161 struct i2c_client *client = v4l2_get_subdevdata(&dev_vcm->sd); in dw9807_init_controls() 168 dev_vcm->sd.ctrl_handler = hdl; in dw9807_init_controls()
|
H A D | dw9714.c | 77 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_set_ctrl() local 80 return dw9714_t_focus_vcm(dev_vcm, ctrl->val); in dw9714_set_ctrl() 123 static int dw9714_init_controls(struct dw9714_device *dev_vcm) in dw9714_init_controls() argument 125 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in dw9714_init_controls() 134 dev_err(dev_vcm->sd.dev, "%s fail error: 0x%x\n", in dw9714_init_controls() 136 dev_vcm->sd.ctrl_handler = hdl; in dw9714_init_controls()
|