Lines Matching refs:fled_cdev
69 struct led_classdev_flash fled_cdev; member
84 struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() argument
86 return container_of(fled_cdev, struct aat1290_led, fled_cdev); in fled_cdev_to_led()
128 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_set_flash_safety_timer() local
129 struct led_flash_setting *flash_tm = &fled_cdev->timeout; in aat1290_set_flash_safety_timer()
142 struct led_classdev_flash *fled_cdev = led_cdev_to_fled_cdev(led_cdev); in aat1290_led_brightness_set() local
143 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_led_brightness_set()
170 static int aat1290_led_flash_strobe_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_strobe_set() argument
174 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_led_flash_strobe_set()
175 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in aat1290_led_flash_strobe_set()
176 struct led_flash_setting *timeout = &fled_cdev->timeout; in aat1290_led_flash_strobe_set()
202 static int aat1290_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_timeout_set() argument
357 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_init_flash_timeout() local
361 setting = &fled_cdev->timeout; in aat1290_init_flash_timeout()
373 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness() local
374 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_intensity_to_brightness()
387 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_brightness_to_intensity() local
388 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_brightness_to_intensity()
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() local
398 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in aat1290_led_external_strobe_set()
421 struct led_classdev *led_cdev = &led->fled_cdev.led_cdev; in aat1290_init_v4l2_flash_config()
461 struct led_classdev_flash *fled_cdev; in aat1290_led_probe() local
474 fled_cdev = &led->fled_cdev; in aat1290_led_probe()
475 fled_cdev->ops = &flash_ops; in aat1290_led_probe()
476 led_cdev = &fled_cdev->led_cdev; in aat1290_led_probe()
495 ret = led_classdev_flash_register_ext(&pdev->dev, fled_cdev, in aat1290_led_probe()
504 fled_cdev, &v4l2_flash_ops, in aat1290_led_probe()
514 led_classdev_flash_unregister(fled_cdev); in aat1290_led_probe()
526 led_classdev_flash_unregister(&led->fled_cdev); in aat1290_led_remove()