Lines Matching full:fled
132 struct led_classdev_flash fled; member
151 #define fled_to_as3645a(__fled) container_of(__fled, struct as3645a, fled)
251 static int as3645a_get_fault(struct led_classdev_flash *fled, u32 *fault) in as3645a_get_fault() argument
253 struct as3645a *flash = fled_to_as3645a(fled); in as3645a_get_fault()
329 struct led_classdev_flash *fled = lcdev_to_flcdev(fled_cdev); in as3645a_set_assist_brightness() local
330 struct as3645a *flash = fled_to_as3645a(fled); in as3645a_set_assist_brightness()
345 static int as3645a_set_flash_brightness(struct led_classdev_flash *fled, in as3645a_set_flash_brightness() argument
348 struct as3645a *flash = fled_to_as3645a(fled); in as3645a_set_flash_brightness()
356 static int as3645a_set_flash_timeout(struct led_classdev_flash *fled, in as3645a_set_flash_timeout() argument
359 struct as3645a *flash = fled_to_as3645a(fled); in as3645a_set_flash_timeout()
366 static int as3645a_set_strobe(struct led_classdev_flash *fled, bool state) in as3645a_set_strobe() argument
368 struct as3645a *flash = fled_to_as3645a(fled); in as3645a_set_strobe()
406 rval = as3645a_get_fault(&flash->fled, &fault); in as3645a_setup()
571 struct led_classdev *fled_cdev = &flash->fled.led_cdev; in as3645a_led_class_setup()
591 cfg = &flash->fled.brightness; in as3645a_led_class_setup()
597 cfg = &flash->fled.timeout; in as3645a_led_class_setup()
603 flash->fled.ops = &as3645a_led_flash_ops; in as3645a_led_class_setup()
617 &flash->fled, &init_data); in as3645a_led_class_setup()
633 struct led_classdev_flash *fled = &flash->fled; in as3645a_v4l2_setup() local
634 struct led_classdev *led = &fled->led_cdev; in as3645a_v4l2_setup()
657 &flash->client->dev, flash->flash_node, &flash->fled, NULL, in as3645a_v4l2_setup()
713 led_classdev_flash_unregister(&flash->fled); in as3645a_probe()
734 led_classdev_flash_unregister(&flash->fled); in as3645a_remove()