Lines Matching refs:subdev

54 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);  in adp1653_update_hw()
93 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_get_fault()
122 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_strobe()
266 flash->subdev.ctrl_handler = &flash->ctrls; in adp1653_init_controls()
277 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_init_device()
315 ret = flash->platform_data->power(&flash->subdev, on); in __adp1653_set_power()
333 flash->platform_data->power(&flash->subdev, 0); in __adp1653_set_power()
341 adp1653_set_power(struct v4l2_subdev *subdev, int on) in adp1653_set_power() argument
343 struct adp1653_flash *flash = to_adp1653_flash(subdev); in adp1653_set_power()
397 struct v4l2_subdev *subdev = i2c_get_clientdata(client); in adp1653_suspend() local
398 struct adp1653_flash *flash = to_adp1653_flash(subdev); in adp1653_suspend()
409 struct v4l2_subdev *subdev = i2c_get_clientdata(client); in adp1653_resume() local
410 struct adp1653_flash *flash = to_adp1653_flash(subdev); in adp1653_resume()
507 v4l2_i2c_subdev_init(&flash->subdev, client, &adp1653_ops); in adp1653_probe()
508 flash->subdev.internal_ops = &adp1653_internal_ops; in adp1653_probe()
509 flash->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in adp1653_probe()
515 ret = media_entity_init(&flash->subdev.entity, 0, NULL, 0); in adp1653_probe()
519 flash->subdev.entity.type = MEDIA_ENT_T_V4L2_SUBDEV_FLASH; in adp1653_probe()
531 struct v4l2_subdev *subdev = i2c_get_clientdata(client); in adp1653_remove() local
532 struct adp1653_flash *flash = to_adp1653_flash(subdev); in adp1653_remove()
534 v4l2_device_unregister_subdev(&flash->subdev); in adp1653_remove()
536 media_entity_cleanup(&flash->subdev.entity); in adp1653_remove()