/linux-3.4.99/arch/mips/ath79/ |
D | dev-leds-gpio.c | 19 unsigned num_leds, in ath79_register_leds_gpio() argument 27 p = kmalloc(num_leds * sizeof(*p), GFP_KERNEL); in ath79_register_leds_gpio() 31 memcpy(p, leds, num_leds * sizeof(*p)); in ath79_register_leds_gpio() 38 pdata.num_leds = num_leds; in ath79_register_leds_gpio()
|
D | dev-leds-gpio.h | 18 unsigned num_leds,
|
/linux-3.4.99/drivers/leds/ |
D | leds-gpio.c | 157 int num_leds; member 161 static inline int sizeof_gpio_leds_priv(int num_leds) in sizeof_gpio_leds_priv() argument 164 (sizeof(struct gpio_led_data) * num_leds); in sizeof_gpio_leds_priv() 205 ret = create_gpio_led(&led, &priv->leds[priv->num_leds++], in gpio_leds_create_of() 216 for (count = priv->num_leds - 2; count >= 0; count--) in gpio_leds_create_of() 241 if (pdata && pdata->num_leds) { in gpio_led_probe() 242 priv = kzalloc(sizeof_gpio_leds_priv(pdata->num_leds), in gpio_led_probe() 247 priv->num_leds = pdata->num_leds; in gpio_led_probe() 248 for (i = 0; i < priv->num_leds; i++) { in gpio_led_probe() 276 for (i = 0; i < priv->num_leds; i++) in gpio_led_remove()
|
D | leds-pca9532.c | 36 u8 num_leds; member 76 .num_leds = 2, 79 .num_leds = 8, 82 .num_leds = 16, 85 .num_leds = 4, 108 for (i = 0; i < data->chip_info->num_leds; i++) { in pca9532_calcpwm() 132 u8 maxleds = data->chip_info->num_leds; in pca9532_setpwm() 148 u8 maxleds = data->chip_info->num_leds; in pca9532_setled() 228 u8 maxleds = data->chip_info->num_leds; in pca9532_input_work() 341 u8 maxleds = data->chip_info->num_leds; in pca9532_configure() [all …]
|
D | leds-atmel-pwm.c | 46 if (!pdata || pdata->num_leds < 1) in pwmled_probe() 49 leds = kcalloc(pdata->num_leds, sizeof(*leds), GFP_KERNEL); in pwmled_probe() 53 for (i = 0; i < pdata->num_leds; i++) { in pwmled_probe() 125 for (i = 0; i < pdata->num_leds; i++) { in pwmled_remove()
|
D | leds-pwm.c | 60 leds_data = kzalloc(sizeof(struct led_pwm_data) * pdata->num_leds, in led_pwm_probe() 65 for (i = 0; i < pdata->num_leds; i++) { in led_pwm_probe() 119 for (i = 0; i < pdata->num_leds; i++) { in led_pwm_remove()
|
D | leds-mc13783.c | 278 if (pdata->num_leds < 1 || pdata->num_leds > (MC13783_LED_MAX + 1)) { in mc13783_led_probe() 279 dev_err(&pdev->dev, "Invalid led count %d\n", pdata->num_leds); in mc13783_led_probe() 283 led = kzalloc(sizeof(*led) * pdata->num_leds, GFP_KERNEL); in mc13783_led_probe() 295 for (i = 0; i < pdata->num_leds; i++) { in mc13783_led_probe() 359 for (i = 0; i < pdata->num_leds; i++) { in mc13783_led_remove()
|
D | leds-adp5520.c | 116 if (pdata->num_leds > ADP5520_01_MAXLEDS) { in adp5520_led_probe() 122 led = kzalloc(sizeof(*led) * pdata->num_leds, GFP_KERNEL); in adp5520_led_probe() 135 for (i = 0; i < pdata->num_leds; ++i) { in adp5520_led_probe() 198 for (i = 0; i < pdata->num_leds; i++) { in adp5520_led_remove()
|
D | leds-lt3593.c | 152 leds_data = kzalloc(sizeof(struct lt3593_led_data) * pdata->num_leds, in lt3593_led_probe() 157 for (i = 0; i < pdata->num_leds; i++) { in lt3593_led_probe() 185 for (i = 0; i < pdata->num_leds; i++) in lt3593_led_remove()
|
D | leds-pca9633.c | 105 if (pdata->num_leds <= 0 || pdata->num_leds > 4) { in pca9633_probe() 122 if (pdata && i < pdata->num_leds) { in pca9633_probe()
|
D | leds-ns2.c | 277 pdata->num_leds, GFP_KERNEL); in ns2_led_probe() 281 for (i = 0; i < pdata->num_leds; i++) { in ns2_led_probe() 309 for (i = 0; i < pdata->num_leds; i++) in ns2_led_remove()
|
D | leds-gpio-register.c | 32 pdata->num_leds * sizeof(*pdata->leds), GFP_KERNEL); in gpio_led_register_device()
|
D | leds-netxbig.c | 365 leds_data = kzalloc(sizeof(struct netxbig_led_data) * pdata->num_leds, in netxbig_led_probe() 374 for (i = 0; i < pdata->num_leds; i++) { in netxbig_led_probe() 403 for (i = 0; i < pdata->num_leds; i++) in netxbig_led_remove()
|
/linux-3.4.99/arch/mips/ar7/ |
D | platform.c | 513 ar7_led_data.num_leds = ARRAY_SIZE(default_leds); in detect_leds() 525 ar7_led_data.num_leds = ARRAY_SIZE(fb_fon_leds); in detect_leds() 528 ar7_led_data.num_leds = ARRAY_SIZE(fb_sl_leds); in detect_leds() 532 ar7_led_data.num_leds = ARRAY_SIZE(dsl502t_leds); in detect_leds() 535 ar7_led_data.num_leds = ARRAY_SIZE(dg834g_leds); in detect_leds() 538 ar7_led_data.num_leds = ARRAY_SIZE(titan_leds); in detect_leds() 541 ar7_led_data.num_leds = ARRAY_SIZE(gt701_leds); in detect_leds()
|
/linux-3.4.99/include/linux/ |
D | leds.h | 180 int num_leds; member 199 int num_leds; member
|
D | leds_pwm.h | 17 int num_leds; member
|
/linux-3.4.99/arch/arm/mach-at91/ |
D | leds.c | 48 led_data.num_leds = nr; in at91_gpio_leds() 85 pwm_led_data.num_leds = nr; in at91_pwm_leds()
|
D | board-gsia18s.c | 160 .num_leds = ARRAY_SIZE(gpio_leds), 232 .num_leds = ARRAY_SIZE(pcf_gpio_leds1), 285 .num_leds = ARRAY_SIZE(pcf_gpio_leds2), 325 .num_leds = ARRAY_SIZE(pcf_gpio_leds3),
|
/linux-3.4.99/arch/arm/mach-kirkwood/ |
D | d2net_v2-setup.c | 117 .num_leds = ARRAY_SIZE(d2net_v2_gpio_led_pins), 145 .num_leds = ARRAY_SIZE(d2net_v2_led_pins),
|
D | netspace_v2-setup.c | 100 .num_leds = ARRAY_SIZE(netspace_v2_gpio_led_pins), 128 .num_leds = ARRAY_SIZE(netspace_v2_led_pins),
|
/linux-3.4.99/arch/arm/mach-kirkwood/include/mach/ |
D | leds-ns2.h | 22 int num_leds; member
|
D | leds-netxbig.h | 52 int num_leds; member
|
/linux-3.4.99/include/linux/mfd/ |
D | htc-pasic3.h | 44 unsigned int num_leds; member
|
/linux-3.4.99/arch/arm/mach-pxa/ |
D | csb701.c | 43 .num_leds = ARRAY_SIZE(csb701_leds),
|
/linux-3.4.99/arch/arm/mach-gemini/ |
D | board-rut1xx.c | 62 .num_leds = ARRAY_SIZE(rut100_leds),
|