Searched refs:subdev_led (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Dlm3646.c66 * @subdev_led: V4L2 subdev
75 struct v4l2_subdev subdev_led; member in struct:lm3646_flash
259 flash->subdev_led.ctrl_handler = hdl; lm3646_init_controls()
279 v4l2_i2c_subdev_init(&flash->subdev_led, client, &lm3646_ops); lm3646_subdev_init()
280 flash->subdev_led.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; lm3646_subdev_init()
281 strcpy(flash->subdev_led.name, LM3646_NAME); lm3646_subdev_init()
285 rval = media_entity_init(&flash->subdev_led.entity, 0, NULL, 0); lm3646_subdev_init()
288 flash->subdev_led.entity.type = MEDIA_ENT_T_V4L2_SUBDEV_FLASH; lm3646_subdev_init()
386 v4l2_device_unregister_subdev(&flash->subdev_led); lm3646_remove()
388 media_entity_cleanup(&flash->subdev_led.entity); lm3646_remove()
H A Dlm3560.c58 * @subdev_led: V4L2 subdev
68 struct v4l2_subdev subdev_led[LM3560_LED_MAX]; member in struct:lm3560_flash
341 flash->subdev_led[led_no].ctrl_handler = hdl; lm3560_init_controls()
362 v4l2_i2c_subdev_init(&flash->subdev_led[led_no], client, &lm3560_ops); lm3560_subdev_init()
363 flash->subdev_led[led_no].flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; lm3560_subdev_init()
364 strcpy(flash->subdev_led[led_no].name, led_name); lm3560_subdev_init()
368 rval = media_entity_init(&flash->subdev_led[led_no].entity, 0, NULL, 0); lm3560_subdev_init()
371 flash->subdev_led[led_no].entity.type = MEDIA_ENT_T_V4L2_SUBDEV_FLASH; lm3560_subdev_init()
458 v4l2_device_unregister_subdev(&flash->subdev_led[i]); lm3560_remove()
460 media_entity_cleanup(&flash->subdev_led[i].entity); lm3560_remove()

Completed in 87 milliseconds