/linux-4.4.14/arch/mn10300/unit-asb2305/ |
D | leds.c | 38 u32 leds; in peripheral_leds7x4_display_dec() local 40 leds = asb2305_led_hex_tbl[(val/1000) % 10]; in peripheral_leds7x4_display_dec() 41 leds <<= 8; in peripheral_leds7x4_display_dec() 42 leds |= asb2305_led_hex_tbl[(val/100) % 10]; in peripheral_leds7x4_display_dec() 43 leds <<= 8; in peripheral_leds7x4_display_dec() 44 leds |= asb2305_led_hex_tbl[(val/10) % 10]; in peripheral_leds7x4_display_dec() 45 leds <<= 8; in peripheral_leds7x4_display_dec() 46 leds |= asb2305_led_hex_tbl[val % 10]; in peripheral_leds7x4_display_dec() 47 leds |= points^0x01010101; in peripheral_leds7x4_display_dec() 49 ASB2305_7SEGLEDS = leds; in peripheral_leds7x4_display_dec() [all …]
|
D | Makefile | 6 obj-y := unit-init.o leds.o
|
/linux-4.4.14/drivers/leds/ |
D | Makefile | 9 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 10 obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o 11 obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o 12 obj-$(CONFIG_LEDS_BCM6358) += leds-bcm6358.o 13 obj-$(CONFIG_LEDS_BD2802) += leds-bd2802.o 14 obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o 15 obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o 16 obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o 17 obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o 18 obj-$(CONFIG_LEDS_MIKROTIK_RB532) += leds-rb532.o [all …]
|
D | leds-mc13783.c | 38 struct mc13xxx_leds *leds; member 61 struct mc13xxx_leds *leds = led->leds; in mc13xxx_led_work() local 108 mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg, in mc13xxx_led_work() 127 struct mc13xxx_leds *leds = platform_get_drvdata(pdev); in mc13xxx_led_probe_dt() local 143 leds->devtype->num_regs); in mc13xxx_led_probe_dt() 162 pdata->led[i].id = leds->devtype->led_min + tmp; in mc13xxx_led_probe_dt() 196 struct mc13xxx_leds *leds; in mc13xxx_led_probe() local 200 leds = devm_kzalloc(dev, sizeof(*leds), GFP_KERNEL); in mc13xxx_led_probe() 201 if (!leds) in mc13xxx_led_probe() 204 leds->devtype = devtype; in mc13xxx_led_probe() [all …]
|
D | leds-pca963x.c | 110 struct pca963x_led *leds; member 310 pdata->leds.leds = pca963x_leds; in pca963x_dt_init() 311 pdata->leds.num_leds = chip->n_leds; in pca963x_dt_init() 364 if (pdata && (pdata->leds.num_leds < 1 || in pca963x_probe() 365 pdata->leds.num_leds > chip->n_leds)) { in pca963x_probe() 385 pca963x_chip->leds = pca963x; in pca963x_probe() 396 if (pdata && i < pdata->leds.num_leds) { in pca963x_probe() 397 if (pdata->leds.leds[i].name) in pca963x_probe() 400 pdata->leds.leds[i].name); in pca963x_probe() 401 if (pdata->leds.leds[i].default_trigger) in pca963x_probe() [all …]
|
D | leds-menf21bmc.c | 35 static struct menf21bmc_led leds[] = { variable 86 for (i = 0; i < ARRAY_SIZE(leds); i++) { in menf21bmc_led_probe() 87 leds[i].cdev.name = leds[i].name; in menf21bmc_led_probe() 88 leds[i].cdev.brightness_set = menf21bmc_led_set; in menf21bmc_led_probe() 89 leds[i].i2c_client = i2c_client; in menf21bmc_led_probe() 90 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev); in menf21bmc_led_probe()
|
D | leds-gpio-register.c | 34 _pdata.leds = kmemdup(pdata->leds, in gpio_led_register_device() 35 pdata->num_leds * sizeof(*pdata->leds), GFP_KERNEL); in gpio_led_register_device() 36 if (!_pdata.leds) in gpio_led_register_device() 42 kfree(_pdata.leds); in gpio_led_register_device()
|
D | leds-pca955x.c | 106 struct pca955x_led *leds; member 300 pca955x->leds = devm_kzalloc(&client->dev, in pca955x_probe() 302 if (!pca955x->leds) in pca955x_probe() 312 pca955x_led = &pca955x->leds[i]; in pca955x_probe() 318 if (pdata->leds[i].name) in pca955x_probe() 321 pdata->leds[i].name); in pca955x_probe() 322 if (pdata->leds[i].default_trigger) in pca955x_probe() 324 pdata->leds[i].default_trigger; in pca955x_probe() 359 led_classdev_unregister(&pca955x->leds[i].led_cdev); in pca955x_probe() 360 cancel_work_sync(&pca955x->leds[i].work); in pca955x_probe() [all …]
|
D | leds-dac124s085.c | 33 struct dac124s085_led leds[4]; member 78 for (i = 0; i < ARRAY_SIZE(dac->leds); i++) { in dac124s085_probe() 79 led = dac->leds + i; in dac124s085_probe() 102 led_classdev_unregister(&dac->leds[i].ldev); in dac124s085_probe() 112 for (i = 0; i < ARRAY_SIZE(dac->leds); i++) { in dac124s085_remove() 113 led_classdev_unregister(&dac->leds[i].ldev); in dac124s085_remove() 114 cancel_work_sync(&dac->leds[i].work); in dac124s085_remove()
|
D | leds-ot200.c | 30 static struct ot200_led leds[] = { variable 122 for (i = 0; i < ARRAY_SIZE(leds); i++) { in ot200_led_probe() 124 leds[i].cdev.name = leds[i].name; in ot200_led_probe() 125 leds[i].cdev.brightness_set = ot200_led_brightness_set; in ot200_led_probe() 127 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev); in ot200_led_probe()
|
D | leds-tca6507.c | 188 } leds[NUM_LEDS]; member 637 if (pdata->leds.leds[i].name && pdata->leds.leds[i].flags) { in tca6507_probe_gpios() 639 tca->gpio_name[gpios] = pdata->leds.leds[i].name; in tca6507_probe_gpios() 726 pdata->leds.leds = tca_leds; in tca6507_led_dt_init() 727 pdata->leds.num_leds = NUM_LEDS; in tca6507_led_dt_init() 764 if (!pdata || pdata->leds.num_leds != NUM_LEDS) { in tca6507_probe() 782 struct tca6507_led *l = tca->leds + i; in tca6507_probe() 786 if (pdata->leds.leds[i].name && !pdata->leds.leds[i].flags) { in tca6507_probe() 787 l->led_cdev.name = pdata->leds.leds[i].name; in tca6507_probe() 789 = pdata->leds.leds[i].default_trigger; in tca6507_probe() [all …]
|
D | leds-tlc591xx.c | 56 struct tlc591xx_led leds[TLC591XX_MAX_LEDS]; member 154 if (priv->leds[i].active) { in tlc591xx_destroy_devices() 155 led_classdev_unregister(&priv->leds[i].ldev); in tlc591xx_destroy_devices() 156 cancel_work_sync(&priv->leds[i].work); in tlc591xx_destroy_devices() 171 struct tlc591xx_led *led = &priv->leds[i]; in tlc591xx_configure() 254 if (priv->leds[reg].active) in tlc591xx_probe() 256 priv->leds[reg].active = true; in tlc591xx_probe() 257 priv->leds[reg].ldev.name = in tlc591xx_probe() 259 priv->leds[reg].ldev.default_trigger = in tlc591xx_probe()
|
D | leds-lp3944.c | 80 struct lp3944_led_data leds[LP3944_LEDS_MAX]; member 311 struct lp3944_led *pled = &pdata->leds[i]; in lp3944_configure() 312 struct lp3944_led_data *led = &data->leds[i]; in lp3944_configure() 362 switch (pdata->leds[i].type) { in lp3944_configure() 366 led_classdev_unregister(&data->leds[i].ldev); in lp3944_configure() 367 cancel_work_sync(&data->leds[i].work); in lp3944_configure() 423 switch (data->leds[i].type) { in lp3944_remove() 426 led_classdev_unregister(&data->leds[i].ldev); in lp3944_remove() 427 cancel_work_sync(&data->leds[i].work); in lp3944_remove()
|
D | leds-gpio.c | 159 struct gpio_led_data leds[]; member 223 ret = create_gpio_led(&led, &priv->leds[priv->num_leds], in gpio_leds_create() 236 delete_gpio_led(&priv->leds[count]); in gpio_leds_create() 262 ret = create_gpio_led(&pdata->leds[i], in gpio_led_probe() 263 &priv->leds[i], in gpio_led_probe() 268 delete_gpio_led(&priv->leds[i]); in gpio_led_probe() 289 delete_gpio_led(&priv->leds[i]); in gpio_led_remove() 300 struct gpio_led_data *led = &priv->leds[i]; in gpio_led_shutdown()
|
D | leds-pca9532.c | 41 struct pca9532_led leds[16]; member 109 if (data->leds[i].type == PCA9532_TYPE_LED && in pca9532_calcpwm() 110 data->leds[i].state == PCA9532_PWM0+pwm) { in pca9532_calcpwm() 112 b += data->leds[i].ldev.brightness; in pca9532_calcpwm() 249 struct pca9532_led *led = &data->leds[offset]; in pca9532_gpio_request_pin() 260 struct pca9532_led *led = &data->leds[offset]; in pca9532_gpio_set_value() 304 switch (data->leds[i].type) { in pca9532_destroy_devices() 309 led_classdev_unregister(&data->leds[i].ldev); in pca9532_destroy_devices() 310 cancel_work_sync(&data->leds[i].work); in pca9532_destroy_devices() 346 struct pca9532_led *led = &data->leds[i]; in pca9532_configure() [all …]
|
D | leds-pwm.c | 39 struct led_pwm_data leds[0]; member 93 led_classdev_unregister(&priv->leds[priv->num_leds].cdev); in led_pwm_cleanup() 94 if (priv->leds[priv->num_leds].can_sleep) in led_pwm_cleanup() 95 cancel_work_sync(&priv->leds[priv->num_leds].work); in led_pwm_cleanup() 102 struct led_pwm_data *led_data = &priv->leds[priv->num_leds]; in led_pwm_add() 193 ret = led_pwm_add(&pdev->dev, priv, &pdata->leds[i], in led_pwm_probe()
|
D | leds-sunfire.c | 122 struct sunfire_led leds[NUM_LEDS_PER_BOARD]; member 142 struct led_classdev *lp = &p->leds[i].led_cdev; in sunfire_led_generic_probe() 144 p->leds[i].reg = (void __iomem *) pdev->resource[0].start; in sunfire_led_generic_probe() 155 led_classdev_unregister(&p->leds[i].led_cdev); in sunfire_led_generic_probe() 171 led_classdev_unregister(&p->leds[i].led_cdev); in sunfire_led_generic_remove()
|
D | leds-ns2.c | 265 struct ns2_led *led, *leds; in ns2_leds_get_of_pdata() local 272 leds = devm_kzalloc(dev, num_leds * sizeof(struct ns2_led), in ns2_leds_get_of_pdata() 274 if (!leds) in ns2_leds_get_of_pdata() 277 led = leds; in ns2_leds_get_of_pdata() 330 pdata->leds = leds; in ns2_leds_get_of_pdata() 386 &pdata->leds[i]); in ns2_led_probe()
|
D | leds-netxbig.c | 390 struct netxbig_led *leds, *led; in netxbig_leds_get_of_pdata() local 447 leds = devm_kzalloc(dev, num_leds * sizeof(*leds), GFP_KERNEL); in netxbig_leds_get_of_pdata() 448 if (!leds) in netxbig_leds_get_of_pdata() 451 led = leds; in netxbig_leds_get_of_pdata() 523 pdata->leds = leds; in netxbig_leds_get_of_pdata() 574 &leds_data[i], &pdata->leds[i]); in netxbig_led_probe()
|
D | Kconfig | 19 This option enables the led sysfs class in /sys/class/leds. You'll 26 This option enables the flash led sysfs class in /sys/class/leds. 227 module will be called leds-lp3944. 305 programs through the leds subsystem. This LED have three 309 or through /sys/class/leds/clevo::mail/brightness. As this LED 328 module will be called leds-clevo-mail. 438 be called leds-adp5520. 487 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver 515 multifunction device. It has build in control for two leds in flash 547 will be called leds-menf21bmc. [all …]
|
/linux-4.4.14/arch/mn10300/unit-asb2364/ |
D | leds.c | 41 u32 leds; in peripheral_leds7x4_display_dec() local 43 leds = asb2364_led_hex_tbl[(val/1000) % 10]; in peripheral_leds7x4_display_dec() 44 leds <<= 8; in peripheral_leds7x4_display_dec() 45 leds |= asb2364_led_hex_tbl[(val/100) % 10]; in peripheral_leds7x4_display_dec() 46 leds <<= 8; in peripheral_leds7x4_display_dec() 47 leds |= asb2364_led_hex_tbl[(val/10) % 10]; in peripheral_leds7x4_display_dec() 48 leds <<= 8; in peripheral_leds7x4_display_dec() 49 leds |= asb2364_led_hex_tbl[val % 10]; in peripheral_leds7x4_display_dec() 50 leds |= points^0x01010101; in peripheral_leds7x4_display_dec() 52 ASB2364_7SEGLEDS = leds; in peripheral_leds7x4_display_dec() [all …]
|
D | Makefile | 10 obj-y := unit-init.o leds.o irq-fpga.o
|
/linux-4.4.14/drivers/input/ |
D | input-leds.c | 50 struct input_led leds[]; member 90 struct input_leds *leds; in input_leds_connect() local 100 leds = kzalloc(sizeof(*leds) + num_leds * sizeof(*leds->leds), in input_leds_connect() 102 if (!leds) in input_leds_connect() 105 leds->num_leds = num_leds; in input_leds_connect() 107 leds->handle.dev = dev; in input_leds_connect() 108 leds->handle.handler = handler; in input_leds_connect() 109 leds->handle.name = "leds"; in input_leds_connect() 110 leds->handle.private = leds; in input_leds_connect() 112 error = input_register_handle(&leds->handle); in input_leds_connect() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | leds.c | 90 struct b43_leds *leds = container_of(work, struct b43_leds, work); in b43_leds_work() local 91 struct b43_wl *wl = container_of(leds, struct b43_wl, leds); in b43_leds_work() 99 b43_led_update(dev, &wl->leds.led_tx); in b43_leds_work() 100 b43_led_update(dev, &wl->leds.led_rx); in b43_leds_work() 101 b43_led_update(dev, &wl->leds.led_radio); in b43_leds_work() 102 b43_led_update(dev, &wl->leds.led_assoc); in b43_leds_work() 115 if (likely(!wl->leds.stop)) { in b43_led_brightness_set() 117 ieee80211_queue_work(wl->hw, &wl->leds.work); in b43_led_brightness_set() 179 b43_register_led(dev, &dev->wl->leds.led_tx, name, in b43_map_led() 184 b43_register_led(dev, &dev->wl->leds.led_rx, name, in b43_map_led() [all …]
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-driver-hid-srws1 | 1 What: /sys/class/leds/SRWS1::<serial>::RPM1 2 What: /sys/class/leds/SRWS1::<serial>::RPM2 3 What: /sys/class/leds/SRWS1::<serial>::RPM3 4 What: /sys/class/leds/SRWS1::<serial>::RPM4 5 What: /sys/class/leds/SRWS1::<serial>::RPM5 6 What: /sys/class/leds/SRWS1::<serial>::RPM6 7 What: /sys/class/leds/SRWS1::<serial>::RPM7 8 What: /sys/class/leds/SRWS1::<serial>::RPM8 9 What: /sys/class/leds/SRWS1::<serial>::RPM9 10 What: /sys/class/leds/SRWS1::<serial>::RPM10 [all …]
|
D | sysfs-class-led-driver-lm3533 | 1 What: /sys/class/leds/<led>/als_channel 12 What: /sys/class/leds/<led>/als_en 19 What: /sys/class/leds/<led>/falltime 20 What: /sys/class/leds/<led>/risetime 36 What: /sys/class/leds/<led>/id 43 What: /sys/class/leds/<led>/linear 53 What: /sys/class/leds/<led>/pwm
|
D | sysfs-class-led | 1 What: /sys/class/leds/<led>/brightness 9 /sys/class/leds/<led>/max_brightness. 11 What: /sys/class/leds/<led>/max_brightness 18 What: /sys/class/leds/<led>/trigger 27 /sys/class/leds/<led> once a given trigger is selected. 29 What: /sys/class/leds/<led>/inverted
|
D | sysfs-platform-dell-laptop | 1 What: /sys/class/leds/dell::kbd_backlight/als_enabled 12 What: /sys/class/leds/dell::kbd_backlight/als_setting 21 What: /sys/class/leds/dell::kbd_backlight/start_triggers 38 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 40 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 44 What: /sys/class/leds/dell::kbd_backlight/stop_timeout 61 echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
|
D | sysfs-class-led-flash | 1 What: /sys/class/leds/<led>/flash_brightness 11 /sys/class/leds/<led>/max_flash_brightness. 13 What: /sys/class/leds/<led>/max_flash_brightness 21 What: /sys/class/leds/<led>/flash_timeout 31 What: /sys/class/leds/<led>/max_flash_timeout 38 What: /sys/class/leds/<led>/flash_strobe 49 What: /sys/class/leds/<led>/flash_fault
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | led.c | 78 if (ar->leds[i].registered) { in carl9170_led_update() 79 if (ar->leds[i].last_state || in carl9170_led_update() 80 ar->leds[i].toggled) { in carl9170_led_update() 82 if (ar->leds[i].toggled) in carl9170_led_update() 83 tmp = 70 + 200 / (ar->leds[i].toggled); in carl9170_led_update() 89 ar->leds[i].toggled = 0; in carl9170_led_update() 129 snprintf(ar->leds[i].name, sizeof(ar->leds[i].name), in carl9170_led_register_led() 132 ar->leds[i].ar = ar; in carl9170_led_register_led() 133 ar->leds[i].l.name = ar->leds[i].name; in carl9170_led_register_led() 134 ar->leds[i].l.brightness_set = carl9170_led_set_brightness; in carl9170_led_register_led() [all …]
|
/linux-4.4.14/Documentation/leds/ |
D | 00-INDEX | 3 leds-blinkm.txt 5 leds-class.txt 7 leds-lp3944.txt 8 - notes on how to use the leds-lp3944 driver. 9 leds-lp5521.txt 10 - notes on how to use the leds-lp5521 driver. 11 leds-lp5523.txt 12 - notes on how to use the leds-lp5523 driver. 13 leds-lp5562.txt 14 - notes on how to use the leds-lp5562 driver. [all …]
|
D | leds-lm3556.txt | 21 LM3556 Flash can be controlled through sys/class/leds/flash/brightness file 26 OFF : #echo 0 > sys/class/leds/flash/brightness 27 93.75 mA: #echo 1 > sys/class/leds/flash/brightness 29 1500 mA: #echo 16 > sys/class/leds/flash/brightness 35 LM3556 torch can be controlled through sys/class/leds/torch/brightness file. 40 OFF : #echo 0 > sys/class/leds/torch/brightness 41 46.88 mA: #echo 1 > sys/class/leds/torch/brightness 43 375 mA : #echo 8 > sys/class/leds/torch/brightness 46 Indicator pattern can be set through sys/class/leds/indicator/pattern file, 54 pattern 0: #echo 0 > sys/class/leds/indicator/pattern [all …]
|
D | leds-lp5523.txt | 19 /sys/class/leds/R1 (name: 'R1') 20 /sys/class/leds/B1 (name: 'B1') 24 /sys/class/leds/RGB:channelN (label: 'RGB', N: 0 ~ 8) 28 /sys/class/leds/lp5523:channelN (N: 0 ~ 8) 40 cd /sys/class/leds/lp5523:channel2/device 50 For the details, please refer to 'firmware' section in leds-lp55xx.txt 85 /sys/class/leds/lp5523:channel2/led_current - RW 86 /sys/class/leds/lp5523:channel2/max_current - RO
|
D | leds-blinkm.txt | 1 The leds-blinkm driver supports the devices of the BlinkM family. 20 $ ls -h /sys/class/leds/blinkm-6-* 21 /sys/class/leds/blinkm-6-9-blue: 24 /sys/class/leds/blinkm-6-9-green: 27 /sys/class/leds/blinkm-6-9-red: 30 (same is /sys/bus/i2c/devices/6-0009/leds)
|
D | leds-lp3944.txt | 16 The LP3944 is a helper chip that can drive up to 8 leds, with two programmable 20 The DIM modes are used to set _blink_ patterns for leds, the pattern is 29 leds, the camera flash light and the lcds power. 38 according to include/linux/leds-lp3944.h, set the i2c board info:
|
D | leds-class.txt | 6 userspace. LEDs appear in /sys/class/leds/. The maximum brightness of the 22 be specified via /sys/class/leds/<device>/delay_{on,off} in milliseconds. 28 is chosen (via /sys/class/leds/<device>/trigger). Trigger specific 29 parameters can appear in /sys/class/leds/<device> once a given trigger is 60 blink_set() function (see <linux/leds.h>). To set an LED to blinking, 71 delay_off parameters to the leds subsystem.
|
D | leds-lp5521.txt | 30 cd /sys/class/leds/lp5521:channel2/device 39 For the details, please refer to 'firmware' section in leds-lp55xx.txt 46 /sys/class/leds/lp5521:channel0/led_current - RW 47 /sys/class/leds/lp5521:channel0/max_current - RO
|
D | leds-class-flash.txt | 6 those modes are supported by LED class (see Documentation/leds/leds-class.txt) 64 Please refer to drivers/leds/leds-max77693.c for an exemplary usage of the
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | led.c | 41 for (i = 0; i < ARRAY_SIZE(priv->leds); i++) in p54_update_leds() 42 if (priv->leds[i].toggled) { in p54_update_leds() 45 tmp = 70 + 200 / (priv->leds[i].toggled); in p54_update_leds() 49 if (priv->leds[i].led_dev.brightness == LED_OFF) in p54_update_leds() 52 priv->leds[i].toggled = in p54_update_leds() 53 !!priv->leds[i].led_dev.brightness; in p54_update_leds() 88 struct p54_led_dev *led = &priv->leds[led_index]; in p54_register_led() 152 for (i = 0; i < ARRAY_SIZE(priv->leds); i++) { in p54_unregister_leds() 153 if (priv->leds[i].registered) { in p54_unregister_leds() 154 priv->leds[i].registered = false; in p54_unregister_leds() [all …]
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | debug-leds.c | 35 u16 leds; member 88 reg = readw_relaxed(&fpga->leds); in dbg_led_set() 93 writew_relaxed(reg, &fpga->leds); in dbg_led_set() 101 reg = readw_relaxed(&fpga->leds); in dbg_led_get() 115 writew_relaxed(0xff, &fpga->leds); in fpga_probe() 141 fpga_led_state = readw_relaxed(&fpga->leds); in fpga_suspend_noirq() 142 writew_relaxed(0xff, &fpga->leds); in fpga_suspend_noirq() 149 writew_relaxed(~fpga_led_state, &fpga->leds); in fpga_resume_noirq()
|
D | Makefile | 13 obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
|
/linux-4.4.14/Documentation/devicetree/bindings/leds/ |
D | leds-gpio.txt | 4 - compatible : should be "gpio-leds". 6 Each LED is represented as a sub-node of the gpio-leds device. Each 14 see Documentation/devicetree/bindings/leds/common.txt 16 see Documentation/devicetree/bindings/leds/common.txt 31 leds { 32 compatible = "gpio-leds"; 47 compatible = "gpio-leds"; 58 leds { 59 compatible = "gpio-leds";
|
D | leds-ns2.txt | 4 - compatible: "lacie,ns2-leds". 6 Each LED is represented as a sub-node of the ns2-leds device. 21 #include <dt-bindings/leds/leds-ns2.h> 23 ns2-leds { 24 compatible = "lacie,ns2-leds";
|
D | leds-bcm6358.txt | 10 - compatible : should be "brcm,bcm6358-leds". 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 27 - label : see Documentation/devicetree/bindings/leds/common.txt 31 Documentation/devicetree/bindings/leds/leds-gpio.txt 33 Documentation/devicetree/bindings/leds/common.txt 38 compatible = "brcm,bcm6358-leds"; 67 compatible = "brcm,bcm6358-leds";
|
D | leds-pwm.txt | 4 - compatible : should be "pwm-leds". 6 Each LED is represented as a sub-node of the pwm-leds device. Each 19 see Documentation/devicetree/bindings/leds/common.txt 21 see Documentation/devicetree/bindings/leds/common.txt 38 compatible = "pwm-leds";
|
D | leds-bcm6328.txt | 24 - compatible : should be "brcm,bcm6328-leds". 30 - brcm,serial-leds : Boolean, enables Serial LEDs. 41 Each LED is represented as a sub-node of the brcm,bcm6328-leds device. 48 - label : see Documentation/devicetree/bindings/leds/common.txt 52 Documentation/devicetree/bindings/leds/leds-gpio.txt 54 Documentation/devicetree/bindings/leds/common.txt 75 compatible = "brcm,bcm6328-leds"; 116 compatible = "brcm,bcm6328-leds"; 120 brcm,serial-leds; 197 compatible = "brcm,bcm6328-leds"; [all …]
|
D | leds-aat1290.txt | 23 node - see Documentation/devicetree/bindings/leds/common.txt. 26 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 30 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt 35 - label : see Documentation/devicetree/bindings/leds/common.txt
|
D | leds-netxbig.txt | 5 - compatible: "lacie,netxbig-leds". 12 Each LED is represented as a sub-node of the netxbig-leds device. 27 netxbig-leds { 28 compatible = "lacie,netxbig-leds";
|
D | leds-ktd2692.txt | 23 node - See Documentation/devicetree/bindings/leds/common.txt 26 See Documentation/devicetree/bindings/leds/common.txt 34 - label : See Documentation/devicetree/bindings/leds/common.txt
|
D | leds-lp8860.txt | 20 leds: leds@6 {
|
D | tca6507.txt | 16 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt 19 see Documentation/devicetree/bindings/leds/common.txt
|
D | pca963x.txt | 14 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt 18 see Documentation/devicetree/bindings/leds/common.txt
|
D | register-bit-led.txt | 3 Register bit leds are used with syscon multifunctional devices 23 see Documentation/devicetree/bindings/leds/common.txt 25 see Documentation/devicetree/bindings/leds/common.txt
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | kirkwood-d2net.dts | 13 #include <dt-bindings/leds/leds-ns2.h> 25 ns2-leds { 26 compatible = "lacie,ns2-leds"; 39 gpio-leds { 40 compatible = "gpio-leds";
|
D | kirkwood-ns2.dts | 3 #include <dt-bindings/leds/leds-ns2.h> 24 ns2-leds { 25 compatible = "lacie,ns2-leds";
|
D | kirkwood-is2.dts | 3 #include <dt-bindings/leds/leds-ns2.h> 24 ns2-leds { 25 compatible = "lacie,ns2-leds";
|
D | kirkwood-ns2max.dts | 3 #include <dt-bindings/leds/leds-ns2.h> 43 ns2-leds { 44 compatible = "lacie,ns2-leds";
|
D | kirkwood-ns2mini.dts | 3 #include <dt-bindings/leds/leds-ns2.h> 44 ns2-leds { 45 compatible = "lacie,ns2-leds";
|
D | socfpga_cyclone5_socrates.dts | 34 leds: gpio-leds { label 59 &leds { 60 compatible = "gpio-leds";
|
D | armada-370-seagate-nas-4bay.dts | 24 #include <dt-bindings/leds/leds-ns2.h> 90 gpio-leds { 101 leds-ns2 { 102 compatible = "lacie,ns2-leds";
|
D | at91sam9g20ek.dts | 15 leds { 16 compatible = "gpio-leds";
|
D | kirkwood-ns2lite.dts | 23 gpio-leds { 24 compatible = "gpio-leds";
|
D | bcm2835-rpi.dtsi | 8 leds { 9 compatible = "gpio-leds";
|
D | omap3-overo-summit-common.dtsi | 17 leds { 18 compatible = "gpio-leds";
|
D | kirkwood-sheevaplug.dts | 27 gpio-leds { 28 compatible = "gpio-leds";
|
D | kirkwood-sheevaplug-esata.dts | 32 gpio-leds { 33 compatible = "gpio-leds";
|
D | kirkwood-ds411j.dts | 34 gpio-leds-hdd-36 { 38 gpio-leds-alarm-12 {
|
D | kirkwood-synology.dtsi | 417 gpio-leds-alarm-12 { 419 compatible = "gpio-leds"; 429 gpio-leds-hdd-20 { 431 compatible = "gpio-leds"; 478 gpio-leds-hdd-21-1 { 480 compatible = "gpio-leds"; 495 gpio-leds-hdd-21-2 { 497 compatible = "gpio-leds"; 522 gpio-leds-hdd-36 { 524 compatible = "gpio-leds"; [all …]
|
D | at91sam9g20ek_2mmc.dts | 41 leds { 42 compatible = "gpio-leds";
|
D | bcm4708-luxul-xwc-1000.dts | 36 leds { 37 compatible = "gpio-leds";
|
D | omap3-overo-tobi-common.dtsi | 17 leds { 18 compatible = "gpio-leds";
|
D | kirkwood-ds409.dts | 34 gpio-leds-hdd-36 { 38 gpio-leds-alarm-12 {
|
D | dove-d2plug.dts | 18 leds { 19 compatible = "gpio-leds";
|
D | at91-ariettag25.dts | 71 leds { 72 compatible = "gpio-leds";
|
D | imx28-cfa10036.dts | 36 led_pins_cfa10036: leds-10036@0 { 124 leds { 125 compatible = "gpio-leds";
|
D | orion5x-lswsgl.dts | 99 gpio-leds { 100 compatible = "gpio-leds"; 233 pmx_led_alarm: pmx-leds { 238 pmx_led_info: pmx-leds { 243 pmx_led_func: pmx-leds { 248 pmx_led_power: pmx-leds {
|
D | kirkwood-dns320.dts | 19 gpio-leds { 20 compatible = "gpio-leds";
|
D | kirkwood-dns325.dts | 19 gpio-leds { 20 compatible = "gpio-leds";
|
D | omap3-evm-common.dtsi | 15 leds { 16 compatible = "gpio-leds"; 123 ti,use-leds;
|
D | kirkwood-openblocks_a6.dts | 85 pmx_leds: pmx-leds { 92 gpio-leds { 93 compatible = "gpio-leds";
|
D | kirkwood-mv88f6281gtw-ge.dts | 51 pmx_leds: pmx-leds { 84 gpio-leds { 85 compatible = "gpio-leds";
|
D | kirkwood-netxbig.dtsi | 16 #include <dt-bindings/leds/leds-netxbig.h> 122 netxbig-leds { 123 compatible = "lacie,netxbig-leds";
|
D | omap3-overo-palo43-common.dtsi | 19 leds { 20 compatible = "gpio-leds";
|
D | omap3-overo-palo35-common.dtsi | 19 leds { 20 compatible = "gpio-leds";
|
D | bcm4709-asus-rt-ac87u.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | omap3-overo-gallop43-common.dtsi | 19 leds { 20 compatible = "gpio-leds";
|
D | kirkwood-ns2-common.dtsi | 67 gpio-leds { 68 compatible = "gpio-leds";
|
D | usb_a9g20-dab-mmx.dtsi | 26 leds { 27 compatible = "gpio-leds";
|
D | stih416-b2020e.dts | 17 leds { 18 compatible = "gpio-leds";
|
D | omap3-igep0030-common.dtsi | 15 leds: gpio_leds { label 16 compatible = "gpio-leds";
|
D | bcm4709-netgear-r8000.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | kirkwood-cloudbox.dts | 70 gpio-leds { 71 compatible = "gpio-leds";
|
D | omap3-overo-chestnut43-common.dtsi | 19 leds { 20 compatible = "gpio-leds";
|
D | bcm4708-asus-rt-ac68u.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | bcm47081-asus-rt-n18u.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | at91sam9x5cm.dtsi | 76 leds { 77 compatible = "gpio-leds";
|
D | bcm4708-netgear-r6300-v2.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | at91sam9rlek.dts | 187 compatible = "pwm-leds"; 202 leds { 203 compatible = "gpio-leds";
|
D | kirkwood-openblocks_a7.dts | 103 pmx_leds: pmx-leds { 110 gpio-leds { 111 compatible = "gpio-leds";
|
D | usb_a9260_common.dtsi | 99 leds { 100 compatible = "gpio-leds";
|
D | stihxxx-b2120.dtsi | 15 leds { 16 compatible = "gpio-leds";
|
D | stih41x-b2020.dtsi | 30 leds { 31 compatible = "gpio-leds";
|
D | exynos5422-odroidxu3-lite.dts | 23 compatible = "pwm-leds"; 47 compatible = "gpio-leds";
|
D | omap3-overo-alto35-common.dtsi | 19 leds { 20 compatible = "gpio-leds";
|
D | dove-d3plug.dts | 18 leds { 19 compatible = "gpio-leds";
|
D | bcm4708-netgear-r6250.dts | 38 leds { 39 compatible = "gpio-leds";
|
D | kirkwood-dockstar.dts | 39 gpio-leds { 40 compatible = "gpio-leds";
|
D | exynos4412-tiny4412.dts | 30 leds { 31 compatible = "gpio-leds";
|
D | bcm4708-asus-rt-ac56u.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | exynos4412-odroidx.dts | 25 leds { 26 compatible = "gpio-leds";
|
D | moxart-uc7112lx.dts | 52 leds { 53 compatible = "gpio-leds";
|
D | imx6q-cm-fx6.dts | 25 leds { 26 compatible = "gpio-leds";
|
D | stih418-b2199.dts | 35 leds { 36 compatible = "gpio-leds";
|
D | at91rm9200ek.dts | 116 leds { 117 compatible = "gpio-leds";
|
D | aks-cdu.dts | 95 leds { 96 compatible = "gpio-leds";
|
D | kirkwood-dreamplug.dts | 81 gpio-leds { 82 compatible = "gpio-leds";
|
D | bcm4709-netgear-r7000.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | exynos5422-odroidxu3.dts | 22 compatible = "pwm-leds"; 46 compatible = "gpio-leds";
|
D | logicpd-torpedo-som.dtsi | 16 leds { 17 compatible = "gpio-leds"; 162 ti,use-leds;
|
D | s3c6410-mini6410.dts | 134 leds { 135 compatible = "gpio-leds"; 202 gpio_leds: gpio-leds {
|
D | sama5d3xcm.dtsi | 114 leds { 115 compatible = "gpio-leds";
|
D | am335x-chiliboard.dts | 17 leds { 18 compatible = "gpio-leds";
|
D | imx28-duckbill.dts | 106 leds { 107 compatible = "gpio-leds";
|
D | kirkwood-nsa310a.dts | 74 gpio-leds { 75 compatible = "gpio-leds";
|
D | dove-cubox.dts | 18 leds { 19 compatible = "gpio-leds";
|
D | kirkwood-guruplug-server-plus.dts | 55 gpio-leds { 56 compatible = "gpio-leds";
|
D | stih41x-b2000.dtsi | 33 leds { 34 compatible = "gpio-leds";
|
D | bcm47081-buffalo-wzr-600dhp2.dts | 48 leds { 49 compatible = "gpio-leds";
|
D | exynos4412-odroidu3.dts | 26 leds { 27 compatible = "gpio-leds";
|
D | usb_a9263.dts | 127 leds { 128 compatible = "gpio-leds";
|
D | orion5x-linkstation-lswtgl.dts | 76 pmx_led_power: pmx-leds { 81 pmx_led_alarm: pmx-leds { 86 pmx_led_info: pmx-leds { 157 compatible = "gpio-leds";
|
D | socfpga_cyclone5_de0_sockit.dts | 45 leds { 46 compatible = "gpio-leds";
|
D | pm9g45.dts | 140 leds { 141 compatible = "gpio-leds";
|
D | kirkwood-nsa310.dts | 90 gpio-leds { 91 compatible = "gpio-leds";
|
D | imx23-olinuxino.dts | 126 leds { 127 compatible = "gpio-leds";
|
D | bcm4709-buffalo-wxr-1900dhp.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | bcm4708-smartrg-sr400ac.dts | 27 leds { 28 compatible = "gpio-leds";
|
D | kirkwood-pogo_e02.dts | 35 gpio-leds { 36 compatible = "gpio-leds";
|
D | at91-foxg20.dts | 144 leds { 145 compatible = "gpio-leds";
|
D | imx28-m28cu3.dts | 98 led_pins_gpio: leds-m28@0 { 211 leds { 212 compatible = "gpio-leds";
|
D | bcm2835-rpi-b.dts | 8 leds {
|
D | kirkwood-ib62x0.dts | 77 gpio-leds { 78 compatible = "gpio-leds";
|
D | at91-qil_a9260.dts | 167 leds { 168 compatible = "gpio-leds";
|
D | bcm4708-buffalo-wzr-1750dhp.dts | 48 leds { 49 compatible = "gpio-leds";
|
D | animeo_ip.dts | 124 leds { 125 compatible = "gpio-leds";
|
D | omap3-beagle-xm.dts | 32 leds { 33 compatible = "gpio-leds"; 49 compatible = "pwm-leds"; 314 ti,use-leds;
|
D | bcm2835-rpi-b-rev2.dts | 8 leds {
|
D | imx28-sps1.dts | 143 leds { 146 compatible = "gpio-leds";
|
D | imx53-voipac-bsb.dts | 28 leds { 29 compatible = "gpio-leds";
|
D | kirkwood-blackarmor-nas220.dts | 52 gpio-leds { 53 compatible = "gpio-leds";
|
/linux-4.4.14/arch/mips/bcm63xx/boards/ |
D | board_bcm963xx.c | 60 .leds = { 90 .leds = { 138 .leds = { 179 .leds = { 239 .leds = { 300 .leds = { 354 .leds = { 412 .leds = { 555 .leds = { 607 .leds = { [all …]
|
/linux-4.4.14/drivers/parisc/ |
D | led.c | 281 static void led_ASP_driver(unsigned char leds) in led_ASP_driver() argument 285 leds = ~leds; in led_ASP_driver() 288 value = (leds & 0x80) >> 7; in led_ASP_driver() 291 leds <<= 1; in led_ASP_driver() 301 static void led_LASI_driver(unsigned char leds) in led_LASI_driver() argument 303 leds = ~leds; in led_LASI_driver() 304 gsc_writeb( leds, LED_DATA_REG ); in led_LASI_driver() 313 static void led_LCD_driver(unsigned char leds) in led_LCD_driver() argument 331 if ((leds & mask[i]) != (lastleds & mask[i])) in led_LCD_driver() 336 gsc_writeb( leds & mask[i] ? blockp[i]->on : in led_LCD_driver()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | st5481_b.c | 149 u_char leds = adapter->leds; in led_blink() local 157 leds |= GREEN_LED; in led_blink() 159 leds &= ~GREEN_LED; in led_blink() 162 st5481_usb_device_ctrl_msg(adapter, GPIO_OUT, leds, NULL, NULL); in led_blink() 236 adapter->leds |= B1_LED; in st5481B_mode() 238 adapter->leds |= B2_LED; in st5481B_mode() 250 adapter->leds &= ~B1_LED; in st5481B_mode() 252 adapter->leds &= ~B2_LED; in st5481B_mode() 255 st5481_usb_device_ctrl_msg(adapter, GPIO_OUT, adapter->leds, NULL, NULL); in st5481B_mode()
|
/linux-4.4.14/arch/mips/ath79/ |
D | dev-leds-gpio.c | 20 struct gpio_led *leds) in ath79_register_leds_gpio() argument 27 p = kmemdup(leds, num_leds * sizeof(*p), GFP_KERNEL); in ath79_register_leds_gpio() 37 pdata.leds = p; in ath79_register_leds_gpio()
|
D | dev-leds-gpio.h | 19 struct gpio_led *leds);
|
/linux-4.4.14/drivers/media/radio/ |
D | radio-shark.c | 72 struct led_classdev leds[NO_LEDS]; member 190 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue() 202 struct shark_device, leds[BLUE_PULSE_LED]); in shark_led_set_blue_pulse() 214 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red() 249 shark->leds[i] = shark_led_templates[i]; in shark_register_leds() 251 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 252 shark->leds[i].name = shark->led_names[i]; in shark_register_leds() 253 retval = led_classdev_register(dev, &shark->leds[i]); in shark_register_leds() 269 led_classdev_unregister(&shark->leds[i]); in shark_unregister_leds()
|
D | radio-shark2.c | 68 struct led_classdev leds[NO_LEDS]; member 175 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue() 186 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red() 215 shark->leds[i] = shark_led_templates[i]; in shark_register_leds() 217 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 218 shark->leds[i].name = shark->led_names[i]; in shark_register_leds() 219 retval = led_classdev_register(dev, &shark->leds[i]); in shark_register_leds() 235 led_classdev_unregister(&shark->leds[i]); in shark_unregister_leds()
|
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/ |
D | adp1653.txt | 15 - max-microamp : see Documentation/devicetree/bindings/leds/common.txt 19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
|
/linux-4.4.14/drivers/hid/ |
D | hid-gt683r.c | 151 static int gt683r_leds_set(struct gt683r_led *led, u8 leds) in gt683r_leds_set() argument 163 buffer[3] = leds; in gt683r_leds_set() 193 u8 leds = 0; in gt683r_led_work() local 201 leds |= BIT(i); in gt683r_led_work() 204 if (gt683r_leds_set(led, leds)) in gt683r_led_work() 207 if (leds) in gt683r_led_work()
|
D | hid-steelseries.c | 112 static void steelseries_srws1_set_leds(struct hid_device *hdev, __u16 leds) in steelseries_srws1_set_leds() argument 119 value[1] = leds & 0xFF; in steelseries_srws1_set_leds() 120 value[2] = leds >> 8; in steelseries_srws1_set_leds()
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | usbkbd.c | 104 unsigned char *leds; member 185 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_event() 190 *(kbd->leds) = kbd->newleds; in usb_kbd_event() 214 if (*(kbd->leds) == kbd->newleds){ in usb_kbd_led() 220 *(kbd->leds) = kbd->newleds; in usb_kbd_led() 259 if (!(kbd->leds = usb_alloc_coherent(dev, 1, GFP_ATOMIC, &kbd->leds_dma))) in usb_kbd_alloc_mem() 271 usb_free_coherent(dev, 1, kbd->leds, kbd->leds_dma); in usb_kbd_free_mem() 361 (void *) kbd->cr, kbd->leds, 1, in usb_kbd_probe()
|
/linux-4.4.14/arch/avr32/boards/atstk1000/ |
D | Kconfig | 88 LED0..LED7 amber leds, or to the RGB leds, using a ten-pin 95 Select this if J2 is jumpered to LED0..LED7 amber leds. 98 bool "RGB leds" 100 Select this if J2 is jumpered to the RGB leds.
|
/linux-4.4.14/sound/usb/line6/ |
D | toneport.c | 64 struct toneport_led leds[2]; member 300 (toneport->leds[0].dev.brightness << 8) | 0x0002, in toneport_update_led() 301 toneport->leds[1].dev.brightness); in toneport_update_led() 307 struct toneport_led *leds = in toneport_led_brightness_set() local 309 toneport_update_led(leds->toneport); in toneport_led_brightness_set() 318 struct toneport_led *led = &toneport->leds[i]; in toneport_init_leds() 343 led = &toneport->leds[i]; in toneport_remove_leds()
|
/linux-4.4.14/arch/mips/txx9/rbtx4927/ |
D | setup.c | 310 static struct gpio_led leds[] = { in rbtx4927_gpioled_init() local 315 .num_leds = ARRAY_SIZE(leds), in rbtx4927_gpioled_init() 316 .leds = leds, in rbtx4927_gpioled_init()
|
/linux-4.4.14/arch/mips/ar7/ |
D | platform.c | 512 ar7_led_data.leds = default_leds; in detect_leds() 524 ar7_led_data.leds = fb_fon_leds; in detect_leds() 527 ar7_led_data.leds = fb_sl_leds; in detect_leds() 531 ar7_led_data.leds = dsl502t_leds; in detect_leds() 534 ar7_led_data.leds = dg834g_leds; in detect_leds() 537 ar7_led_data.leds = titan_leds; in detect_leds() 540 ar7_led_data.leds = gt701_leds; in detect_leds()
|
/linux-4.4.14/Documentation/devicetree/bindings/gpio/ |
D | gpio-lp3943.txt | 25 leds { 26 compatible = "gpio-leds";
|
D | gpio_lpc32xx.txt | 29 leds { 30 compatible = "gpio-leds";
|
D | gpio-atlas7.txt | 35 leds { 36 compatible = "gpio-leds";
|
D | gpio-twl4030.txt | 14 - ti,use-leds : Enables LEDA and LEDB outputs if set 28 ti,use-leds;
|
D | gpio-davinci.txt | 48 leds { 49 compatible = "gpio-leds";
|
/linux-4.4.14/arch/cris/boot/dts/ |
D | dev88.dts | 53 leds { 54 compatible = "gpio-leds";
|
D | p1343.dts | 35 leds { 36 compatible = "gpio-leds";
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | max77693.txt | 109 - led-sources : see Documentation/devicetree/bindings/leds/common.txt; 111 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 116 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 124 - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt 128 - label : see Documentation/devicetree/bindings/leds/common.txt 131 #include <dt-bindings/leds/common.h>
|
/linux-4.4.14/arch/mips/boot/dts/qca/ |
D | ar9132_tl_wr1043nd_v1.dts | 89 leds { 90 compatible = "gpio-leds";
|
/linux-4.4.14/drivers/macintosh/ |
D | adbhid.c | 638 int leds = 0, device = 0, pending = 0; in leds_done() local 645 leds = leds_pending[device] & 0xff; in leds_done() 655 ADB_WRITEREG(device, KEYB_LEDREG), 0xff, ~leds); in leds_done() 658 static void real_leds(unsigned char leds, int device) in real_leds() argument 667 ADB_WRITEREG(device, KEYB_LEDREG), 0xff, ~leds); in real_leds() 675 leds_pending[device] = leds | 0x100; in real_leds() 687 unsigned char leds; in adbhid_kbd_event() local 691 leds = (test_bit(LED_SCROLLL, dev->led) ? 4 : 0) | in adbhid_kbd_event() 694 real_leds(leds, adbhid->id); in adbhid_kbd_event()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | led.c | 59 u8 *leds[] = { &sprom->gpio0, in brcms_led_register() local 75 u8 led = *leds[i]; in brcms_led_register()
|
/linux-4.4.14/drivers/net/arcnet/ |
D | com20020-pci.c | 78 outb(!!value, priv->misc + ci->leds[card->index].green); in led_tx_set() 93 outb(!!value, priv->misc + ci->leds[card->index].red); in led_recon_set() 322 .leds = { 351 .leds = {
|
/linux-4.4.14/arch/arm/mach-ebsa110/ |
D | Makefile | 7 obj-y := core.o io.o leds.o
|
/linux-4.4.14/arch/mn10300/unit-asb2303/ |
D | Makefile | 6 obj-y := unit-init.o smc91111.o flash.o leds.o
|
/linux-4.4.14/include/linux/ |
D | leds-tca6507.h | 26 struct led_platform_data leds; member
|
D | leds_pwm.h | 18 struct led_pwm *leds; member
|
D | leds-lp3944.h | 46 struct lp3944_led leds[LP3944_LEDS_MAX]; member
|
D | leds-pca9532.h | 41 struct pca9532_led leds[16]; member
|
/linux-4.4.14/include/linux/platform_data/ |
D | leds-omap.h | 19 struct omap_led_config *leds; member
|
D | leds-pca963x.h | 37 struct led_platform_data leds; member
|
D | leds-kirkwood-ns2.h | 35 struct ns2_led *leds; member
|
D | leds-kirkwood-netxbig.h | 50 struct netxbig_led *leds; member
|
/linux-4.4.14/Documentation/gpio/ |
D | drivers-on-gpio.txt | 9 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 12 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 (and that LED may in turn use the leds-gpio as per above).
|
/linux-4.4.14/drivers/input/keyboard/ |
D | qt2160.c | 76 struct qt2160_led leds[QT2160_NUM_LEDS_X]; member 299 struct qt2160_led *led = &qt2160->leds[i]; in qt2160_register_leds() 328 led_classdev_unregister(&qt2160->leds[i].cdev); in qt2160_unregister_leds() 329 cancel_work_sync(&qt2160->leds[i].work); in qt2160_unregister_leds()
|
/linux-4.4.14/arch/m68k/sun3/ |
D | Makefile | 7 obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | Makefile | 1 rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o
|
/linux-4.4.14/arch/mips/bcm47xx/ |
D | Makefile | 7 obj-y += board.o buttons.o leds.o workarounds.o
|
/linux-4.4.14/drivers/leds/trigger/ |
D | Kconfig | 5 This option enables trigger support for the leds class. 18 For more details read Documentation/leds/leds-class.txt.
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal.c | 689 struct device_node *np, *consoles, *leds; in opal_init() local 731 leds = of_find_node_by_path("/ibm,opal/leds"); in opal_init() 732 if (leds) { in opal_init() 733 of_platform_device_create(leds, "opal_leds", NULL); in opal_init() 734 of_node_put(leds); in opal_init()
|
/linux-4.4.14/arch/arm64/boot/dts/qcom/ |
D | apq8016-sbc.dtsi | 62 leds { 68 compatible = "gpio-leds";
|
/linux-4.4.14/include/linux/mfd/ |
D | adp5520.h | 198 struct led_info *leds; member 280 struct adp5520_leds_platform_data *leds; member
|
D | htc-pasic3.h | 46 struct pasic3_led *leds; member
|
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/ |
D | board_bcm963xx.h | 49 struct gpio_led leds[5]; member
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | Makefile | 11 b43legacy-$(CONFIG_B43LEGACY_LEDS) += leds.o
|
/linux-4.4.14/arch/arc/boot/dts/ |
D | abilis_tb100_dvk.dts | 63 leds { 64 compatible = "gpio-leds";
|