Searched refs:dw9714_dev (Results 1 – 1 of 1) sorted by relevance
66 static int dw9714_t_focus_vcm(struct dw9714_device *dw9714_dev, u16 val) in dw9714_t_focus_vcm() argument68 struct i2c_client *client = v4l2_get_subdevdata(&dw9714_dev->sd); in dw9714_t_focus_vcm()70 dw9714_dev->current_val = val; in dw9714_t_focus_vcm()116 static void dw9714_subdev_cleanup(struct dw9714_device *dw9714_dev) in dw9714_subdev_cleanup() argument118 v4l2_async_unregister_subdev(&dw9714_dev->sd); in dw9714_subdev_cleanup()119 v4l2_ctrl_handler_free(&dw9714_dev->ctrls_vcm); in dw9714_subdev_cleanup()120 media_entity_cleanup(&dw9714_dev->sd.entity); in dw9714_subdev_cleanup()142 struct dw9714_device *dw9714_dev; in dw9714_probe() local145 dw9714_dev = devm_kzalloc(&client->dev, sizeof(*dw9714_dev), in dw9714_probe()147 if (dw9714_dev == NULL) in dw9714_probe()[all …]