Home
last modified time | relevance | path

Searched refs:fled (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/leds/flash/
Dleds-rt8515.c48 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
[all …]
Dleds-as3645a.c132 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()
[all …]
/linux-5.19.10/drivers/staging/greybus/
Dlight.c33 struct led_classdev_flash fled; member
92 return container_of(fled_cdev, struct gb_channel, fled); in get_channel_from_cdev()
97 return &channel->fled.led_cdev; in get_channel_cdev()
535 struct led_classdev_flash *fled; in gb_lights_light_v4l2_register() local
548 iled = &channel_ind->fled.led_cdev; in gb_lights_light_v4l2_register()
554 fled = &channel_flash->fled; in gb_lights_light_v4l2_register()
567 light->v4l2_flash = v4l2_flash_init(dev, NULL, fled, &v4l2_flash_ops, in gb_lights_light_v4l2_register()
609 fled); in gb_lights_flash_intensity_set()
633 fled); in gb_lights_flash_strobe_set()
664 fled); in gb_lights_flash_strobe_get()
[all …]