Lines Matching refs:v4l2_flash
71 struct v4l2_flash *v4l2_flash; member
370 struct v4l2_flash *v4l2_flash, in aat1290_intensity_to_brightness() argument
373 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness()
384 static s32 aat1290_brightness_to_intensity(struct v4l2_flash *v4l2_flash, in aat1290_brightness_to_intensity() argument
387 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_brightness_to_intensity()
393 static int aat1290_led_external_strobe_set(struct v4l2_flash *v4l2_flash, in aat1290_led_external_strobe_set() argument
396 struct aat1290_led *led = fled_cdev_to_led(v4l2_flash->fled_cdev); in aat1290_led_external_strobe_set()
397 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_led_external_strobe_set()
503 led->v4l2_flash = v4l2_flash_init(dev, of_fwnode_handle(sub_node), in aat1290_led_probe()
506 if (IS_ERR(led->v4l2_flash)) { in aat1290_led_probe()
507 ret = PTR_ERR(led->v4l2_flash); in aat1290_led_probe()
525 v4l2_flash_release(led->v4l2_flash); in aat1290_led_remove()