Searched refs:subdev_led (Results 1 – 1 of 1) sorted by relevance
107 struct v4l2_subdev subdev_led[LM3560_LED_MAX]; member405 flash->subdev_led[led_no].ctrl_handler = hdl; in lm3560_init_controls()427 v4l2_i2c_subdev_init(&flash->subdev_led[led_no], client, &lm3560_ops); in lm3560_subdev_init()428 flash->subdev_led[led_no].flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in lm3560_subdev_init()429 snprintf(flash->subdev_led[led_no].name, in lm3560_subdev_init()430 sizeof(flash->subdev_led[led_no].name), in lm3560_subdev_init()432 flash->subdev_led[led_no].fwnode = fwnode_handle_get(fwnode); in lm3560_subdev_init()436 rval = media_entity_pads_init(&flash->subdev_led[led_no].entity, 0, NULL); in lm3560_subdev_init()439 flash->subdev_led[led_no].entity.function = MEDIA_ENT_F_FLASH; in lm3560_subdev_init()440 flash->subdev_led[led_no].state_lock = &flash->lock; in lm3560_subdev_init()[all …]