Home
last modified time | relevance | path

Searched defs:led (Results 1 – 159 of 159) sorted by relevance

/linux-4.4.14/drivers/leds/
Dleds-bd2802.c77 struct led_state led[2]; member
112 static inline int bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, in bd2802_is_rgb_off()
128 static inline int bd2802_is_led_off(struct bd2802_led *led, enum led_ids id) in bd2802_is_led_off()
136 static inline int bd2802_is_all_off(struct bd2802_led *led) in bd2802_is_all_off()
175 static void bd2802_update_state(struct bd2802_led *led, enum led_ids id, in bd2802_update_state()
220 static void bd2802_configure(struct bd2802_led *led) in bd2802_configure()
232 static void bd2802_reset_cancel(struct bd2802_led *led) in bd2802_reset_cancel()
239 static void bd2802_enable(struct bd2802_led *led, enum led_ids id) in bd2802_enable()
253 static void bd2802_set_on(struct bd2802_led *led, enum led_ids id, in bd2802_set_on()
272 static void bd2802_set_blink(struct bd2802_led *led, enum led_ids id, in bd2802_set_blink()
[all …]
Dleds-aat1290.c95 static void aat1290_as2cwire_write(struct aat1290_led *led, int addr, int value) in aat1290_as2cwire_write()
125 static void aat1290_set_flash_safety_timer(struct aat1290_led *led, in aat1290_set_flash_safety_timer()
137 static void aat1290_brightness_set(struct aat1290_led *led, in aat1290_brightness_set()
167 struct aat1290_led *led = in aat1290_brightness_set_work() local
177 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_led_brightness_set() local
187 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_led_brightness_set_sync() local
198 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); in aat1290_led_flash_strobe_set() local
238 static int aat1290_led_parse_dt(struct aat1290_led *led, in aat1290_led_parse_dt()
317 static void aat1290_led_validate_mm_current(struct aat1290_led *led, in aat1290_led_validate_mm_current()
334 static int init_mm_current_scale(struct aat1290_led *led, in init_mm_current_scale()
[all …]
Dleds-wm8350.c92 static void wm8350_led_enable(struct wm8350_led *led) in wm8350_led_enable()
115 static void wm8350_led_disable(struct wm8350_led *led) in wm8350_led_disable()
143 struct wm8350_led *led = container_of(work, struct wm8350_led, work); in led_work() local
182 struct wm8350_led *led = to_wm8350_led(led_cdev); in wm8350_led_set() local
193 struct wm8350_led *led = platform_get_drvdata(pdev); in wm8350_led_shutdown() local
204 struct wm8350_led *led; in wm8350_led_probe() local
264 struct wm8350_led *led = platform_get_drvdata(pdev); in wm8350_led_remove() local
Dleds-lm3533.c67 static inline int lm3533_led_get_ctrlbank_id(struct lm3533_led *led) in lm3533_led_get_ctrlbank_id()
72 static inline u8 lm3533_led_get_lv_reg(struct lm3533_led *led, u8 base) in lm3533_led_get_lv_reg()
77 static inline u8 lm3533_led_get_pattern(struct lm3533_led *led) in lm3533_led_get_pattern()
82 static inline u8 lm3533_led_get_pattern_reg(struct lm3533_led *led, in lm3533_led_get_pattern_reg()
88 static int lm3533_led_pattern_enable(struct lm3533_led *led, int enable) in lm3533_led_pattern_enable()
128 struct lm3533_led *led = container_of(work, struct lm3533_led, work); in lm3533_led_work() local
141 struct lm3533_led *led = to_lm3533_led(cdev); in lm3533_led_set() local
151 struct lm3533_led *led = to_lm3533_led(cdev); in lm3533_led_get() local
261 static u8 lm3533_led_delay_set(struct lm3533_led *led, u8 base, in lm3533_led_delay_set()
289 static int lm3533_led_delay_on_set(struct lm3533_led *led, unsigned long *t) in lm3533_led_delay_on_set()
[all …]
Dleds-max77693.c146 static inline bool max77693_fled_used(struct max77693_led_device *led, in max77693_fled_used()
154 static int max77693_set_mode_reg(struct max77693_led_device *led, u8 mode) in max77693_set_mode_reg()
186 static int max77693_add_mode(struct max77693_led_device *led, u8 mode) in max77693_add_mode()
226 static int max77693_clear_mode(struct max77693_led_device *led, in max77693_clear_mode()
238 static void max77693_add_allowed_modes(struct max77693_led_device *led, in max77693_add_allowed_modes()
248 static void max77693_distribute_currents(struct max77693_led_device *led, in max77693_distribute_currents()
272 static int max77693_set_torch_current(struct max77693_led_device *led, in max77693_set_torch_current()
298 static int max77693_set_flash_current(struct max77693_led_device *led, in max77693_set_flash_current()
326 static int max77693_set_timeout(struct max77693_led_device *led, u32 microsec) in max77693_set_timeout()
343 static int max77693_get_strobe_status(struct max77693_led_device *led, in max77693_get_strobe_status()
[all …]
Dleds-ktd2692.c100 static void ktd2692_expresswire_start(struct ktd2692_context *led) in ktd2692_expresswire_start()
106 static void ktd2692_expresswire_reset(struct ktd2692_context *led) in ktd2692_expresswire_reset()
112 static void ktd2692_expresswire_end(struct ktd2692_context *led) in ktd2692_expresswire_end()
120 static void ktd2692_expresswire_set_bit(struct ktd2692_context *led, bool bit) in ktd2692_expresswire_set_bit()
151 static void ktd2692_expresswire_write(struct ktd2692_context *led, u8 value) in ktd2692_expresswire_write()
161 static void ktd2692_brightness_set(struct ktd2692_context *led, in ktd2692_brightness_set()
181 struct ktd2692_context *led = in ktd2692_brightness_set_work() local
191 struct ktd2692_context *led = fled_cdev_to_led(fled_cdev); in ktd2692_led_brightness_set() local
201 struct ktd2692_context *led = fled_cdev_to_led(fled_cdev); in ktd2692_led_brightness_set_sync() local
211 struct ktd2692_context *led = fled_cdev_to_led(fled_cdev); in ktd2692_led_flash_strobe_set() local
[all …]
Dleds-regulator.c65 static void regulator_led_enable(struct regulator_led *led) in regulator_led_enable()
81 static void regulator_led_disable(struct regulator_led *led) in regulator_led_disable()
97 static void regulator_led_set_value(struct regulator_led *led) in regulator_led_set_value()
128 struct regulator_led *led; in led_work() local
137 struct regulator_led *led = to_regulator_led(led_cdev); in regulator_led_brightness_set() local
147 struct regulator_led *led; in regulator_led_probe() local
205 struct regulator_led *led = platform_get_drvdata(pdev); in regulator_led_remove() local
Dleds-max8997.c52 static void max8997_led_set_mode(struct max8997_led *led, in max8997_led_set_mode()
102 static void max8997_led_enable(struct max8997_led *led, bool enable) in max8997_led_enable()
121 static void max8997_led_set_current(struct max8997_led *led, in max8997_led_set_current()
156 struct max8997_led *led = in max8997_led_brightness_set() local
172 struct max8997_led *led = in max8997_led_show_mode() local
206 struct max8997_led *led = in max8997_led_store_mode() local
242 struct max8997_led *led; in max8997_led_probe() local
296 struct max8997_led *led = platform_get_drvdata(pdev); in max8997_led_remove() local
Dleds-lp8788.c48 static int lp8788_led_init_device(struct lp8788_led *led, in lp8788_led_init_device()
79 static void lp8788_led_enable(struct lp8788_led *led, in lp8788_led_enable()
93 struct lp8788_led *led = container_of(work, struct lp8788_led, work); in lp8788_led_work() local
121 struct lp8788_led *led = in lp8788_brightness_set() local
132 struct lp8788_led *led; in lp8788_led_probe() local
173 struct lp8788_led *led = platform_get_drvdata(pdev); in lp8788_led_remove() local
Dleds-adp5520.c35 struct adp5520_led *led = container_of(work, struct adp5520_led, work); in adp5520_led_work() local
43 struct adp5520_led *led; in adp5520_led_set() local
50 static int adp5520_led_setup(struct adp5520_led *led) in adp5520_led_setup()
106 struct adp5520_led *led, *led_dat; in adp5520_led_probe() local
185 struct adp5520_led *led; in adp5520_led_remove() local
Dleds-da9052.c47 static int da9052_set_led_brightness(struct da9052_led *led) in da9052_set_led_brightness()
63 struct da9052_led *led = container_of(work, struct da9052_led, work); in da9052_led_work() local
71 struct da9052_led *led; in da9052_led_set() local
109 struct da9052_led *led = NULL; in da9052_led_probe() local
179 struct da9052_led *led = platform_get_drvdata(pdev); in da9052_led_remove() local
Dleds-lp55xx-common.c88 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_show_current() local
97 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_store_current() local
121 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in lp55xx_show_max_current() local
140 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness() local
146 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led()
234 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_show_engine_select() local
244 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_store_engine_select() local
286 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp55xx_store_engine_run() local
457 int lp55xx_register_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_register_leds()
502 void lp55xx_unregister_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_unregister_leds()
Dleds-lp5523.c117 #define LED_ACTIVE(mux, led) (!!(mux & (0x0001 << led))) argument
131 static void lp5523_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5523_set_led_current()
403 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() local
425 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() local
492 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_leds() local
536 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_leds() local
569 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() local
591 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5523_selftest() local
694 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_master_fader() local
716 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_master_fader() local
[all …]
Dleds-pca9532.c30 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2)) argument
31 #define LED_NUM(led) (led & 0x3) argument
144 static void pca9532_setled(struct pca9532_led *led) in pca9532_setled()
165 struct pca9532_led *led = ldev_to_led(led_cdev); in pca9532_set_brightness() local
183 struct pca9532_led *led = ldev_to_led(led_cdev); in pca9532_set_blink() local
238 struct pca9532_led *led; in pca9532_led_work() local
249 struct pca9532_led *led = &data->leds[offset]; in pca9532_gpio_request_pin() local
260 struct pca9532_led *led = &data->leds[offset]; in pca9532_gpio_set_value() local
346 struct pca9532_led *led = &data->leds[i]; in pca9532_configure() local
Dleds-da903x.c48 struct da903x_led *led = container_of(work, struct da903x_led, work); in da903x_led_work() local
86 struct da903x_led *led; in da903x_led_set() local
96 struct da903x_led *led; in da903x_led_probe() local
138 struct da903x_led *led = platform_get_drvdata(pdev); in da903x_led_remove() local
Dleds-s3c24xx.c45 struct s3c24xx_gpio_led *led = to_gpio(led_cdev); in s3c24xx_led_set() local
64 struct s3c24xx_gpio_led *led = pdev_to_gpio(dev); in s3c24xx_led_remove() local
74 struct s3c24xx_gpio_led *led; in s3c24xx_led_probe() local
Dleds-ss4200.c180 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in __nasgpio_led_set_attr() local
202 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in nasgpio_led_get_attr() local
422 struct led_classdev *led = &nas_led->led_cdev; in get_classdev_for_led_nr() local
446 struct led_classdev *led = dev_get_drvdata(dev); in nas_led_blink_show() local
458 struct led_classdev *led = dev_get_drvdata(dev); in nas_led_blink_store() local
482 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in register_nasgpio_led() local
500 struct led_classdev *led = get_classdev_for_led_nr(led_nr); in unregister_nasgpio_led() local
Dleds-versatile.c43 struct versatile_led *led = container_of(cdev, in versatile_led_set() local
56 struct versatile_led *led = container_of(cdev, in versatile_led_get() local
77 struct versatile_led *led; in versatile_leds_probe() local
Dleds-wm831x-status.c45 struct wm831x_status *led = container_of(work, struct wm831x_status, in wm831x_status_work() local
76 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_set() local
91 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_blink_set() local
170 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_src_show() local
194 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_src_store() local
Dleds-lp8860.c150 static int lp8860_unlock_eeprom(struct lp8860_led *led, int lock) in lp8860_unlock_eeprom()
190 static int lp8860_fault_check(struct lp8860_led *led) in lp8860_fault_check()
217 struct lp8860_led *led = container_of(work, struct lp8860_led, work); in lp8860_led_brightness_work() local
249 struct lp8860_led *led = in lp8860_brightness_set() local
256 static int lp8860_init(struct lp8860_led *led) in lp8860_init()
377 struct lp8860_led *led; in lp8860_probe() local
447 struct lp8860_led *led = i2c_get_clientdata(client); in lp8860_remove() local
Dleds-lp5521.c127 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5521_set_led_current()
367 struct lp55xx_led *led = container_of(work, struct lp55xx_led, in lp5521_led_brightness_work() local
381 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() local
403 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() local
435 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() local
457 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5521_selftest() local
516 struct lp55xx_led *led; in lp5521_probe() local
576 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5521_remove() local
Dleds-dac124s085.c43 struct dac124s085_led *led = container_of(work, struct dac124s085_led, in dac124s085_led_work() local
57 struct dac124s085_led *led = container_of(ldev, struct dac124s085_led, in dac124s085_set_brightness() local
69 struct dac124s085_led *led; in dac124s085_probe() local
Dleds-tlc591xx.c92 tlc591xx_set_ledout(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_ledout()
105 tlc591xx_set_pwm(struct tlc591xx_priv *priv, struct tlc591xx_led *led, in tlc591xx_set_pwm()
116 struct tlc591xx_led *led = work_to_led(work); in tlc591xx_led_work() local
142 struct tlc591xx_led *led = ldev_to_led(led_cdev); in tlc591xx_brightness_set() local
171 struct tlc591xx_led *led = &priv->leds[i]; in tlc591xx_configure() local
Dleds-lp3944.c173 static int lp3944_led_set(struct lp3944_led_data *led, u8 status) in lp3944_led_set()
231 struct lp3944_led_data *led = ldev_to_led(led_cdev); in lp3944_led_set_blink() local
287 struct lp3944_led_data *led = ldev_to_led(led_cdev); in lp3944_led_set_brightness() local
298 struct lp3944_led_data *led; in lp3944_led_work() local
312 struct lp3944_led_data *led = &data->leds[i]; in lp3944_configure() local
Dleds-lp5562.c117 static void lp5562_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5562_set_led_current()
316 struct lp55xx_led *led = container_of(work, struct lp55xx_led, in lp5562_led_brightness_work() local
407 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_pattern() local
435 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5562_store_engine_mux() local
517 struct lp55xx_led *led; in lp5562_probe() local
575 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5562_remove() local
Dleds-lp8501.c87 static void lp8501_set_led_current(struct lp55xx_led *led, u8 led_current) in lp8501_set_led_current()
277 struct lp55xx_led *led = container_of(work, struct lp55xx_led, in lp8501_led_brightness_work() local
310 struct lp55xx_led *led; in lp8501_probe() local
370 struct lp55xx_led *led = i2c_get_clientdata(client); in lp8501_remove() local
Dleds-bcm6358.c71 static void bcm6358_led_mode(struct bcm6358_led *led, unsigned long value) in bcm6358_led_mode()
89 struct bcm6358_led *led = in bcm6358_led_set() local
101 struct bcm6358_led *led; in bcm6358_led() local
Dleds-tca6507.c272 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select()
373 static void led_release(struct tca6507_led *led) in led_release()
387 static int led_prepare(struct tca6507_led *led) in led_prepare()
529 static int led_assign(struct tca6507_led *led) in led_assign()
557 struct tca6507_led *led = container_of(led_cdev, struct tca6507_led, in tca6507_brightness_set() local
569 struct tca6507_led *led = container_of(led_cdev, struct tca6507_led, in tca6507_blink_set() local
704 struct led_info led; in tca6507_led_dt_init() local
Dleds-gpio.c151 static void delete_gpio_led(struct gpio_led_data *led) in delete_gpio_led()
185 struct gpio_led led = {}; in gpio_leds_create() local
300 struct gpio_led_data *led = &priv->leds[i]; in gpio_led_shutdown() local
Dleds-bcm6328.c101 static void bcm6328_led_mode(struct bcm6328_led *led, unsigned long value) in bcm6328_led_mode()
121 struct bcm6328_led *led = in bcm6328_led_set() local
138 struct bcm6328_led *led = in bcm6328_blink_set() local
266 struct bcm6328_led *led; in bcm6328_led() local
Dleds-mc13783.c45 struct mc13xxx_led *led; member
60 struct mc13xxx_led *led = container_of(work, struct mc13xxx_led, work); in mc13xxx_led_work() local
116 struct mc13xxx_led *led = in mc13xxx_led_set() local
Dleds-asic3.c96 struct asic3_led *led = dev_get_platdata(&pdev->dev); in asic3_led_probe() local
129 struct asic3_led *led = dev_get_platdata(&pdev->dev); in asic3_led_remove() local
Dleds-pwm.c100 struct led_pwm *led, struct device_node *child) in led_pwm_add()
146 struct led_pwm led; in led_pwm_create_of() local
Dleds-ot200.c95 struct ot200_led *led = container_of(led_cdev, struct ot200_led, cdev); in ot200_led_brightness_set() local
Dleds-menf21bmc.c60 struct menf21bmc_led *led = container_of(led_cdev, in menf21bmc_led_set() local
Dleds-lt3593.c126 static void delete_lt3593_led(struct lt3593_led_data *led) in delete_lt3593_led()
Dleds-blinkm.c445 struct blinkm_led *led; in led_work() local
465 struct blinkm_led *led = cdev_to_blmled(led_cdev); in blinkm_led_common_set() local
635 struct blinkm_led *led[3]; in blinkm_probe() local
Dleds-88pm860x.c75 struct pm860x_led *led; in pm860x_led_work() local
Dleds-ns2.c265 struct ns2_led *led, *leds; in ns2_leds_get_of_pdata() local
Dleds-pca963x.c292 struct led_info led = {}; in pca963x_dt_init() local
Dleds-netxbig.c390 struct netxbig_led *leds, *led; in netxbig_leds_get_of_pdata() local
/linux-4.4.14/drivers/leds/trigger/
Dledtrig-gpio.c23 struct led_classdev *led; member
33 struct led_classdev *led = _led; in gpio_trig_irq() local
69 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_brightness_show() local
78 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_brightness_store() local
99 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_inverted_show() local
108 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_inverted_store() local
133 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_gpio_show() local
142 struct led_classdev *led = dev_get_drvdata(dev); in gpio_trig_gpio_store() local
179 static void gpio_trig_activate(struct led_classdev *led) in gpio_trig_activate()
217 static void gpio_trig_deactivate(struct led_classdev *led) in gpio_trig_deactivate()
Dledtrig-backlight.c25 struct led_classdev *led; member
37 struct led_classdev *led = n->led; in fb_notifier_callback() local
67 struct led_classdev *led = dev_get_drvdata(dev); in bl_trig_invert_show() local
76 struct led_classdev *led = dev_get_drvdata(dev); in bl_trig_invert_store() local
100 static void bl_trig_activate(struct led_classdev *led) in bl_trig_activate()
134 static void bl_trig_deactivate(struct led_classdev *led) in bl_trig_deactivate()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00leds.c32 struct rt2x00_led *led = &rt2x00dev->led_qual; in rt2x00leds_led_quality() local
73 static void rt2x00led_led_simple(struct rt2x00_led *led, bool enabled) in rt2x00led_led_simple()
103 struct rt2x00_led *led, in rt2x00leds_register_led()
182 static void rt2x00leds_unregister_led(struct rt2x00_led *led) in rt2x00leds_unregister_led()
208 static inline void rt2x00leds_suspend_led(struct rt2x00_led *led) in rt2x00leds_suspend_led()
227 static inline void rt2x00leds_resume_led(struct rt2x00_led *led) in rt2x00leds_resume_led()
Drt2500usb.c288 struct rt2x00_led *led = in rt2500usb_brightness_set() local
307 struct rt2x00_led *led = in rt2500usb_blink_set() local
320 struct rt2x00_led *led, in rt2500usb_init_led()
Drt2400pci.c213 struct rt2x00_led *led = in rt2400pci_brightness_set() local
232 struct rt2x00_led *led = in rt2400pci_blink_set() local
245 struct rt2x00_led *led, in rt2400pci_init_led()
Drt2500pci.c213 struct rt2x00_led *led = in rt2500pci_brightness_set() local
232 struct rt2x00_led *led = in rt2500pci_blink_set() local
245 struct rt2x00_led *led, in rt2500pci_init_led()
Drt73usb.c196 struct rt2x00_led *led = in rt73usb_brightness_set() local
237 struct rt2x00_led *led = in rt73usb_blink_set() local
250 struct rt2x00_led *led, in rt73usb_init_led()
Drt61pci.c251 struct rt2x00_led *led = in rt61pci_brightness_set() local
290 struct rt2x00_led *led = in rt61pci_blink_set() local
303 struct rt2x00_led *led, in rt61pci_init_led()
Drt2800lib.c1173 struct rt2x00_led *led = in rt2800_brightness_set() local
1231 struct rt2x00_led *led, enum led_type type) in rt2800_init_led()
/linux-4.4.14/drivers/hid/
Dhid-gt683r.c74 struct gt683r_led *led = hid_get_drvdata(hdev); in gt683r_brightness_set() local
94 struct gt683r_led *led = hid_get_drvdata(hdev); in mode_show() local
113 struct gt683r_led *led = hid_get_drvdata(hdev); in mode_store() local
134 static int gt683r_led_snd_msg(struct gt683r_led *led, u8 *msg) in gt683r_led_snd_msg()
151 static int gt683r_leds_set(struct gt683r_led *led, u8 leds) in gt683r_leds_set()
170 static int gt683r_mode_set(struct gt683r_led *led, u8 mode) in gt683r_mode_set()
195 struct gt683r_led *led = container_of(work, struct gt683r_led, work); in gt683r_led_work() local
241 struct gt683r_led *led; in gt683r_led_probe() local
302 struct gt683r_led *led = hid_get_drvdata(hdev); in gt683r_led_remove() local
Dhid-steelseries.c26 struct led_classdev *led[SRWS1_NUMBER_LEDS + 1]; member
232 struct led_classdev *led; in steelseries_srws1_probe() local
335 struct led_classdev *led; in steelseries_srws1_remove() local
Dhid-picolcd_leds.c109 struct led_classdev *led; in picolcd_init_leds() local
160 struct led_classdev *led; in picolcd_exit_leds() local
Dhid-corsair.c146 struct k90_led *led = container_of(led_cdev, struct k90_led, cdev); in k90_backlight_get() local
175 struct k90_led *led = container_of(led_cdev, struct k90_led, cdev); in k90_record_led_get() local
183 struct k90_led *led = container_of(led_cdev, struct k90_led, cdev); in k90_brightness_set() local
192 struct k90_led *led = container_of(work, struct k90_led, work); in k90_backlight_work() local
217 struct k90_led *led = container_of(work, struct k90_led, work); in k90_record_led_work() local
Dhid-sony.c996 struct sixaxis_led led[4]; /* LEDx at (4 - x) */ member
1548 static void sony_led_set_brightness(struct led_classdev *led, in sony_led_set_brightness()
1591 static enum led_brightness sony_led_get_brightness(struct led_classdev *led) in sony_led_get_brightness()
1613 static int sony_led_blink_set(struct led_classdev *led, unsigned long *delay_on, in sony_led_blink_set()
1662 struct led_classdev *led; in sony_leds_remove() local
1684 struct led_classdev *led; in sony_leds_init() local
Dwacom.h120 } led; member
Dhid-lg4ff.c85 struct led_classdev *led[5]; member
1290 struct led_classdev *led; in lg4ff_init() local
1367 struct led_classdev *led; in lg4ff_deinit() local
Dhid-thingm.c149 struct thingm_led *led = container_of(ldev, struct thingm_led, ldev); in thingm_led_set() local
Dhid-picolcd.h109 struct led_classdev *led[8]; member
Dhid-wiimote-modules.c350 struct led_classdev *led; in wiimod_led_probe() local
Dwacom_sys.c624 int led = wacom->led.select[0] | 0x4; in wacom_led_control() local
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Dleds.c33 struct rtl8187_led *led = &priv->led_tx; in led_turn_on() local
71 struct rtl8187_led *led = &priv->led_tx; in led_turn_off() local
105 struct rtl8187_led *led = container_of(led_dev, struct rtl8187_led, in rtl8187_led_brightness_set() local
135 struct rtl8187_led *led, const char *name, in rtl8187_register_led()
164 static void rtl8187_unregister_led(struct rtl8187_led *led) in rtl8187_unregister_led()
/linux-4.4.14/drivers/input/
Dinput-leds.c55 struct input_led *led = container_of(cdev, struct input_led, cdev); in input_leds_brightness_get() local
64 struct input_led *led = container_of(cdev, struct input_led, cdev); in input_leds_brightness_set() local
122 struct input_led *led = &leds->leds[led_no]; in input_leds_connect() local
158 struct input_led *led = &leds->leds[led_no]; in input_leds_connect() local
180 struct input_led *led = &leds->leds[i]; in input_leds_disconnect() local
/linux-4.4.14/drivers/staging/nvec/
Dnvec_paz00.c36 struct nvec_led *led = to_nvec_led(led_cdev); in nvec_led_brightness_set() local
50 struct nvec_led *led; in nvec_paz00_probe() local
78 struct nvec_led *led = platform_get_drvdata(pdev); in nvec_paz00_remove() local
/linux-4.4.14/drivers/net/wireless/b43/
Dleds.c61 struct b43_led *led) in b43_led_update()
112 struct b43_led *led = container_of(led_dev, struct b43_led, led_dev); in b43_led_brightness_set() local
121 static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, in b43_register_led()
151 static void b43_unregister_led(struct b43_led *led) in b43_unregister_led()
260 struct b43_led *led; in b43_leds_init() local
/linux-4.4.14/arch/arm/mach-footbridge/
Debsa285.c50 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_set() local
62 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_get() local
84 struct ebsa285_led *led; in ebsa285_leds_init() local
Dnetwinder-hw.c690 struct netwinder_led *led = container_of(cdev, in netwinder_led_set() local
707 struct netwinder_led *led = container_of(cdev, in netwinder_led_get() local
727 struct netwinder_led *led; in netwinder_leds_init() local
/linux-4.4.14/arch/mips/sgi-ip32/
Dip32-reset.c75 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout() local
113 unsigned long led; in panic_event() local
136 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup() local
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dled.c116 struct ath5k_led *led = container_of(led_dev, struct ath5k_led, in ath5k_led_brightness_set() local
126 ath5k_register_led(struct ath5k_hw *ah, struct ath5k_led *led, in ath5k_register_led()
147 ath5k_unregister_led(struct ath5k_led *led) in ath5k_unregister_led()
Dgpio.c55 u32 led; in ath5k_hw_set_ledstate() local
/linux-4.4.14/arch/arm/mach-pxa/
Didp.c222 struct idp_led *led = container_of(cdev, in idp_led_set() local
236 struct idp_led *led = container_of(cdev, in idp_led_get() local
250 struct idp_led *led; in idp_leds_init() local
Dlubbock.c541 struct lubbock_led *led = container_of(cdev, in lubbock_led_set() local
555 struct lubbock_led *led = container_of(cdev, in lubbock_led_get() local
572 struct lubbock_led *led; in lubbock_leds_init() local
Dmainstone.c609 struct mainstone_led *led = container_of(cdev, in mainstone_led_set() local
623 struct mainstone_led *led = container_of(cdev, in mainstone_led_get() local
640 struct mainstone_led *led; in mainstone_leds_init() local
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dleds.c72 struct b43legacy_led *led = container_of(led_dev, struct b43legacy_led, in b43legacy_led_brightness_set() local
89 struct b43legacy_led *led, in b43legacy_register_led()
119 static void b43legacy_unregister_led(struct b43legacy_led *led) in b43legacy_unregister_led()
/linux-4.4.14/arch/arm/plat-omap/
Ddebug-leds.c85 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_set() local
98 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_get() local
118 struct dbg_led *led; in fpga_probe() local
/linux-4.4.14/drivers/net/wireless/p54/
Dled.c70 struct p54_led_dev *led = container_of(led_dev, struct p54_led_dev, in p54_led_brightness_set() local
88 struct p54_led_dev *led = &priv->leds[led_index]; in p54_register_led() local
Dfwio.c545 struct p54_led *led; in p54_set_leds() local
/linux-4.4.14/arch/arm/mach-sa1100/
Dassabet.c694 struct assabet_led *led = container_of(cdev, in assabet_led_set() local
705 struct assabet_led *led = container_of(cdev, in assabet_led_get() local
719 struct assabet_led *led; in assabet_leds_init() local
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm365-evm.c577 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_set() local
589 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_get() local
605 struct cpld_led *led; in cpld_leds_init() local
Dboard-da850-evm.c663 struct gpio_led *led; in da850_evm_bb_leds_init() local
/linux-4.4.14/drivers/input/keyboard/
Dqt2160.c88 struct qt2160_led *led = container_of(work, struct qt2160_led, work); in qt2160_led_work() local
122 struct qt2160_led *led = container_of(cdev, struct qt2160_led, cdev); in qt2160_led_set() local
299 struct qt2160_led *led = &qt2160->leds[i]; in qt2160_register_leds() local
Dcap11xx.c238 struct cap11xx_led *led = container_of(work, struct cap11xx_led, work); in cap11xx_led_work() local
253 struct cap11xx_led *led = container_of(cdev, struct cap11xx_led, cdev); in cap11xx_led_set() local
266 struct cap11xx_led *led; in cap11xx_init_leds() local
/linux-4.4.14/arch/mips/alchemy/devboards/
Ddb1000.c250 static void db1100_mmcled_set(struct led_classdev *led, enum led_brightness b) in db1100_mmcled_set()
288 static void db1100_mmc1led_set(struct led_classdev *led, enum led_brightness b) in db1100_mmc1led_set()
Ddb1300.c515 static void db1300_mmcled_set(struct led_classdev *led, in db1300_mmcled_set()
580 static void db1300_movinand_led_set(struct led_classdev *led, in db1300_movinand_led_set()
Ddb1200.c422 static void db1200_mmcled_set(struct led_classdev *led, in db1200_mmcled_set()
490 static void pb1200_mmc1led_set(struct led_classdev *led, in pb1200_mmc1led_set()
/linux-4.4.14/drivers/video/backlight/
Dadp8860_bl.c109 struct adp8860_led *led; member
183 struct adp8860_led *led = container_of(work, struct adp8860_led, work); in adp8860_led_work() local
192 struct adp8860_led *led; in adp8860_led_set() local
199 static int adp8860_led_setup(struct adp8860_led *led) in adp8860_led_setup()
222 struct adp8860_led *led, *led_dat; in adp8860_led_probe() local
Dadp8870_bl.c111 struct adp8870_led *led; member
198 struct adp8870_led *led = container_of(work, struct adp8870_led, work); in adp8870_led_work() local
207 struct adp8870_led *led; in adp8870_led_set() local
217 static int adp8870_led_setup(struct adp8870_led *led) in adp8870_led_setup()
245 struct adp8870_led *led, *led_dat; in adp8870_led_probe() local
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dled.c75 u8 led = *leds[i]; in brcms_led_register() local
/linux-4.4.14/arch/arm/boot/dts/
Dnspire.dtsi191 led: led@90110000 { label
/linux-4.4.14/arch/sparc/kernel/
Dled.c118 static struct proc_dir_entry *led; variable
/linux-4.4.14/include/linux/mfd/
Dhtc-pasic3.h36 struct led_classdev led; member
Dmc13xxx.h179 struct mc13xxx_led_platform_data *led; member
D88pm860x.h439 struct pm860x_led_pdata *led; member
Dcros_ec_commands.h1063 uint8_t led, red, green, blue; member
1067 uint8_t led; member
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dled.c106 static void carl9170_led_set_brightness(struct led_classdev *led, in carl9170_led_set_brightness()
Deeprom.h213 __le16 led; member
/linux-4.4.14/drivers/platform/x86/
Dasus-laptop.c233 struct led_classdev led; member
572 struct asus_led *led = container_of(led_cdev, struct asus_led, led); in asus_led_cdev_set() local
581 struct asus_led *led = container_of(work, struct asus_led, work); in asus_led_cdev_update() local
633 struct asus_led *led = container_of(led_cdev, struct asus_led, led); in asus_kled_cdev_set() local
642 struct asus_led *led = container_of(work, struct asus_led, work); in asus_kled_cdev_update() local
650 struct asus_led *led = container_of(led_cdev, struct asus_led, led); in asus_kled_cdev_get() local
682 struct asus_led *led, in asus_led_register()
749 struct asus_led *led = &asus->kled; in asus_led_init() local
Dhp_accel.c55 unsigned int led; /* For driver */ member
Dthinkpad_acpi.c370 int led; member
5287 static inline bool tpacpi_is_led_restricted(const unsigned int led) in tpacpi_is_led_restricted()
5296 static int led_get_status(const unsigned int led) in led_get_status()
5320 static int led_set_status(const unsigned int led, in led_set_status()
5449 static int __init tpacpi_init_led(unsigned int led) in tpacpi_init_led()
5637 int led, rc; in led_write() local
/linux-4.4.14/drivers/media/common/siano/
Dsms-cards.c313 int sms_board_led_feedback(struct smscore_device_t *coredev, int led) in sms_board_led_feedback()
Dsmscoreapi.c406 int smscore_led_state(struct smscore_device_t *core, int led) in smscore_led_state()
/linux-4.4.14/drivers/usb/misc/
Dusbled.c68 static void change_color(struct usb_led *led) in change_color()
/linux-4.4.14/sound/usb/line6/
Dtoneport.c318 struct toneport_led *led = &toneport->leds[i]; in toneport_init_leds() local
339 struct toneport_led *led; in toneport_remove_leds() local
/linux-4.4.14/drivers/block/
Dumem.c152 unsigned char led; in get_userbit() local
160 unsigned char led; in set_userbit() local
177 unsigned char led; in set_led() local
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dmv88x201x.c61 u32 led = 0; in led_link() local
/linux-4.4.14/drivers/media/dvb-frontends/
Dau8522_common.c171 int au8522_led_ctrl(struct au8522_state *state, int led) in au8522_led_ctrl()
Dau8522_dig.c708 int led; in au8522_led_status() local
/linux-4.4.14/drivers/net/wan/lmc/
Dlmc_main.c1923 void lmc_led_on(lmc_softc_t * const sc, u32 led) /*fold00*/ in lmc_led_on()
1936 void lmc_led_off(lmc_softc_t * const sc, u32 led) /*fold00*/ in lmc_led_off()
/linux-4.4.14/drivers/staging/vt6656/
Dmac.c239 void vnt_mac_set_led(struct vnt_private *priv, u8 state, u8 led) in vnt_mac_set_led()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-gta02.c99 char led; in gta02_panic_blink() local
/linux-4.4.14/drivers/input/misc/
Dapanel.c121 static void mail_led_set(struct led_classdev *led, in mail_led_set()
Dyealink.c66 u8 led; member
/linux-4.4.14/drivers/hid/usbhid/
Dusbkbd.c97 struct urb *irq, *led; member
/linux-4.4.14/drivers/input/joystick/
Dxpad.c337 struct xpad_led *led; member
976 struct xpad_led *led; in xpad_led_probe() local
/linux-4.4.14/drivers/pwm/
Dpwm-twl-led.c48 #define TWL4030_LED_TOGGLE(led, x) ((x) << (led)) argument
/linux-4.4.14/drivers/media/rc/
Dttusbir.c46 struct led_classdev led; member
Dwinbond-cir.c206 struct led_classdev led; member
Dredrat3.c169 struct led_classdev led; member
/linux-4.4.14/drivers/staging/unisys/visorinput/
Dvisorinput.c454 int led; in handle_locking_key() local
/linux-4.4.14/drivers/net/ethernet/sfc/
Dqt202x_phy.c53 void falcon_qt202x_set_led(struct efx_nic *p, int led, int mode) in falcon_qt202x_set_led()
/linux-4.4.14/drivers/mmc/host/
Drtsx_usb_sdmmc.c64 struct led_classdev led; member
1298 static void rtsx_usb_led_control(struct led_classdev *led, in rtsx_usb_led_control()
Dau1xmmc.c1071 struct led_classdev *led = host->platdata->led; in au1xmmc_probe() local
Dsdhci.c276 static void sdhci_led_control(struct led_classdev *led, in sdhci_led_control()
Dsdhci.h432 struct led_classdev led; /* LED control */ member
/linux-4.4.14/drivers/macintosh/
Drack-meter.c314 int led; in rackmeter_calc_sample() local
/linux-4.4.14/drivers/isdn/hisax/
Dnetjet.c90 u_char led; in mode_tiger() local
Delsa.c634 u_char led = 0xff; in elsa_led_handler() local
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/
Dau1100_mmc.h48 struct led_classdev *led; member
/linux-4.4.14/drivers/net/wireless/libertas/
Dtypes.h216 u8 led; member
227 uint8_t led; member
/linux-4.4.14/drivers/gpio/
Dgpio-twl4030.c139 static void twl4030_led_set_value(int led, int value) in twl4030_led_set_value()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dtechnisat-usb2.c227 u8 led[8] = { in technisat_usb2_set_led() local
/linux-4.4.14/arch/mips/cavium-octeon/
Docteon-platform.c879 int led = fdt_path_offset(initial_boot_params, alias_prop); in octeon_prune_device_tree() local
/linux-4.4.14/drivers/staging/vme/devices/
Dvme_pio2.h232 int led; member
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-input.c497 const struct em28xx_led *led; in em28xx_query_buttons() local
Dem28xx-core.c632 const struct em28xx_led *led = NULL; in em28xx_capture_start() local
/linux-4.4.14/drivers/mfd/
Dlm3533-core.c198 static int lm3533_set_lvled_config(struct lm3533 *lm3533, u8 lvled, u8 led) in lm3533_set_lvled_config()
Dtps65010.c777 int tps65010_set_led(unsigned led, unsigned mode) in tps65010_set_led()
/linux-4.4.14/drivers/regulator/
Dwm8350-regulator.c1298 struct wm8350_led *led; in wm8350_register_led() local
/linux-4.4.14/include/linux/
Dinput.h163 unsigned long led[BITS_TO_LONGS(LED_CNT)]; member
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft.h237 int led[16]; member
/linux-4.4.14/drivers/input/serio/
Di8042.c1074 char led; in i8042_panic_blink() local
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dw6692.c92 static u32 led; variable
Dhfcmulti.c1623 int led[4]; in hfcmulti_leds() local
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c763 struct gpio_led *led = &iocled->leds[i]; in txx9_iocled_init() local
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.c883 u32 led; in ipw_led_link_on() local
926 u32 led; in ipw_led_link_off() local
970 u32 led; in __ipw_led_activity_on() local
1013 u32 led; in ipw_led_activity_off() local
1049 u32 led; in ipw_led_band_on() local
1084 u32 led; in ipw_led_band_off() local
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dich8lan.c5500 u32 i, led; in e1000_led_on_pchlan() local
5530 u32 i, led; in e1000_led_off_pchlan() local
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
Dar5523.c417 struct ar5523_cmd_ledsteady led; in ar5523_set_ledsteady() local
/linux-4.4.14/net/rfkill/
Dcore.c142 static void rfkill_led_trigger_activate(struct led_classdev *led) in rfkill_led_trigger_activate()
/linux-4.4.14/include/linux/mmc/
Dhost.h350 struct led_trigger *led; /* activity led */ member
/linux-4.4.14/drivers/tty/vt/
Dkeyboard.c1091 void setledstate(struct kbd_struct *kb, unsigned int led) in setledstate()
/linux-4.4.14/drivers/net/usb/
Dax88179_178a.c1042 u16 led; in ax88179_convert_old_led() local
/linux-4.4.14/include/linux/mfd/wm8350/
Dpmic.h753 struct wm8350_led led[2]; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmvm.h724 struct led_classdev led; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddev.h892 struct led_classdev led; member
/linux-4.4.14/drivers/scsi/bfa/
Dbfi.h1077 u8 led; /* bitmap of LEDs to be tested */ member
Dbfa_defs.h1237 u8 led; /* bitmap of LEDs to be tested */ member
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_type.h270 bool led[I40E_HW_CAP_MAX_GPIO]; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_type.h270 bool led[I40E_HW_CAP_MAX_GPIO]; member
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommon.h1436 struct led_classdev led; member