Home
last modified time | relevance | path

Searched defs:led_cdev (Results 1 – 25 of 137) sorted by relevance

123456

/drivers/leds/
Dled-core.c42 static int __led_set_brightness(struct led_classdev *led_cdev, unsigned int value) in __led_set_brightness()
52 static int __led_set_brightness_blocking(struct led_classdev *led_cdev, unsigned int value) in __led_set_brightness_blocking()
62 struct led_classdev *led_cdev = from_timer(led_cdev, t, blink_timer); in led_timer_function() local
119 struct led_classdev *led_cdev = in set_brightness_delayed() local
140 static void led_set_software_blink(struct led_classdev *led_cdev, in led_set_software_blink()
173 static void led_blink_setup(struct led_classdev *led_cdev, in led_blink_setup()
189 void led_init_core(struct led_classdev *led_cdev) in led_init_core()
197 void led_blink_set(struct led_classdev *led_cdev, in led_blink_set()
211 void led_blink_set_oneshot(struct led_classdev *led_cdev, in led_blink_set_oneshot()
232 void led_stop_software_blink(struct led_classdev *led_cdev) in led_stop_software_blink()
[all …]
Dled-class.c30 struct led_classdev *led_cdev = dev_get_drvdata(dev); in brightness_show() local
41 struct led_classdev *led_cdev = dev_get_drvdata(dev); in brightness_store() local
71 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_brightness_show() local
110 struct led_classdev *led_cdev = dev_get_drvdata(dev); in brightness_hw_changed_show() local
120 static int led_add_brightness_hw_changed(struct led_classdev *led_cdev) in led_add_brightness_hw_changed()
142 static void led_remove_brightness_hw_changed(struct led_classdev *led_cdev) in led_remove_brightness_hw_changed()
148 void led_classdev_notify_brightness_hw_changed(struct led_classdev *led_cdev, unsigned int brightne… in led_classdev_notify_brightness_hw_changed()
158 static int led_add_brightness_hw_changed(struct led_classdev *led_cdev) in led_add_brightness_hw_changed()
162 static void led_remove_brightness_hw_changed(struct led_classdev *led_cdev) in led_remove_brightness_hw_changed()
171 void led_classdev_suspend(struct led_classdev *led_cdev) in led_classdev_suspend()
[all …]
Dled-triggers.c31 trigger_relevant(struct led_classdev *led_cdev, struct led_trigger *trig) in trigger_relevant()
41 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_trigger_write() local
95 struct led_classdev *led_cdev) in led_trigger_format()
130 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_trigger_read() local
158 int led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trig) in led_trigger_set()
238 void led_trigger_remove(struct led_classdev *led_cdev) in led_trigger_remove()
246 void led_trigger_set_default(struct led_classdev *led_cdev) in led_trigger_set_default()
285 struct led_classdev *led_cdev; in led_trigger_register() local
325 struct led_classdev *led_cdev; in led_trigger_unregister() local
380 struct led_classdev *led_cdev; in led_trigger_event() local
[all …]
Dled-class-flash.c40 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_store() local
69 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_show() local
82 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_brightness_show() local
92 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_store() local
123 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_show() local
140 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_store() local
169 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_show() local
179 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_timeout_show() local
189 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_fault_show() local
252 static void led_flash_resume(struct led_classdev *led_cdev) in led_flash_resume()
[all …]
Dleds-sunfire.c25 struct led_classdev led_cdev; member
30 static void __clockboard_set(struct led_classdev *led_cdev, in __clockboard_set()
54 static void clockboard_left_set(struct led_classdev *led_cdev, in clockboard_left_set()
60 static void clockboard_middle_set(struct led_classdev *led_cdev, in clockboard_middle_set()
66 static void clockboard_right_set(struct led_classdev *led_cdev, in clockboard_right_set()
72 static void __fhc_set(struct led_classdev *led_cdev, in __fhc_set()
96 static void fhc_left_set(struct led_classdev *led_cdev, in fhc_left_set()
102 static void fhc_middle_set(struct led_classdev *led_cdev, in fhc_middle_set()
108 static void fhc_right_set(struct led_classdev *led_cdev, in fhc_right_set()
Dleds-fsg.c32 static void fsg_led_wlan_set(struct led_classdev *led_cdev, in fsg_led_wlan_set()
44 static void fsg_led_wan_set(struct led_classdev *led_cdev, in fsg_led_wan_set()
56 static void fsg_led_sata_set(struct led_classdev *led_cdev, in fsg_led_sata_set()
68 static void fsg_led_usb_set(struct led_classdev *led_cdev, in fsg_led_usb_set()
80 static void fsg_led_sync_set(struct led_classdev *led_cdev, in fsg_led_sync_set()
92 static void fsg_led_ring_set(struct led_classdev *led_cdev, in fsg_led_ring_set()
Dled-class-multicolor.c19 struct led_classdev *led_cdev = &mcled_cdev->led_cdev; in led_mc_calc_color_components() local
36 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_intensity_store() local
75 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_intensity_show() local
96 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_index_show() local
125 struct led_classdev *led_cdev; in led_classdev_multicolor_register_ext() local
Dleds-ss4200.c128 struct led_classdev led_cdev; member
150 led_classdev_to_nasgpio_led(struct led_classdev *led_cdev) in led_classdev_to_nasgpio_led()
178 static void __nasgpio_led_set_attr(struct led_classdev *led_cdev, in __nasgpio_led_set_attr()
193 static void nasgpio_led_set_attr(struct led_classdev *led_cdev, in nasgpio_led_set_attr()
201 static u32 nasgpio_led_get_attr(struct led_classdev *led_cdev, u32 port) in nasgpio_led_get_attr()
219 static void nasgpio_led_set_brightness(struct led_classdev *led_cdev, in nasgpio_led_set_brightness()
241 static int nasgpio_led_set_blink(struct led_classdev *led_cdev, in nasgpio_led_set_blink()
Dleds-lm3533.c314 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_id() local
336 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_risefalltime() local
368 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_risefalltime() local
404 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_channel() local
425 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_channel() local
454 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_en() local
475 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_en() local
504 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_linear() local
528 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_linear() local
558 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_pwm() local
[all …]
Dleds-ariel.c29 struct led_classdev led_cdev; member
34 static enum led_brightness ariel_led_get(struct led_classdev *led_cdev) in ariel_led_get()
48 static void ariel_led_set(struct led_classdev *led_cdev, in ariel_led_set()
59 static int ariel_blink_set(struct led_classdev *led_cdev, in ariel_blink_set()
Dleds-wm831x-status.c35 #define to_wm831x_status(led_cdev) \ argument
66 static int wm831x_status_brightness_set(struct led_classdev *led_cdev, in wm831x_status_brightness_set()
82 static int wm831x_status_blink_set(struct led_classdev *led_cdev, in wm831x_status_blink_set()
161 struct led_classdev *led_cdev = dev_get_drvdata(dev); in src_show() local
185 struct led_classdev *led_cdev = dev_get_drvdata(dev); in src_store() local
Dleds-locomo.c17 static void locomoled_brightness_set(struct led_classdev *led_cdev, in locomoled_brightness_set()
31 static void locomoled_brightness_set0(struct led_classdev *led_cdev, in locomoled_brightness_set0()
37 static void locomoled_brightness_set1(struct led_classdev *led_cdev, in locomoled_brightness_set1()
Dleds-wrap.c26 static void wrap_power_led_set(struct led_classdev *led_cdev, in wrap_power_led_set()
35 static void wrap_error_led_set(struct led_classdev *led_cdev, in wrap_error_led_set()
44 static void wrap_extra_led_set(struct led_classdev *led_cdev, in wrap_extra_led_set()
Dleds-gpio.c30 cdev_to_gpio_led_data(struct led_classdev *led_cdev) in cdev_to_gpio_led_data()
35 static void gpio_led_set(struct led_classdev *led_cdev, in gpio_led_set()
58 static int gpio_led_set_blocking(struct led_classdev *led_cdev, in gpio_led_set_blocking()
65 static int gpio_blink_set(struct led_classdev *led_cdev, in gpio_blink_set()
/drivers/leds/trigger/
Dledtrig-oneshot.c28 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_shot() local
49 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_invert_store() local
71 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_show() local
79 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_store() local
95 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_show() local
103 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_store() local
130 static void pattern_init(struct led_classdev *led_cdev) in pattern_init()
158 static int oneshot_trig_activate(struct led_classdev *led_cdev) in oneshot_trig_activate()
180 static void oneshot_trig_deactivate(struct led_classdev *led_cdev) in oneshot_trig_deactivate()
Dledtrig-timer.c21 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_show() local
29 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_store() local
46 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_show() local
54 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_store() local
78 static void pattern_init(struct led_classdev *led_cdev) in pattern_init()
102 static int timer_trig_activate(struct led_classdev *led_cdev) in timer_trig_activate()
124 static void timer_trig_deactivate(struct led_classdev *led_cdev) in timer_trig_deactivate()
Dledtrig-pattern.c25 struct led_classdev *led_cdev; member
120 static int pattern_trig_start_pattern(struct led_classdev *led_cdev) in pattern_trig_start_pattern()
148 struct led_classdev *led_cdev = dev_get_drvdata(dev); in repeat_show() local
164 struct led_classdev *led_cdev = dev_get_drvdata(dev); in repeat_store() local
261 static ssize_t pattern_trig_store_patterns(struct led_classdev *led_cdev, in pattern_trig_store_patterns()
297 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_show() local
306 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_store() local
316 struct led_classdev *led_cdev = dev_get_drvdata(dev); in hw_pattern_show() local
326 struct led_classdev *led_cdev = dev_get_drvdata(dev); in hw_pattern_store() local
337 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_trig_attrs_mode() local
[all …]
Dledtrig-transient.c29 struct led_classdev *led_cdev; member
36 struct led_classdev *led_cdev = transient_data->led_cdev; in transient_timer_function() local
54 struct led_classdev *led_cdev = led_trigger_get_led(dev); in transient_activate_store() local
163 static int transient_trig_activate(struct led_classdev *led_cdev) in transient_trig_activate()
179 static void transient_trig_deactivate(struct led_classdev *led_cdev) in transient_trig_deactivate()
Dledtrig-heartbeat.c26 struct led_classdev *led_cdev; member
37 struct led_classdev *led_cdev; in led_heartbeat_function() local
128 static int heartbeat_trig_activate(struct led_classdev *led_cdev) in heartbeat_trig_activate()
149 static void heartbeat_trig_deactivate(struct led_classdev *led_cdev) in heartbeat_trig_deactivate()
Dledtrig-activity.c25 struct led_classdev *led_cdev; member
37 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function() local
187 static int activity_activate(struct led_classdev *led_cdev) in activity_activate()
207 static void activity_deactivate(struct led_classdev *led_cdev) in activity_deactivate()
/drivers/usb/core/
Dledtrig-usbport.c17 struct led_classdev *led_cdev; member
72 struct led_classdev *led_cdev = usbport_data->led_cdev; in usbport_trig_update_count() local
187 struct led_classdev *led_cdev = usbport_data->led_cdev; in usbport_trig_add_port() local
251 struct led_classdev *led_cdev = usbport_data->led_cdev; in usbport_trig_remove_port() local
280 struct led_classdev *led_cdev = usbport_data->led_cdev; in usbport_trig_notify() local
302 static int usbport_trig_activate(struct led_classdev *led_cdev) in usbport_trig_activate()
331 static void usbport_trig_deactivate(struct led_classdev *led_cdev) in usbport_trig_deactivate()
/drivers/hid/
Dhid-steelseries.c137 static void steelseries_srws1_led_all_set_brightness(struct led_classdev *led_cdev, in steelseries_srws1_led_all_set_brightness()
157 static enum led_brightness steelseries_srws1_led_all_get_brightness(struct led_classdev *led_cdev) in steelseries_srws1_led_all_get_brightness()
173 static void steelseries_srws1_led_set_brightness(struct led_classdev *led_cdev, in steelseries_srws1_led_set_brightness()
202 static enum led_brightness steelseries_srws1_led_get_brightness(struct led_classdev *led_cdev) in steelseries_srws1_led_get_brightness()
Dhid-lg-g15.c94 static enum led_brightness lg_g15_led_get(struct led_classdev *led_cdev) in lg_g15_led_get()
109 static int lg_g15_led_set(struct led_classdev *led_cdev, in lg_g15_led_set()
257 static int lg_g510_kbd_led_set(struct led_classdev *led_cdev, in lg_g510_kbd_led_set()
276 static enum led_brightness lg_g510_kbd_led_get(struct led_classdev *led_cdev) in lg_g510_kbd_led_get()
287 struct led_classdev *led_cdev = dev_get_drvdata(dev); in color_store() local
317 struct led_classdev *led_cdev = dev_get_drvdata(dev); in color_show() local
381 static enum led_brightness lg_g510_mkey_led_get(struct led_classdev *led_cdev) in lg_g510_mkey_led_get()
396 static int lg_g510_mkey_led_set(struct led_classdev *led_cdev, in lg_g510_mkey_led_set()
/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c83 struct led_classdev *led_cdev; in v4l2_flash_set_led_brightness() local
126 struct led_classdev *led_cdev; in v4l2_flash_update_led_brightness() local
217 struct led_classdev *led_cdev; in v4l2_flash_s_ctrl() local
325 struct led_classdev *led_cdev = fled_cdev ? &fled_cdev->led_cdev : NULL; in __fill_ctrl_init_data() local
568 struct led_classdev *led_cdev = fled_cdev ? &fled_cdev->led_cdev : NULL; in v4l2_flash_open() local
618 struct led_classdev *led_cdev = fled_cdev ? &fled_cdev->led_cdev : NULL; in v4l2_flash_close() local
/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_init.c70 mt7615_led_set_config(struct led_classdev *led_cdev, in mt7615_led_set_config()
103 mt7615_led_set_blink(struct led_classdev *led_cdev, in mt7615_led_set_blink()
118 mt7615_led_set_brightness(struct led_classdev *led_cdev, in mt7615_led_set_brightness()

123456