Lines Matching refs:led_cdev
29 struct led_classdev *led_cdev; member
36 struct led_classdev *led_cdev = transient_data->led_cdev; in transient_timer_function() local
39 led_set_brightness_nosleep(led_cdev, transient_data->restore_state); in transient_timer_function()
54 struct led_classdev *led_cdev = led_trigger_get_led(dev); in transient_activate_store() local
71 led_set_brightness_nosleep(led_cdev, in transient_activate_store()
80 led_set_brightness_nosleep(led_cdev, transient_data->state); in transient_activate_store()
163 static int transient_trig_activate(struct led_classdev *led_cdev) in transient_trig_activate() argument
171 led_set_trigger_data(led_cdev, tdata); in transient_trig_activate()
172 tdata->led_cdev = led_cdev; in transient_trig_activate()
179 static void transient_trig_deactivate(struct led_classdev *led_cdev) in transient_trig_deactivate() argument
181 struct transient_trig_data *transient_data = led_get_trigger_data(led_cdev); in transient_trig_deactivate()
184 led_set_brightness_nosleep(led_cdev, transient_data->restore_state); in transient_trig_deactivate()