Home
last modified time | relevance | path

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

12345

/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-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-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-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
212 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-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-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-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-lp5523.c112 #define LED_ACTIVE(mux, led) (!!(mux & (0x0001 << led))) argument
126 static void lp5523_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5523_set_led_current()
398 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() local
420 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() local
487 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_leds() local
531 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_leds() local
564 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() local
586 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5523_selftest() local
671 struct lp55xx_led *led = container_of(work, struct lp55xx_led, in lp5523_led_brightness_work() local
734 struct lp55xx_led *led; in lp5523_probe() local
[all …]
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-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-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
577 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5521_remove() 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-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
/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()
/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
/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()
/drivers/net/wireless/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()
/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
/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
/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()

12345