/openbmc/linux/drivers/leds/ |
H A D | leds-adp5520.c | 32 struct adp5520_led *led; in adp5520_led_set() local 39 static int adp5520_led_setup(struct adp5520_led *led) in adp5520_led_setup() 95 struct adp5520_led *led, *led_dat; in adp5520_led_probe() local 169 struct adp5520_led *led; in adp5520_led_remove() local
|
H A D | leds-ns2.c | 56 static int ns2_led_get_mode(struct ns2_led *led, enum ns2_led_modes *mode) in ns2_led_get_mode() 76 static void ns2_led_set_mode(struct ns2_led *led, enum ns2_led_modes mode) in ns2_led_set_mode() 106 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); in ns2_led_set() local 131 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); in ns2_led_sata_store() local 162 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); in ns2_led_sata_show() local 176 struct ns2_led *led) in ns2_led_register()
|
H A D | leds-el15203000.c | 88 static int el15203000_cmd(struct el15203000_led *led, u8 brightness) in el15203000_cmd() 134 struct el15203000_led *led = to_el15203000_led(ldev); in el15203000_set_blocking() local 143 struct el15203000_led *led = to_el15203000_led(ldev); in el15203000_pattern_set_S() local 194 struct el15203000_led *led = to_el15203000_led(ldev); in el15203000_pattern_set_P() local 232 struct el15203000_led *led = to_el15203000_led(ldev); in el15203000_pattern_clear() local 239 struct el15203000_led *led = priv->leds; in el15203000_probe_dt() local
|
H A D | leds-lm3692x.c | 145 static int lm3692x_fault_check(struct lm3692x_led *led) in lm3692x_fault_check() 168 static int lm3692x_leds_enable(struct lm3692x_led *led) in lm3692x_leds_enable() 296 static int lm3692x_leds_disable(struct lm3692x_led *led) in lm3692x_leds_disable() 327 struct lm3692x_led *led = in lm3692x_brightness_set() local 364 static enum led_brightness lm3692x_max_brightness(struct lm3692x_led *led, in lm3692x_max_brightness() 377 static int lm3692x_probe_dt(struct lm3692x_led *led) in lm3692x_probe_dt() 462 struct lm3692x_led *led; in lm3692x_probe() local 496 struct lm3692x_led *led = i2c_get_clientdata(client); in lm3692x_remove() local
|
H A D | leds-lp5521.c | 111 static void lp5521_set_led_current(struct lp55xx_led *led, u8 led_current) in lp5521_set_led_current() 351 static int lp5521_multicolor_brightness(struct lp55xx_led *led) in lp5521_multicolor_brightness() 370 static int lp5521_led_brightness(struct lp55xx_led *led) in lp5521_led_brightness() 387 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode() local 409 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode() local 441 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load() local 463 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5521_selftest() local 523 struct lp55xx_led *led; in lp5521_probe() local 583 struct lp55xx_led *led = i2c_get_clientdata(client); in lp5521_remove() local
|
H A D | leds-da9052.c | 39 static int da9052_set_led_brightness(struct da9052_led *led, in da9052_set_led_brightness() 57 struct da9052_led *led = in da9052_led_set() local 94 struct da9052_led *led = NULL; in da9052_led_probe() local 161 struct da9052_led *led = platform_get_drvdata(pdev); in da9052_led_remove() local
|
H A D | leds-ss4200.c | 181 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in __nasgpio_led_set_attr() local 203 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in nasgpio_led_get_attr() local 426 struct led_classdev *led = &nas_led->led_cdev; in get_classdev_for_led_nr() local 450 struct led_classdev *led = dev_get_drvdata(dev); in blink_show() local 462 struct led_classdev *led = dev_get_drvdata(dev); in blink_store() local 485 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
|
H A D | leds-wm831x-status.c | 38 static void wm831x_status_set(struct wm831x_status *led) in wm831x_status_set() 69 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_brightness_set() local 86 struct wm831x_status *led = to_wm831x_status(led_cdev); in wm831x_status_blink_set() local 162 struct wm831x_status *led = to_wm831x_status(led_cdev); in src_show() local 186 struct wm831x_status *led = to_wm831x_status(led_cdev); in src_store() local
|
H A D | leds-lp55xx-common.c | 90 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_show() local 99 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in led_current_store() local 123 struct lp55xx_led *led = dev_to_lp55xx_led(dev); in max_current_show() local 142 struct lp55xx_led *led = mcled_cdev_to_led(mc_dev); in lp55xx_set_mc_brightness() local 153 struct lp55xx_led *led = cdev_to_lp55xx_led(cdev); in lp55xx_set_brightness() local 160 static int lp55xx_init_led(struct lp55xx_led *led, in lp55xx_init_led() 276 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in select_engine_show() local 286 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in select_engine_store() local 328 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in run_engine_store() local 493 int lp55xx_register_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_register_leds()
|
H A D | leds-pca963x.c | 117 static int pca963x_brightness(struct pca963x_led *led, in pca963x_brightness() 169 static void pca963x_blink(struct pca963x_led *led) in pca963x_blink() 201 static int pca963x_power_state(struct pca963x_led *led) in pca963x_power_state() 222 struct pca963x_led *led; in pca963x_led_set() local 239 static unsigned int pca963x_period_scale(struct pca963x_led *led, in pca963x_period_scale() 251 struct pca963x_led *led; in pca963x_blink_set() local 306 struct pca963x_led *led = chip->leds; in pca963x_register_leds() local
|
H A D | leds-lp8788.c | 42 static int lp8788_led_init_device(struct lp8788_led *led, in lp8788_led_init_device() 73 static int lp8788_led_enable(struct lp8788_led *led, in lp8788_led_enable() 91 struct lp8788_led *led = in lp8788_brightness_set() local 124 struct lp8788_led *led; in lp8788_led_probe() local
|
H A D | leds-cpcap.c | 62 struct led_classdev led; member 81 static int cpcap_led_set_power(struct cpcap_led *led, bool status) in cpcap_led_set_power() 105 struct cpcap_led *led = container_of(ledc, struct cpcap_led, led); in cpcap_led_set() local 161 struct cpcap_led *led; in cpcap_led_probe() local
|
H A D | leds-spi-byte.c | 68 struct spi_byte_led *led = container_of(dev, struct spi_byte_led, ldev); in spi_byte_brightness_set_blocking() local 85 struct spi_byte_led *led; in spi_byte_probe() local 139 struct spi_byte_led *led = spi_get_drvdata(spi); in spi_byte_remove() local
|
H A D | leds-lp8860.c | 139 static int lp8860_unlock_eeprom(struct lp8860_led *led, int lock) in lp8860_unlock_eeprom() 179 static int lp8860_fault_check(struct lp8860_led *led) in lp8860_fault_check() 207 struct lp8860_led *led = in lp8860_brightness_set() local 238 static int lp8860_init(struct lp8860_led *led) in lp8860_init() 378 struct lp8860_led *led; in lp8860_probe() local 446 struct lp8860_led *led = i2c_get_clientdata(client); in lp8860_remove() local
|
H A D | leds-cht-wcove.c | 109 struct cht_wc_led *led = container_of(cdev, struct cht_wc_led, cdev); in cht_wc_leds_brightness_set() local 146 struct cht_wc_led *led = container_of(cdev, struct cht_wc_led, cdev); in cht_wc_leds_brightness_get() local 225 struct cht_wc_led *led = container_of(cdev, struct cht_wc_led, cdev); in cht_wc_leds_set_effect() local 313 static int cht_wc_led_save_regs(struct cht_wc_led *led, in cht_wc_led_save_regs() 329 static void cht_wc_led_restore_regs(struct cht_wc_led *led, in cht_wc_led_restore_regs() 384 struct cht_wc_led *led = &leds->leds[i]; in cht_wc_leds_probe() local
|
H A D | leds-da903x.c | 43 struct da903x_led *led = in da903x_led_set() local 86 struct da903x_led *led; in da903x_led_probe() local 126 struct da903x_led *led = platform_get_drvdata(pdev); in da903x_led_remove() local
|
/openbmc/linux/drivers/input/ |
H A D | input-leds.c | 52 struct input_led *led = container_of(cdev, struct input_led, cdev); in input_leds_brightness_get() local 61 struct input_led *led = container_of(cdev, struct input_led, cdev); in input_leds_brightness_set() local 88 struct input_led *led; in input_leds_connect() local 154 struct input_led *led = &leds->leds[led_no]; in input_leds_connect() local 176 struct input_led *led = &leds->leds[i]; in input_leds_disconnect() local
|
/openbmc/phosphor-led-manager/test/ |
H A D | utest-led-yaml-led-priority.cpp | 32 for (const auto& led : group.actionSet) in TEST() local 50 for (const auto& led : group.actionSet) in TEST() local 68 for (const auto& led : group.actionSet) in TEST() local
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | leds.c | 48 struct b43_led *led) in b43_led_update() 99 struct b43_led *led = container_of(led_dev, struct b43_led, led_dev); in b43_led_brightness_set() local 108 static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, in b43_register_led() 138 static void b43_unregister_led(struct b43_led *led) in b43_unregister_led() 251 struct b43_led *led; in b43_leds_init() local
|
/openbmc/linux/drivers/hid/ |
H A D | hid-led.c | 191 struct hidled_led *led = to_hidled_led(cdev); in riso_kagaku_write() local 202 struct hidled_led *led = to_hidled_led(cdev); in dream_cheeky_write() local 232 struct hidled_led *led = to_hidled_led(cdev); in _thingm_write() local 279 static inline int delcom_get_lednum(const struct hidled_led *led) in delcom_get_lednum() 289 static int delcom_enable_led(struct hidled_led *led) in delcom_enable_led() 299 static int delcom_set_pwm(struct hidled_led *led) in delcom_set_pwm() 311 struct hidled_led *led = to_hidled_led(cdev); in delcom_write() local 343 struct hidled_led *led = to_hidled_led(cdev); in luxafor_write() local 410 static int hidled_init_led(struct hidled_led *led, const char *color_name, in hidled_init_led()
|
/openbmc/linux/arch/arm/mach-footbridge/ |
H A D | ebsa285.c | 51 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_set() local 63 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_get() local 85 struct ebsa285_led *led; in ebsa285_leds_init() local
|
/openbmc/linux/drivers/leds/blink/ |
H A D | leds-bcm63138.c | 89 struct bcm63138_led *led, in bcm63138_leds_set_flash_rate() 100 struct bcm63138_led *led, in bcm63138_leds_set_bright() 111 struct bcm63138_led *led, in bcm63138_leds_enable_led() 126 struct bcm63138_led *led = container_of(led_cdev, struct bcm63138_led, cdev); in bcm63138_leds_brightness_set() local 145 struct bcm63138_led *led = container_of(led_cdev, struct bcm63138_led, cdev); in bcm63138_leds_blink_set() local 203 struct bcm63138_led *led; in bcm63138_leds_create_led() local
|
/openbmc/linux/sound/core/ |
H A D | control_led.c | 33 struct snd_ctl_led *led; member 140 struct snd_ctl_led *led; in snd_ctl_led_set_state() local 299 struct snd_ctl_led *led; in snd_ctl_led_clean() local 316 struct snd_ctl_led *led; in snd_ctl_led_reset() local 399 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); in mode_show() local 415 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); in mode_store() local 444 struct snd_ctl_led *led = container_of(dev, struct snd_ctl_led, dev); in brightness_show() local 671 struct snd_ctl_led *led; in snd_ctl_led_sysfs_add() local 714 struct snd_ctl_led *led; in snd_ctl_led_sysfs_remove() local 742 struct snd_ctl_led *led; in snd_ctl_led_init() local [all …]
|
/openbmc/linux/drivers/leds/rgb/ |
H A D | leds-mt6370-rgb.c | 424 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_brightness_set() local 486 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_blink_set() local 538 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_pattern_set() local 588 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_pattern_clear() local 611 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_brightness_set() local 647 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_blink_set() local 675 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_pattern_set() local 703 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_pattern_clear() local 714 static int mt6370_assign_multicolor_info(struct device *dev, struct mt6370_led *led, in mt6370_assign_multicolor_info() 759 static int mt6370_init_led_properties(struct device *dev, struct mt6370_led *led, in mt6370_init_led_properties() [all …]
|
/openbmc/linux/arch/mips/sgi-ip32/ |
H A D | ip32-reset.c | 78 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout() local 115 unsigned long led; in panic_event() local 138 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup() local
|