Searched refs:leds (Results 1 - 25 of 383) sorted by relevance

1234567891011>>

/linux-master/drivers/leds/flash/
H A DMakefile3 obj-$(CONFIG_LEDS_MT6360) += leds-mt6360.o
4 obj-$(CONFIG_LEDS_MT6370_FLASH) += leds-mt6370-flash.o
5 obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
6 obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
7 obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o
8 obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o
9 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
10 obj-$(CONFIG_LEDS_QCOM_FLASH) += leds-qcom-flash.o
11 obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
12 obj-$(CONFIG_LEDS_RT8515) += leds
[all...]
/linux-master/drivers/leds/rgb/
H A DMakefile3 obj-$(CONFIG_LEDS_GROUP_MULTICOLOR) += leds-group-multicolor.o
4 obj-$(CONFIG_LEDS_KTD202X) += leds-ktd202x.o
5 obj-$(CONFIG_LEDS_NCP5623) += leds-ncp5623.o
6 obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
7 obj-$(CONFIG_LEDS_QCOM_LPG) += leds-qcom-lpg.o
8 obj-$(CONFIG_LEDS_MT6370_RGB) += leds-mt6370-rgb.o
/linux-master/drivers/leds/
H A DMakefile11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o
12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o
13 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
14 obj-$(CONFIG_LEDS_AN30259A) += leds-an30259a.o
15 obj-$(CONFIG_LEDS_APU) += leds-apu.o
16 obj-$(CONFIG_LEDS_ARIEL) += leds-ariel.o
17 obj-$(CONFIG_LEDS_AW200XX) += leds-aw200xx.o
18 obj-$(CONFIG_LEDS_AW2013) += leds-aw2013.o
19 obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o
20 obj-$(CONFIG_LEDS_BCM6358) += leds
[all...]
H A Dleds-gpio-register.c7 #include <linux/leds.h>
16 * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device
17 * with the result. This allows to have pdata and pdata-leds in .init.rodata
32 _pdata.leds = kmemdup(pdata->leds,
33 pdata->num_leds * sizeof(*pdata->leds), GFP_KERNEL);
34 if (!_pdata.leds)
37 ret = platform_device_register_resndata(NULL, "leds-gpio", id,
40 kfree(_pdata.leds);
[all...]
H A Dleds-ariel.c9 #include <linux/leds.h>
85 struct ariel_led *leds; local
94 leds = devm_kcalloc(dev, NLEDS, sizeof(*leds), GFP_KERNEL);
95 if (!leds)
98 leds[0].ec_index = EC_BLUE_LED;
99 leds[0].led_cdev.name = "blue:power";
100 leds[0].led_cdev.default_trigger = "default-on";
102 leds[1].ec_index = EC_AMBER_LED;
103 leds[
[all...]
H A Dleds-mc13783.c7 * Based on leds-da903x:
18 #include <linux/leds.h>
32 struct mc13xxx_leds *leds; member in struct:mc13xxx_led
57 struct mc13xxx_leds *leds = led->leds; local
105 return mc13xxx_reg_rmw(leds->master, leds->devtype->ledctrl_base + reg,
114 struct mc13xxx_leds *leds = platform_get_drvdata(pdev); local
124 parent = of_get_child_by_name(dev_of_node(dev->parent), "leds");
130 leds
183 struct mc13xxx_leds *leds; local
266 struct mc13xxx_leds *leds = platform_get_drvdata(pdev); local
[all...]
H A Dleds-sc27xx-bltc.c4 #include <linux/leds.h>
56 struct sc27xx_led leds[SC27XX_LEDS_MAX]; member in struct:sc27xx_led_priv
82 static u32 sc27xx_led_get_offset(struct sc27xx_led *leds) argument
84 return leds->priv->base + SC27XX_LEDS_OFFSET * leds->line;
87 static int sc27xx_led_enable(struct sc27xx_led *leds, enum led_brightness value) argument
89 u32 base = sc27xx_led_get_offset(leds);
90 u32 ctrl_base = leds->priv->base + SC27XX_LEDS_CTRL;
91 u8 ctrl_shift = SC27XX_CTRL_SHIFT * leds->line;
92 struct regmap *regmap = leds
107 sc27xx_led_disable(struct sc27xx_led *leds) argument
119 struct sc27xx_led *leds = to_sc27xx_led(ldev); local
148 struct sc27xx_led *leds = to_sc27xx_led(ldev); local
175 struct sc27xx_led *leds = to_sc27xx_led(ldev); local
[all...]
H A Dleds-mt6323.c8 #include <linux/leds.h>
156 struct mt6323_leds *leds = led->parent; local
157 const struct mt6323_regs *regs = leds->pdata->regs;
158 struct regmap *regmap = leds->hw->regmap;
181 struct mt6323_leds *leds = led->parent; local
182 const struct mt6323_regs *regs = leds->pdata->regs;
183 struct regmap *regmap = leds->hw->regmap;
207 struct mt6323_leds *leds = led->parent; local
208 const struct mt6323_regs *regs = leds->pdata->regs;
209 struct regmap *regmap = leds
239 struct mt6323_leds *leds = led->parent; local
294 struct mt6323_leds *leds = led->parent; local
363 struct mt6323_leds *leds = led->parent; local
392 struct mt6323_leds *leds = led->parent; local
426 struct mt6323_leds *leds = led->parent; local
457 struct mt6323_leds *leds = led->parent; local
477 struct mt6323_leds *leds = led->parent; local
532 struct mt6323_leds *leds; local
637 struct mt6323_leds *leds = platform_get_drvdata(pdev); local
[all...]
H A Dleds-cht-wcove.c14 #include <linux/leds.h>
77 struct cht_wc_led leds[CHT_WC_LED_COUNT]; member in struct:cht_wc_leds
340 struct cht_wc_leds *leds; local
352 leds = devm_kzalloc(&pdev->dev, sizeof(*leds), GFP_KERNEL);
353 if (!leds)
361 leds->leds[0].regs = &cht_wc_led_regs[0];
362 leds->leds[
408 struct cht_wc_leds *leds = platform_get_drvdata(pdev); local
421 struct cht_wc_leds *leds = platform_get_drvdata(pdev); local
435 struct cht_wc_leds *leds = dev_get_drvdata(dev); local
451 struct cht_wc_leds *leds = dev_get_drvdata(dev); local
[all...]
H A Dleds-menf21bmc.c15 #include <linux/leds.h>
31 static struct menf21bmc_led leds[] = { variable in typeref:struct:menf21bmc_led
82 for (i = 0; i < ARRAY_SIZE(leds); i++) {
83 leds[i].cdev.name = leds[i].name;
84 leds[i].cdev.brightness_set = menf21bmc_led_set;
85 leds[i].i2c_client = i2c_client;
86 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev);
H A Dleds-turris-omnia.c13 #include "leds.h"
57 struct omnia_led leds[]; member in struct:omnia_leds
144 struct omnia_leds *leds = dev_get_drvdata(cdev->dev->parent); local
148 mutex_lock(&leds->lock);
166 err = omnia_led_send_color_cmd(leds->client, led);
179 err = omnia_cmd_write_u8(leds->client, CMD_LED_STATE, state);
184 mutex_unlock(&leds->lock);
194 struct omnia_leds *leds = dev_get_drvdata(cdev->dev->parent); local
198 mutex_lock(&leds->lock);
209 err = omnia_led_send_color_cmd(leds
227 struct omnia_leds *leds = dev_get_drvdata(cdev->dev->parent); local
388 struct omnia_leds *leds = i2c_get_clientdata(client); local
407 struct omnia_leds *leds = i2c_get_clientdata(client); local
456 struct omnia_leds *leds; local
[all...]
/linux-master/drivers/leds/blink/
H A DMakefile2 obj-$(CONFIG_LEDS_BCM63138) += leds-bcm63138.o
3 obj-$(CONFIG_LEDS_LGM) += leds-lgm-sso.o
H A Dleds-bcm63138.c7 #include <linux/leds.h>
54 struct bcm63138_leds *leds; member in struct:bcm63138_led
64 static void bcm63138_leds_write(struct bcm63138_leds *leds, unsigned int reg, argument
67 writel(data, leds->base + reg);
70 static unsigned long bcm63138_leds_read(struct bcm63138_leds *leds, argument
73 return readl(leds->base + reg);
76 static void bcm63138_leds_update_bits(struct bcm63138_leds *leds, argument
81 bcm63138_leds_write(leds, reg, (bcm63138_leds_read(leds, reg) & ~mask) | (val & mask));
88 static void bcm63138_leds_set_flash_rate(struct bcm63138_leds *leds, argument
99 bcm63138_leds_set_bright(struct bcm63138_leds *leds, struct bcm63138_led *led, u8 value) argument
110 bcm63138_leds_enable_led(struct bcm63138_leds *leds, struct bcm63138_led *led, enum led_brightness value) argument
127 struct bcm63138_leds *leds = led->leds; local
146 struct bcm63138_leds *leds = led->leds; local
196 bcm63138_leds_create_led(struct bcm63138_leds *leds, struct device_node *np) argument
261 struct bcm63138_leds *leds; local
[all...]
/linux-master/drivers/leds/simple/
H A DMakefile2 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC) += simatic-ipc-leds.o
3 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_APOLLOLAKE) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-apollolake.o
4 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_F7188X) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-f7188x.o
5 obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC_ELKHARTLAKE) += simatic-ipc-leds-gpio-core.o simatic-ipc-leds-gpio-elkhartlake.o
/linux-master/include/linux/
H A Dleds-regulator.h3 * leds-regulator.h - platform data structure for regulator driven LEDs.
15 * { .dev_name = "leds-regulator.0", .supply = "vled" },
27 * .name = "leds-regulator",
35 #include <linux/leds.h>
H A Dleds-pca9532.h13 #include <linux/leds.h>
15 #include <dt-bindings/leds/leds-pca9532.h>
37 struct pca9532_led leds[16]; member in struct:pca9532_platform_data
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dled.c78 if (ar->leds[i].registered) {
79 if (ar->leds[i].last_state ||
80 ar->leds[i].toggled) {
82 if (ar->leds[i].toggled)
83 tmp = 70 + 200 / (ar->leds[i].toggled);
89 ar->leds[i].toggled = 0;
129 snprintf(ar->leds[i].name, sizeof(ar->leds[i].name),
132 ar->leds[i].ar = ar;
133 ar->leds[
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dleds.c17 #include "leds.h"
77 struct b43_leds *leds = container_of(work, struct b43_leds, work); local
78 struct b43_wl *wl = container_of(leds, struct b43_wl, leds);
86 b43_led_update(dev, &wl->leds.led_tx);
87 b43_led_update(dev, &wl->leds.led_rx);
88 b43_led_update(dev, &wl->leds.led_radio);
89 b43_led_update(dev, &wl->leds.led_assoc);
102 if (likely(!wl->leds.stop)) {
104 ieee80211_queue_work(wl->hw, &wl->leds
311 struct b43_leds *leds = &dev->wl->leds; local
321 struct b43_leds *leds = &dev->wl->leds; local
344 struct b43_leds *leds = &wl->leds; local
[all...]
/linux-master/drivers/input/
H A Dinput-leds.c12 #include <linux/leds.h>
53 struct input_led leds[] __counted_by(num_leds);
93 struct input_leds *leds; local
104 leds = kzalloc(struct_size(leds, leds, num_leds), GFP_KERNEL);
105 if (!leds)
108 leds->num_leds = num_leds;
110 leds->handle.dev = dev;
111 leds
178 struct input_leds *leds = handle->private; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A DMakefile2 rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o
/linux-master/drivers/net/wireless/intersil/p54/
H A Dled.c21 #include <linux/leds.h>
38 for (i = 0; i < ARRAY_SIZE(priv->leds); i++)
39 if (priv->leds[i].toggled) {
42 tmp = 70 + 200 / (priv->leds[i].toggled);
46 if (priv->leds[i].led_dev.brightness == LED_OFF)
49 priv->leds[i].toggled =
50 !!priv->leds[i].led_dev.brightness;
85 struct p54_led_dev *led = &priv->leds[led_index];
149 for (i = 0; i < ARRAY_SIZE(priv->leds); i++) {
150 if (priv->leds[
[all...]
/linux-master/drivers/video/backlight/
H A Dled_bl.c10 #include <linux/leds.h>
17 struct led_classdev **leds; member in struct:led_bl_data
36 led_set_brightness(priv->leds[i], bkl_brightness);
49 led_set_brightness(priv->leds[i], LED_OFF);
76 struct led_classdev **leds; local
80 ret = of_count_phandle_with_args(node, "leds", NULL);
92 leds = devm_kzalloc(dev, sizeof(struct led_classdev *) * nb_leds,
94 if (!leds)
98 leds[i] = devm_of_led_get(dev, i);
99 if (IS_ERR(leds[
[all...]
/linux-master/arch/mips/include/asm/mach-bcm63xx/
H A Dboard_bcm963xx.h7 #include <linux/leds.h>
45 struct gpio_led leds[5]; member in struct:board_info
/linux-master/arch/mips/bcm47xx/
H A DMakefile8 obj-y += board.o buttons.o leds.o workarounds.o
/linux-master/drivers/net/dsa/qca/
H A DMakefile6 qca8k-y += qca8k-leds.o

Completed in 499 milliseconds

1234567891011>>