Lines Matching refs:fled
48 struct led_classdev_flash fled; member
61 static struct rt8515 *to_rt8515(struct led_classdev_flash *fled) in to_rt8515() argument
63 return container_of(fled, struct rt8515, fled); in to_rt8515()
93 struct led_classdev_flash *fled = lcdev_to_flcdev(led); in rt8515_led_brightness_set() local
94 struct rt8515 *rt = to_rt8515(fled); in rt8515_led_brightness_set()
114 static int rt8515_led_flash_strobe_set(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_set() argument
117 struct rt8515 *rt = to_rt8515(fled); in rt8515_led_flash_strobe_set()
118 struct led_flash_setting *timeout = &fled->timeout; in rt8515_led_flash_strobe_set()
135 fled->led_cdev.brightness = LED_OFF; in rt8515_led_flash_strobe_set()
143 static int rt8515_led_flash_strobe_get(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_get() argument
146 struct rt8515 *rt = to_rt8515(fled); in rt8515_led_flash_strobe_get()
153 static int rt8515_led_flash_timeout_set(struct led_classdev_flash *fled, in rt8515_led_flash_timeout_set() argument
176 struct led_classdev_flash *fled = &rt->fled; in rt8515_init_flash_timeout() local
180 s = &fled->timeout; in rt8515_init_flash_timeout()
196 struct led_classdev *led = &rt->fled.led_cdev; in rt8515_init_v4l2_flash_config()
282 struct led_classdev_flash *fled; in rt8515_probe() local
292 fled = &rt->fled; in rt8515_probe()
293 led = &fled->led_cdev; in rt8515_probe()
334 fled->ops = &rt8515_flash_ops; in rt8515_probe()
344 ret = devm_led_classdev_flash_register_ext(dev, fled, &init_data); in rt8515_probe()
355 rt->v4l2_flash = v4l2_flash_init(dev, child, fled, NULL, &v4l2_sd_cfg); in rt8515_probe()