Searched refs:dev_vcm (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/media/i2c/ |
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()
|
D | ak7375.c | 88 struct ak7375_device *dev_vcm = to_ak7375_vcm(ctrl); in ak7375_set_ctrl() local 91 return ak7375_i2c_write(dev_vcm, AK7375_REG_POSITION, in ak7375_set_ctrl() 127 static int ak7375_init_controls(struct ak7375_device *dev_vcm) in ak7375_init_controls() argument 129 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in ak7375_init_controls() 134 dev_vcm->focus = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FOCUS_ABSOLUTE, in ak7375_init_controls() 138 dev_err(dev_vcm->sd.dev, "%s fail error: 0x%x\n", in ak7375_init_controls() 140 dev_vcm->sd.ctrl_handler = hdl; in ak7375_init_controls()
|
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()
|