/linux/include/linux/ |
A D | leds.h | 70 struct led_classdev { struct 122 int (*blink_set)(struct led_classdev *led_cdev, argument 126 int (*pattern_set)(struct led_classdev *led_cdev, argument 128 int (*pattern_clear)(struct led_classdev *led_cdev); argument 180 struct led_classdev *led_cdev, 194 struct led_classdev *led_cdev) in led_classdev_register() 200 struct led_classdev *led_cdev, 204 struct led_classdev *led_cdev) in devm_led_classdev_register() 210 struct led_classdev *led_cdev); 215 extern void led_put(struct led_classdev *led_cdev); [all …]
|
/linux/drivers/leds/ |
A D | led-class.c | 30 struct led_classdev *led_cdev = dev_get_drvdata(dev); in brightness_show() 229 struct led_classdev *led_cdev; in of_led_get() 255 void led_put(struct led_classdev *led_cdev) in led_put() 263 struct led_classdev **p = res; in devm_led_release() 282 struct led_classdev *led; in devm_of_led_get() 283 struct led_classdev **dr; in devm_of_led_get() 336 struct led_classdev *led_cdev, in led_classdev_register_ext() 483 struct led_classdev *led_cdev, in devm_led_classdev_register_ext() 486 struct led_classdev **dr; in devm_led_classdev_register_ext() 508 struct led_classdev **p = res; in devm_led_classdev_match() [all …]
|
A D | leds-fsg.c | 32 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() 105 static struct led_classdev fsg_wlan_led = { 111 static struct led_classdev fsg_wan_led = { 117 static struct led_classdev fsg_sata_led = { 123 static struct led_classdev fsg_usb_led = { 129 static struct led_classdev fsg_sync_led = { [all …]
|
A D | led-core.c | 119 struct led_classdev *led_cdev = in set_brightness_delayed() 120 container_of(ws, struct led_classdev, set_brightness_work); in set_brightness_delayed() 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() 305 int led_update_brightness(struct led_classdev *led_cdev) in led_update_brightness() 347 void led_sysfs_disable(struct led_classdev *led_cdev) in led_sysfs_disable() [all …]
|
A D | leds-sunfire.c | 25 struct led_classdev led_cdev; 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() 114 typedef void (*set_handler)(struct led_classdev *, enum led_brightness); [all …]
|
A D | led-class-flash.c | 40 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_store() 69 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_show() 82 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_brightness_show() 92 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_store() 123 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_show() 140 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_store() 169 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_show() 179 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_timeout_show() 189 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_fault_show() 263 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in led_flash_init_sysfs_groups() [all …]
|
A D | leds-ss4200.c | 128 struct led_classdev led_cdev; 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() 241 static int nasgpio_led_set_blink(struct led_classdev *led_cdev, in nasgpio_led_set_blink() 420 static struct led_classdev *get_classdev_for_led_nr(int nr) in get_classdev_for_led_nr() 423 struct led_classdev *led = &nas_led->led_cdev; in get_classdev_for_led_nr() 447 struct led_classdev *led = dev_get_drvdata(dev); in blink_show() 459 struct led_classdev *led = dev_get_drvdata(dev); in blink_store() 482 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in register_nasgpio_led() [all …]
|
A D | leds-wrap.c | 26 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() 53 static struct led_classdev wrap_power_led = { 60 static struct led_classdev wrap_error_led = { 66 static struct led_classdev wrap_extra_led = {
|
A D | leds.h | 15 static inline int led_get_brightness(struct led_classdev *led_cdev) in led_get_brightness() 20 void led_init_core(struct led_classdev *led_cdev); 21 void led_stop_software_blink(struct led_classdev *led_cdev); 22 void led_set_brightness_nopm(struct led_classdev *led_cdev, unsigned int value); 23 void led_set_brightness_nosleep(struct led_classdev *led_cdev, unsigned int value);
|
A D | leds-locomo.c | 17 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() 43 static struct led_classdev locomo_led0 = { 49 static struct led_classdev locomo_led1 = {
|
A D | leds-lm3533.c | 46 struct led_classdev cdev; 118 static int lm3533_led_set(struct led_classdev *cdev, in lm3533_led_set() 314 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_id() 336 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_risefalltime() 368 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_risefalltime() 404 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_channel() 425 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_channel() 454 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_en() 475 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_en() 504 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_linear() [all …]
|
A D | led-triggers.c | 31 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() 95 struct led_classdev *led_cdev) in led_trigger_format() 130 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_trigger_read() 158 int led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trig) in led_trigger_set() 241 void led_trigger_remove(struct led_classdev *led_cdev) in led_trigger_remove() 249 void led_trigger_set_default(struct led_classdev *led_cdev) in led_trigger_set_default() 288 struct led_classdev *led_cdev; in led_trigger_register() 328 struct led_classdev *led_cdev; in led_trigger_unregister() 383 struct led_classdev *led_cdev; in led_trigger_event() [all …]
|
A D | leds-hp6xx.c | 17 static void hp6xxled_green_set(struct led_classdev *led_cdev, in hp6xxled_green_set() 29 static void hp6xxled_red_set(struct led_classdev *led_cdev, in hp6xxled_red_set() 41 static struct led_classdev hp6xx_red_led = { 48 static struct led_classdev hp6xx_green_led = {
|
A D | leds-cobalt-raq.c | 23 static void raq_web_led_set(struct led_classdev *led_cdev, in raq_web_led_set() 39 static struct led_classdev raq_web_led = { 44 static void raq_power_off_led_set(struct led_classdev *led_cdev, in raq_power_off_led_set() 60 static struct led_classdev raq_power_off_led = {
|
A D | leds-lm3642.c | 67 struct led_classdev cdev_flash; 68 struct led_classdev cdev_torch; 69 struct led_classdev cdev_indicator; 173 struct led_classdev *led_cdev = dev_get_drvdata(dev); in torch_pin_store() 198 static int lm3642_torch_brightness_set(struct led_classdev *cdev, in lm3642_torch_brightness_set() 220 struct led_classdev *led_cdev = dev_get_drvdata(dev); in strobe_pin_store() 245 static int lm3642_strobe_brightness_set(struct led_classdev *cdev, in lm3642_strobe_brightness_set() 260 static int lm3642_indicator_brightness_set(struct led_classdev *cdev, in lm3642_indicator_brightness_set()
|
/linux/drivers/leds/trigger/ |
A D | ledtrig-oneshot.c | 28 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_shot() 49 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_invert_store() 71 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_show() 79 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_store() 95 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_show() 103 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_store() 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()
|
A D | ledtrig-timer.c | 21 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_show() 29 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_on_store() 46 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_show() 54 struct led_classdev *led_cdev = led_trigger_get_led(dev); in led_delay_off_store() 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()
|
A D | ledtrig-pattern.c | 25 struct led_classdev *led_cdev; 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() 164 struct led_classdev *led_cdev = dev_get_drvdata(dev); in repeat_store() 297 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_show() 306 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_store() 316 struct led_classdev *led_cdev = dev_get_drvdata(dev); in hw_pattern_show() 326 struct led_classdev *led_cdev = dev_get_drvdata(dev); in hw_pattern_store() 337 struct led_classdev *led_cdev = dev_get_drvdata(dev); in pattern_trig_attrs_mode() 364 static void pattern_init(struct led_classdev *led_cdev) in pattern_init() [all …]
|
A D | ledtrig-backlight.c | 21 struct led_classdev *led; 33 struct led_classdev *led = n->led; in fb_notifier_callback() 71 struct led_classdev *led = led_trigger_get_led(dev); in bl_trig_invert_store() 101 static int bl_trig_activate(struct led_classdev *led) in bl_trig_activate() 124 static void bl_trig_deactivate(struct led_classdev *led) in bl_trig_deactivate()
|
A D | ledtrig-gpio.c | 18 struct led_classdev *led; 27 struct led_classdev *led = _led; in gpio_trig_irq() 87 struct led_classdev *led = led_trigger_get_led(dev); in gpio_trig_inverted_store() 121 struct led_classdev *led = led_trigger_get_led(dev); in gpio_trig_gpio_store() 167 static int gpio_trig_activate(struct led_classdev *led) in gpio_trig_activate() 183 static void gpio_trig_deactivate(struct led_classdev *led) in gpio_trig_deactivate()
|
A D | ledtrig-transient.c | 29 struct led_classdev *led_cdev; 36 struct led_classdev *led_cdev = transient_data->led_cdev; in transient_timer_function() 54 struct led_classdev *led_cdev = led_trigger_get_led(dev); in transient_activate_store() 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()
|
/linux/drivers/hid/ |
A D | hid-steelseries.c | 23 struct led_classdev *led[SRWS1_NUMBER_LEDS + 1]; 137 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() 229 struct led_classdev *led; in steelseries_srws1_probe() 269 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 290 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 332 struct led_classdev *led; in steelseries_srws1_remove()
|
A D | hid-picolcd_leds.c | 50 static void picolcd_led_set_brightness(struct led_classdev *led_cdev, in picolcd_led_set_brightness() 78 static enum led_brightness picolcd_led_get_brightness(struct led_classdev *led_cdev) in picolcd_led_get_brightness() 99 struct led_classdev *led; in picolcd_init_leds() 113 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in picolcd_init_leds() 150 struct led_classdev *led; in picolcd_exit_leds()
|
/linux/net/mac80211/ |
A D | led.c | 52 static int ieee80211_tx_led_activate(struct led_classdev *led_cdev) in ieee80211_tx_led_activate() 63 static void ieee80211_tx_led_deactivate(struct led_classdev *led_cdev) in ieee80211_tx_led_deactivate() 72 static int ieee80211_rx_led_activate(struct led_classdev *led_cdev) in ieee80211_rx_led_activate() 83 static void ieee80211_rx_led_deactivate(struct led_classdev *led_cdev) in ieee80211_rx_led_deactivate() 92 static int ieee80211_assoc_led_activate(struct led_classdev *led_cdev) in ieee80211_assoc_led_activate() 103 static void ieee80211_assoc_led_deactivate(struct led_classdev *led_cdev) in ieee80211_assoc_led_deactivate() 112 static int ieee80211_radio_led_activate(struct led_classdev *led_cdev) in ieee80211_radio_led_activate() 123 static void ieee80211_radio_led_deactivate(struct led_classdev *led_cdev) in ieee80211_radio_led_deactivate() 132 static int ieee80211_tpt_led_activate(struct led_classdev *led_cdev) in ieee80211_tpt_led_activate() 143 static void ieee80211_tpt_led_deactivate(struct led_classdev *led_cdev) in ieee80211_tpt_led_deactivate()
|
/linux/include/media/ |
A D | v4l2-flash-led-class.h | 16 struct led_classdev; 83 struct led_classdev *iled_cdev; 155 struct led_classdev *iled_cdev, struct v4l2_flash_config *config); 176 struct led_classdev *iled_cdev, struct v4l2_flash_config *config) in v4l2_flash_indicator_init()
|