Searched refs:dw9714_dev (Results 1 – 1 of 1) sorted by relevance
63 static int dw9714_t_focus_vcm(struct dw9714_device *dw9714_dev, u16 val) in dw9714_t_focus_vcm() argument65 struct i2c_client *client = v4l2_get_subdevdata(&dw9714_dev->sd); in dw9714_t_focus_vcm()67 dw9714_dev->current_val = val; in dw9714_t_focus_vcm()113 static void dw9714_subdev_cleanup(struct dw9714_device *dw9714_dev) in dw9714_subdev_cleanup() argument115 v4l2_async_unregister_subdev(&dw9714_dev->sd); in dw9714_subdev_cleanup()116 v4l2_ctrl_handler_free(&dw9714_dev->ctrls_vcm); in dw9714_subdev_cleanup()117 media_entity_cleanup(&dw9714_dev->sd.entity); in dw9714_subdev_cleanup()139 struct dw9714_device *dw9714_dev; in dw9714_probe() local142 dw9714_dev = devm_kzalloc(&client->dev, sizeof(*dw9714_dev), in dw9714_probe()144 if (dw9714_dev == NULL) in dw9714_probe()[all …]