Lines Matching refs:led_cdev
22 static void led_trigger_set_panic(struct led_classdev *led_cdev) in led_trigger_set_panic() argument
24 if (led_cdev->trigger) in led_trigger_set_panic()
25 list_del(&led_cdev->trig_list); in led_trigger_set_panic()
26 list_add_tail(&led_cdev->trig_list, &trigger->led_cdevs); in led_trigger_set_panic()
29 led_cdev->blink_delay_on = 0; in led_trigger_set_panic()
30 led_cdev->blink_delay_off = 0; in led_trigger_set_panic()
32 led_cdev->trigger = trigger; in led_trigger_set_panic()
38 struct led_classdev *led_cdev; in led_trigger_panic_notifier() local
40 list_for_each_entry(led_cdev, &leds_list, node) in led_trigger_panic_notifier()
41 if (led_cdev->flags & LED_PANIC_INDICATOR) in led_trigger_panic_notifier()
42 led_trigger_set_panic(led_cdev); in led_trigger_panic_notifier()