/drivers/leds/ |
D | led-core.c | 30 struct led_classdev *led_cdev = (void *)data; in led_timer_function() local 84 struct led_classdev *led_cdev = in set_brightness_delayed() local 92 static void led_set_software_blink(struct led_classdev *led_cdev, in led_set_software_blink() 123 static void led_blink_setup(struct led_classdev *led_cdev, in led_blink_setup() 139 void led_init_core(struct led_classdev *led_cdev) in led_init_core() 148 void led_blink_set(struct led_classdev *led_cdev, in led_blink_set() 161 void led_blink_set_oneshot(struct led_classdev *led_cdev, in led_blink_set_oneshot() 182 void led_stop_software_blink(struct led_classdev *led_cdev) in led_stop_software_blink() 190 void led_set_brightness(struct led_classdev *led_cdev, in led_set_brightness() 217 int led_update_brightness(struct led_classdev *led_cdev) in led_update_brightness() [all …]
|
D | led-class.c | 30 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 70 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_brightness_show() local 109 void led_classdev_suspend(struct led_classdev *led_cdev) in led_classdev_suspend() 120 void led_classdev_resume(struct led_classdev *led_cdev) in led_classdev_resume() 134 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_suspend() local 144 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_resume() local 188 int led_classdev_register(struct device *parent, struct led_classdev *led_cdev) in led_classdev_register() 241 void led_classdev_unregister(struct led_classdev *led_cdev) in led_classdev_unregister() 278 struct led_classdev *led_cdev) in devm_led_classdev_register() [all …]
|
D | led-class-flash.c | 43 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_store() local 72 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_show() local 85 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_brightness_show() local 95 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_store() local 128 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_show() local 145 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_store() local 174 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_show() local 184 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_timeout_show() local 194 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_fault_show() local 257 static void led_flash_resume(struct led_classdev *led_cdev) in led_flash_resume() [all …]
|
D | led-triggers.c | 36 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_trigger_store() local 83 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_trigger_show() local 113 void led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trig) in led_trigger_set() 154 void led_trigger_remove(struct led_classdev *led_cdev) in led_trigger_remove() 162 void led_trigger_set_default(struct led_classdev *led_cdev) in led_trigger_set_default() 197 struct led_classdev *led_cdev; in led_trigger_register() local 232 struct led_classdev *led_cdev; in led_trigger_unregister() local 259 struct led_classdev *led_cdev; in led_trigger_event() local 277 struct led_classdev *led_cdev; in led_trigger_blink_setup() local
|
D | leds-sunfire.c | 24 struct led_classdev led_cdev; member 29 static void __clockboard_set(struct led_classdev *led_cdev, in __clockboard_set() 53 static void clockboard_left_set(struct led_classdev *led_cdev, in clockboard_left_set() 59 static void clockboard_middle_set(struct led_classdev *led_cdev, in clockboard_middle_set() 65 static void clockboard_right_set(struct led_classdev *led_cdev, in clockboard_right_set() 71 static void __fhc_set(struct led_classdev *led_cdev, in __fhc_set() 95 static void fhc_left_set(struct led_classdev *led_cdev, in fhc_left_set() 101 static void fhc_middle_set(struct led_classdev *led_cdev, in fhc_middle_set() 107 static void fhc_right_set(struct led_classdev *led_cdev, in fhc_right_set()
|
D | leds-fsg.c | 36 static void fsg_led_wlan_set(struct led_classdev *led_cdev, in fsg_led_wlan_set() 48 static void fsg_led_wan_set(struct led_classdev *led_cdev, in fsg_led_wan_set() 60 static void fsg_led_sata_set(struct led_classdev *led_cdev, in fsg_led_sata_set() 72 static void fsg_led_usb_set(struct led_classdev *led_cdev, in fsg_led_usb_set() 84 static void fsg_led_sync_set(struct led_classdev *led_cdev, in fsg_led_sync_set() 96 static void fsg_led_ring_set(struct led_classdev *led_cdev, in fsg_led_ring_set()
|
D | leds.h | 19 static inline void led_set_brightness_async(struct led_classdev *led_cdev, in led_set_brightness_async() 29 static inline int led_set_brightness_sync(struct led_classdev *led_cdev, in led_set_brightness_sync() 42 static inline int led_get_brightness(struct led_classdev *led_cdev) in led_get_brightness()
|
D | leds-ss4200.c | 127 struct led_classdev led_cdev; member 149 led_classdev_to_nasgpio_led(struct led_classdev *led_cdev) in led_classdev_to_nasgpio_led() 177 static void __nasgpio_led_set_attr(struct led_classdev *led_cdev, in __nasgpio_led_set_attr() 192 static void nasgpio_led_set_attr(struct led_classdev *led_cdev, in nasgpio_led_set_attr() 200 static u32 nasgpio_led_get_attr(struct led_classdev *led_cdev, u32 port) in nasgpio_led_get_attr() 218 static void nasgpio_led_set_brightness(struct led_classdev *led_cdev, in nasgpio_led_set_brightness() 240 static int nasgpio_led_set_blink(struct led_classdev *led_cdev, in nasgpio_led_set_blink()
|
D | leds-locomo.c | 20 static void locomoled_brightness_set(struct led_classdev *led_cdev, in locomoled_brightness_set() 34 static void locomoled_brightness_set0(struct led_classdev *led_cdev, in locomoled_brightness_set0() 40 static void locomoled_brightness_set1(struct led_classdev *led_cdev, in locomoled_brightness_set1()
|
D | leds-wm831x-status.c | 40 #define to_wm831x_status(led_cdev) \ argument 73 static void wm831x_status_set(struct led_classdev *led_cdev, in wm831x_status_set() 87 static int wm831x_status_blink_set(struct led_classdev *led_cdev, in wm831x_status_blink_set() 169 struct led_classdev *led_cdev = dev_get_drvdata(dev); in wm831x_status_src_show() local 193 struct led_classdev *led_cdev = dev_get_drvdata(dev); in wm831x_status_src_store() local
|
D | leds-lm3533.c | 332 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_id() local 354 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_risefalltime() local 386 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_risefalltime() local 422 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_channel() local 443 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_channel() local 472 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_als_en() local 493 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_als_en() local 522 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_linear() local 546 struct led_classdev *led_cdev = dev_get_drvdata(dev); in store_linear() local 576 struct led_classdev *led_cdev = dev_get_drvdata(dev); in show_pwm() local [all …]
|
D | leds-wrap.c | 29 static void wrap_power_led_set(struct led_classdev *led_cdev, in wrap_power_led_set() 38 static void wrap_error_led_set(struct led_classdev *led_cdev, in wrap_error_led_set() 47 static void wrap_extra_led_set(struct led_classdev *led_cdev, in wrap_extra_led_set()
|
D | leds-aat1290.c | 173 static void aat1290_led_brightness_set(struct led_classdev *led_cdev, in aat1290_led_brightness_set() 183 static int aat1290_led_brightness_set_sync(struct led_classdev *led_cdev, in aat1290_led_brightness_set_sync() 199 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in aat1290_led_flash_strobe_set() local 242 struct led_classdev *led_cdev = &led->fled_cdev.led_cdev; in aat1290_led_parse_dt() local 426 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in aat1290_led_external_strobe_set() local 449 struct led_classdev *led_cdev = &led->fled_cdev.led_cdev; in aat1290_init_v4l2_flash_config() local 488 struct led_classdev *led_cdev; in aat1290_led_probe() local
|
D | leds-sead3.c | 19 static void sead3_pled_set(struct led_classdev *led_cdev, in sead3_pled_set() 25 static void sead3_fled_set(struct led_classdev *led_cdev, in sead3_fled_set()
|
D | leds-hp6xx.c | 20 static void hp6xxled_green_set(struct led_classdev *led_cdev, in hp6xxled_green_set() 32 static void hp6xxled_red_set(struct led_classdev *led_cdev, in hp6xxled_red_set()
|
D | leds-cobalt-raq.c | 36 static void raq_web_led_set(struct led_classdev *led_cdev, in raq_web_led_set() 57 static void raq_power_off_led_set(struct led_classdev *led_cdev, in raq_power_off_led_set()
|
D | leds-ipaq-micro.c | 23 static void micro_leds_brightness_set(struct led_classdev *led_cdev, in micro_leds_brightness_set() 59 static int micro_leds_blink_set(struct led_classdev *led_cdev, in micro_leds_blink_set()
|
D | leds-s3c24xx.c | 37 static inline struct s3c24xx_gpio_led *to_gpio(struct led_classdev *led_cdev) in to_gpio() 42 static void s3c24xx_led_set(struct led_classdev *led_cdev, in s3c24xx_led_set()
|
/drivers/leds/trigger/ |
D | ledtrig-oneshot.c | 32 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_shot() local 45 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_invert_show() local 54 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_invert_store() local 76 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_on_show() local 84 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_on_store() local 99 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_off_show() local 107 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_off_store() local 125 static void oneshot_trig_activate(struct led_classdev *led_cdev) in oneshot_trig_activate() 166 static void oneshot_trig_deactivate(struct led_classdev *led_cdev) in oneshot_trig_deactivate()
|
D | ledtrig-transient.c | 40 struct led_classdev *led_cdev = (struct led_classdev *) data; in transient_timer_function() local 50 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_activate_show() local 59 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_activate_store() local 102 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_duration_show() local 111 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_duration_store() local 127 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_state_show() local 138 struct led_classdev *led_cdev = dev_get_drvdata(dev); in transient_state_store() local 160 static void transient_trig_activate(struct led_classdev *led_cdev) in transient_trig_activate() 201 static void transient_trig_deactivate(struct led_classdev *led_cdev) in transient_trig_deactivate()
|
D | ledtrig-timer.c | 24 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_on_show() local 32 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_on_store() local 49 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_off_show() local 57 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_delay_off_store() local 74 static void timer_trig_activate(struct led_classdev *led_cdev) in timer_trig_activate() 97 static void timer_trig_deactivate(struct led_classdev *led_cdev) in timer_trig_deactivate()
|
D | ledtrig-heartbeat.c | 35 struct led_classdev *led_cdev = (struct led_classdev *) data; in led_heartbeat_function() local 91 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_invert_show() local 100 struct led_classdev *led_cdev = dev_get_drvdata(dev); in led_invert_store() local 116 static void heartbeat_trig_activate(struct led_classdev *led_cdev) in heartbeat_trig_activate() 139 static void heartbeat_trig_deactivate(struct led_classdev *led_cdev) in heartbeat_trig_deactivate()
|
/drivers/media/v4l2-core/ |
D | v4l2-flash-led-class.c | 122 struct led_classdev *led_cdev; in v4l2_flash_update_led_brightness() local 200 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in v4l2_flash_s_ctrl() local 303 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in __fill_ctrl_init_data() local 531 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in v4l2_flash_open() local 580 struct led_classdev *led_cdev = &fled_cdev->led_cdev; in v4l2_flash_close() local 629 struct led_classdev *led_cdev; in v4l2_flash_init() local 688 struct led_classdev *led_cdev; in v4l2_flash_release() local
|
/drivers/hid/ |
D | hid-steelseries.c | 140 static void steelseries_srws1_led_all_set_brightness(struct led_classdev *led_cdev, in steelseries_srws1_led_all_set_brightness() 160 static enum led_brightness steelseries_srws1_led_all_get_brightness(struct led_classdev *led_cdev) in steelseries_srws1_led_all_get_brightness() 176 static void steelseries_srws1_led_set_brightness(struct led_classdev *led_cdev, in steelseries_srws1_led_set_brightness() 205 static enum led_brightness steelseries_srws1_led_get_brightness(struct led_classdev *led_cdev) in steelseries_srws1_led_get_brightness()
|
/drivers/staging/nvec/ |
D | nvec_paz00.c | 21 #define to_nvec_led(led_cdev) \ argument 33 static void nvec_led_brightness_set(struct led_classdev *led_cdev, in nvec_led_brightness_set()
|