num_leds 646 arch/arm/mach-davinci/board-da850-evm.c .num_leds = ARRAY_SIZE(da850_evm_bb_leds), num_leds 334 arch/arm/mach-davinci/board-dm644x-evm.c .num_leds = ARRAY_SIZE(evm_leds), num_leds 213 arch/arm/mach-davinci/board-dm646x-evm.c .num_leds = ARRAY_SIZE(evm_leds), num_leds 140 arch/arm/mach-davinci/board-neuros-osd2.c .num_leds = ARRAY_SIZE(ntosd2_leds), num_leds 435 arch/arm/mach-ep93xx/core.c .num_leds = ARRAY_SIZE(ep93xx_led_pins), num_leds 317 arch/arm/mach-imx/mach-imx27_visstrim_m10.c .num_leds = ARRAY_SIZE(visstrim_m10_leds), num_leds 237 arch/arm/mach-imx/mach-mx31moboard.c .num_leds = ARRAY_SIZE(moboard_led), num_leds 440 arch/arm/mach-imx/mach-mx31moboard.c .num_leds = ARRAY_SIZE(mx31moboard_leds), num_leds 142 arch/arm/mach-imx/mx31lite-db.c .num_leds = ARRAY_SIZE(litekit_leds), num_leds 111 arch/arm/mach-ixp4xx/dsmg600-setup.c .num_leds = ARRAY_SIZE(dsmg600_led_pins), num_leds 96 arch/arm/mach-ixp4xx/nas100d-setup.c .num_leds = ARRAY_SIZE(nas100d_led_pins), num_leds 112 arch/arm/mach-ixp4xx/nslu2-setup.c .num_leds = ARRAY_SIZE(nslu2_led_pins), num_leds 162 arch/arm/mach-ixp4xx/omixp-setup.c .num_leds = ARRAY_SIZE(mic256_led_pins), num_leds 402 arch/arm/mach-omap1/board-ams-delta.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 288 arch/arm/mach-omap1/board-h2.c .num_leds = ARRAY_SIZE(h2_gpio_led_pins), num_leds 341 arch/arm/mach-omap1/board-h3.c .num_leds = ARRAY_SIZE(h3_gpio_led_pins), num_leds 296 arch/arm/mach-omap1/board-htcherald.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 182 arch/arm/mach-omap1/board-osk.c .num_leds = 3, num_leds 403 arch/arm/mach-omap1/board-osk.c .num_leds = ARRAY_SIZE(mistral_gpio_led_pins), num_leds 71 arch/arm/mach-orion5x/board-d2net.c .num_leds = ARRAY_SIZE(d2net_leds), num_leds 290 arch/arm/mach-orion5x/dns323-setup.c .num_leds = ARRAY_SIZE(dns323ab_leds), num_leds 296 arch/arm/mach-orion5x/dns323-setup.c .num_leds = ARRAY_SIZE(dns323c_leds), num_leds 110 arch/arm/mach-orion5x/ls_hgl-setup.c .num_leds = ARRAY_SIZE(ls_hgl_led_pins), num_leds 172 arch/arm/mach-orion5x/mv2120-setup.c .num_leds = ARRAY_SIZE(mv2120_led_pins), num_leds 237 arch/arm/mach-orion5x/net2big-setup.c .num_leds = ARRAY_SIZE(net2big_leds), num_leds 96 arch/arm/mach-orion5x/rd88f5182-setup.c .num_leds = ARRAY_SIZE(rd88f5182_gpio_led_pins), num_leds 190 arch/arm/mach-orion5x/ts409-setup.c .num_leds = ARRAY_SIZE(ts409_led_pins), num_leds 58 arch/arm/mach-orion5x/wrt350n-v2-setup.c .num_leds = ARRAY_SIZE(wrt350n_v2_led_pins), num_leds 399 arch/arm/mach-pxa/balloon3.c .num_leds = ARRAY_SIZE(balloon3_gpio_leds), num_leds 448 arch/arm/mach-pxa/balloon3.c .num_leds = ARRAY_SIZE(balloon3_pcf_gpio_leds), num_leds 165 arch/arm/mach-pxa/cm-x2xx.c .num_leds = ARRAY_SIZE(cmx2xx_leds), num_leds 606 arch/arm/mach-pxa/cm-x300.c .num_leds = ARRAY_SIZE(cm_x300_leds), num_leds 114 arch/arm/mach-pxa/colibri-pxa270-income.c .num_leds = ARRAY_SIZE(income_gpio_leds), num_leds 465 arch/arm/mach-pxa/corgi.c .num_leds = ARRAY_SIZE(corgi_gpio_leds), num_leds 44 arch/arm/mach-pxa/csb701.c .num_leds = ARRAY_SIZE(csb701_leds), num_leds 439 arch/arm/mach-pxa/magician.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 274 arch/arm/mach-pxa/mioa701.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 259 arch/arm/mach-pxa/palmld.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 384 arch/arm/mach-pxa/palmtc.c .num_leds = ARRAY_SIZE(palmtc_gpio_leds), num_leds 360 arch/arm/mach-pxa/palmtreo.c .num_leds = ARRAY_SIZE(treo680_gpio_leds), num_leds 384 arch/arm/mach-pxa/palmtreo.c .num_leds = ARRAY_SIZE(centro_gpio_leds), num_leds 191 arch/arm/mach-pxa/palmz72.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 189 arch/arm/mach-pxa/pcm027.c .num_leds = ARRAY_SIZE(pcm027_led), num_leds 471 arch/arm/mach-pxa/spitz.c .num_leds = ARRAY_SIZE(spitz_gpio_leds), num_leds 455 arch/arm/mach-pxa/stargate2.c .num_leds = ARRAY_SIZE(imote2_led_pins), num_leds 583 arch/arm/mach-pxa/tosa.c .num_leds = ARRAY_SIZE(tosa_gpio_leds), num_leds 254 arch/arm/mach-pxa/trizeps4.c .num_leds = ARRAY_SIZE(trizeps4_led), num_leds 307 arch/arm/mach-pxa/vpac270.c .num_leds = ARRAY_SIZE(vpac270_gpio_leds), num_leds 337 arch/arm/mach-pxa/z2.c .num_leds = ARRAY_SIZE(z2_gpio_leds), num_leds 471 arch/arm/mach-pxa/zeus.c .num_leds = ARRAY_SIZE(zeus_leds), num_leds 89 arch/arm/mach-pxa/zylonite.c .num_leds = ARRAY_SIZE(zylonite_debug_leds), num_leds 429 arch/arm/mach-s3c24xx/mach-h1940.c .num_leds = ARRAY_SIZE(h1940_leds_desc), num_leds 317 arch/arm/mach-s3c24xx/mach-rx1950.c .num_leds = ARRAY_SIZE(rx1950_leds_desc), num_leds 826 arch/arm/mach-s3c64xx/mach-crag6410.c .num_leds = ARRAY_SIZE(gpio_leds), num_leds 228 arch/arm/mach-s3c64xx/mach-hmt.c .num_leds = ARRAY_SIZE(hmt_leds), num_leds 45 arch/arm/mach-s3c64xx/mach-smartq5.c .num_leds = ARRAY_SIZE(smartq5_leds), num_leds 45 arch/arm/mach-s3c64xx/mach-smartq7.c .num_leds = ARRAY_SIZE(smartq7_leds), num_leds 502 arch/arm/mach-s3c64xx/mach-smdk6410.c .num_leds = ARRAY_SIZE(wm1192_pmic_leds), num_leds 494 arch/arm/mach-sa1100/assabet.c .num_leds = ARRAY_SIZE(assabet_leds), num_leds 93 arch/arm/mach-sa1100/badge4.c .num_leds = ARRAY_SIZE(badge4_gpio_leds), num_leds 86 arch/arm/mach-sa1100/cerf.c .num_leds = ARRAY_SIZE(cerf_gpio_leds), num_leds 154 arch/arm/mach-sa1100/hackkit.c .num_leds = ARRAY_SIZE(hackkit_gpio_leds), num_leds 141 arch/arm/mach-sa1100/lart.c .num_leds = ARRAY_SIZE(lart_gpio_leds), num_leds 313 arch/arm/mach-sa1100/simpad.c .num_leds = ARRAY_SIZE(simpad_leds), num_leds 195 arch/mips/alchemy/board-gpr.c .num_leds = ARRAY_SIZE(gpr_gpio_leds), num_leds 146 arch/mips/alchemy/board-mtx1.c .num_leds = ARRAY_SIZE(default_leds), num_leds 497 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(default_leds); num_leds 509 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(fb_fon_leds); num_leds 512 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(fb_sl_leds); num_leds 516 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(dsl502t_leds); num_leds 519 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(dg834g_leds); num_leds 522 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(titan_leds); num_leds 525 arch/mips/ar7/platform.c ar7_led_data.num_leds = ARRAY_SIZE(gt701_leds); num_leds 545 arch/mips/bcm47xx/leds.c bcm47xx_leds_pdata.num_leds = ARRAY_SIZE(dev_leds); \ num_leds 551 arch/mips/bcm47xx/leds.c bcm47xx_leds_pdata_extra.num_leds = ARRAY_SIZE(dev_leds); \ num_leds 791 arch/mips/bcm47xx/leds.c if (bcm47xx_leds_pdata_extra.num_leds) num_leds 903 arch/mips/bcm63xx/boards/board_bcm963xx.c bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds); num_leds 32 arch/mips/loongson32/ls1b/board.c .num_leds = ARRAY_SIZE(ls1x_gpio_leds), num_leds 754 arch/mips/txx9/generic/setup.c iocled->pdata.num_leds = num; num_leds 327 arch/mips/txx9/rbtx4927/setup.c .num_leds = ARRAY_SIZE(leds), num_leds 75 arch/sh/boards/mach-rsk/devices-rsk7203.c .num_leds = ARRAY_SIZE(rsk7203_gpio_leds), num_leds 31 arch/unicore32/kernel/gpio.c .num_leds = ARRAY_SIZE(puv3_gpio_leds), num_leds 91 arch/x86/platform/geode/alix.c .num_leds = ARRAY_SIZE(alix_leds), num_leds 75 arch/x86/platform/geode/geos.c .num_leds = ARRAY_SIZE(geos_leds), num_leds 65 arch/x86/platform/geode/net5501.c .num_leds = ARRAY_SIZE(net5501_leds), num_leds 75 drivers/hid/hid-led.c int num_leds; num_leds 257 drivers/hid/hid-led.c .num_leds = 1, num_leds 360 drivers/hid/hid-led.c .num_leds = 1, num_leds 370 drivers/hid/hid-led.c .num_leds = 1, num_leds 381 drivers/hid/hid-led.c .num_leds = 2, num_leds 392 drivers/hid/hid-led.c .num_leds = 1, num_leds 403 drivers/hid/hid-led.c .num_leds = 6, num_leds 415 drivers/hid/hid-led.c if (config->num_leds > 1) num_leds 482 drivers/hid/hid-led.c ldev->rgb = devm_kcalloc(&hdev->dev, ldev->config->num_leds, num_leds 493 drivers/hid/hid-led.c for (i = 0; i < ldev->config->num_leds; i++) { num_leds 157 drivers/iio/light/si1145.c unsigned int num_leds; num_leds 1039 drivers/iio/light/si1145.c switch (data->part_info->num_leds) { num_leds 576 drivers/iio/light/tsl2772.c int i, ret, num_leds, prox_diode_mask; num_leds 583 drivers/iio/light/tsl2772.c num_leds = ret; num_leds 584 drivers/iio/light/tsl2772.c if (num_leds > TSL2772_MAX_PROX_LEDS) num_leds 585 drivers/iio/light/tsl2772.c num_leds = TSL2772_MAX_PROX_LEDS; num_leds 588 drivers/iio/light/tsl2772.c leds, num_leds); num_leds 597 drivers/iio/light/tsl2772.c for (i = 0; i < num_leds; i++) { num_leds 46 drivers/input/input-leds.c unsigned int num_leds; num_leds 89 drivers/input/input-leds.c unsigned int num_leds; num_leds 94 drivers/input/input-leds.c num_leds = input_leds_get_count(dev); num_leds 95 drivers/input/input-leds.c if (!num_leds) num_leds 98 drivers/input/input-leds.c leds = kzalloc(struct_size(leds, leds, num_leds), GFP_KERNEL); num_leds 102 drivers/input/input-leds.c leds->num_leds = num_leds; num_leds 175 drivers/input/input-leds.c for (i = 0; i < leds->num_leds; i++) { num_leds 84 drivers/input/keyboard/cap11xx.c int num_leds; num_leds 93 drivers/input/keyboard/cap11xx.c unsigned int num_leds; num_leds 103 drivers/input/keyboard/cap11xx.c [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0 }, num_leds 104 drivers/input/keyboard/cap11xx.c [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2 }, num_leds 105 drivers/input/keyboard/cap11xx.c [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8 }, num_leds 208 drivers/input/keyboard/cap11xx.c if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) num_leds 249 drivers/input/keyboard/cap11xx.c struct cap11xx_priv *priv, int num_leds) num_leds 256 drivers/input/keyboard/cap11xx.c if (!num_leds || !cnt) num_leds 259 drivers/input/keyboard/cap11xx.c if (cnt > num_leds) num_leds 293 drivers/input/keyboard/cap11xx.c if (error != 0 || reg >= num_leds) { num_leds 307 drivers/input/keyboard/cap11xx.c priv->num_leds++; num_leds 315 drivers/input/keyboard/cap11xx.c struct cap11xx_priv *priv, int num_leds) num_leds 439 drivers/input/keyboard/cap11xx.c error = cap11xx_init_leds(dev, priv, cap->num_leds); num_leds 104 drivers/leds/leds-adp5520.c if (pdata->num_leds > ADP5520_01_MAXLEDS) { num_leds 110 drivers/leds/leds-adp5520.c led = devm_kcalloc(&pdev->dev, pdata->num_leds, sizeof(*led), num_leds 121 drivers/leds/leds-adp5520.c for (i = 0; i < pdata->num_leds; ++i) { num_leds 177 drivers/leds/leds-adp5520.c for (i = 0; i < pdata->num_leds; i++) { num_leds 78 drivers/leds/leds-an30259a.c int num_leds; num_leds 250 drivers/leds/leds-an30259a.c chip->num_leds = i; num_leds 315 drivers/leds/leds-an30259a.c for (i = 0; i < chip->num_leds; i++) { num_leds 112 drivers/leds/leds-da9052.c pled->num_leds, sizeof(struct da9052_led), num_leds 119 drivers/leds/leds-da9052.c for (i = 0; i < pled->num_leds; i++) { num_leds 171 drivers/leds/leds-da9052.c for (i = 0; i < pled->num_leds; i++) { num_leds 28 drivers/leds/leds-gpio-register.c if (!pdata->num_leds) num_leds 32 drivers/leds/leds-gpio-register.c pdata->num_leds * sizeof(*pdata->leds), GFP_KERNEL); num_leds 124 drivers/leds/leds-gpio.c int num_leds; num_leds 128 drivers/leds/leds-gpio.c static inline int sizeof_gpio_leds_priv(int num_leds) num_leds 131 drivers/leds/leds-gpio.c (sizeof(struct gpio_led_data) * num_leds); num_leds 150 drivers/leds/leds-gpio.c struct gpio_led_data *led_dat = &priv->leds[priv->num_leds]; num_leds 197 drivers/leds/leds-gpio.c priv->num_leds++; num_leds 262 drivers/leds/leds-gpio.c if (pdata && pdata->num_leds) { num_leds 264 drivers/leds/leds-gpio.c sizeof_gpio_leds_priv(pdata->num_leds), num_leds 269 drivers/leds/leds-gpio.c priv->num_leds = pdata->num_leds; num_leds 270 drivers/leds/leds-gpio.c for (i = 0; i < priv->num_leds; i++) { num_leds 308 drivers/leds/leds-gpio.c for (i = 0; i < priv->num_leds; i++) { num_leds 77 drivers/leds/leds-is31fl319x.c int num_leds; num_leds 81 drivers/leds/leds-is31fl319x.c .num_leds = 1, num_leds 85 drivers/leds/leds-is31fl319x.c .num_leds = 3, num_leds 89 drivers/leds/leds-is31fl319x.c .num_leds = 6, num_leds 93 drivers/leds/leds-is31fl319x.c .num_leds = 9, num_leds 128 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) { num_leds 223 drivers/leds/leds-is31fl319x.c if (!count || count > is31->cdef->num_leds) { num_leds 225 drivers/leds/leds-is31fl319x.c is31->cdef->num_leds); num_leds 239 drivers/leds/leds-is31fl319x.c if (reg < 1 || reg > is31->cdef->num_leds) { num_leds 377 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) num_leds 386 drivers/leds/leds-is31fl319x.c for (i = 0; i < is31->cdef->num_leds; i++) { num_leds 46 drivers/leds/leds-is31fl32xx.c unsigned int num_leds; num_leds 361 drivers/leds/leds-is31fl32xx.c for (i = 0; i < priv->num_leds; i++) { num_leds 377 drivers/leds/leds-is31fl32xx.c &priv->leds[priv->num_leds]; num_leds 405 drivers/leds/leds-is31fl32xx.c priv->num_leds++; num_leds 140 drivers/leds/leds-lm3532.c int num_leds; num_leds 429 drivers/leds/leds-lm3532.c for (i = 0; i < led->num_leds; i++) { num_leds 624 drivers/leds/leds-lm3532.c led->num_leds = fwnode_property_count_u32(child, "led-sources"); num_leds 625 drivers/leds/leds-lm3532.c if (led->num_leds > LM3532_MAX_LED_STRINGS) { num_leds 632 drivers/leds/leds-lm3532.c led->num_leds); num_leds 40 drivers/leds/leds-lm36274.c int num_leds; num_leds 56 drivers/leds/leds-lm36274.c for (i = 0; i < lm36274_data->num_leds; i++) num_leds 93 drivers/leds/leds-lm36274.c lm36274_data->num_leds = fwnode_property_count_u32(child, "led-sources"); num_leds 94 drivers/leds/leds-lm36274.c if (lm36274_data->num_leds <= 0) num_leds 99 drivers/leds/leds-lm36274.c lm36274_data->num_leds); num_leds 59 drivers/leds/leds-lm3697.c int num_leds; num_leds 247 drivers/leds/leds-lm3697.c led->num_leds = fwnode_property_count_u32(child, "led-sources"); num_leds 248 drivers/leds/leds-lm3697.c if (led->num_leds > LM3697_MAX_LED_STRINGS) { num_leds 255 drivers/leds/leds-lm3697.c led->num_leds); num_leds 262 drivers/leds/leds-lm3697.c for (j = 0; j < led->num_leds; j++) num_leds 482 drivers/leds/leds-lp55xx-common.c chip->num_leds++; num_leds 503 drivers/leds/leds-lp55xx-common.c for (i = 0; i < chip->num_leds; i++) { num_leds 151 drivers/leds/leds-lp55xx-common.h int num_leds; num_leds 70 drivers/leds/leds-max77650.c int rv, num_leds; num_leds 84 drivers/leds/leds-max77650.c num_leds = device_get_child_node_count(dev); num_leds 85 drivers/leds/leds-max77650.c if (!num_leds || num_leds > MAX77650_LED_NUM_LEDS) num_leds 50 drivers/leds/leds-max77693.c u32 num_leds; num_leds 682 drivers/leds/leds-max77693.c if (++cfg->num_leds == 2 || num_leds 690 drivers/leds/leds-max77693.c if (cfg->num_leds == 0) { num_leds 735 drivers/leds/leds-max77693.c if (cfg->num_leds == 1 && num_leds 38 drivers/leds/leds-mc13783.c int num_leds; num_leds 134 drivers/leds/leds-mc13783.c pdata->num_leds = of_get_child_count(parent); num_leds 136 drivers/leds/leds-mc13783.c pdata->led = devm_kcalloc(dev, pdata->num_leds, sizeof(*pdata->led), num_leds 160 drivers/leds/leds-mc13783.c pdata->num_leds = i; num_leds 202 drivers/leds/leds-mc13783.c leds->num_leds = pdata->num_leds; num_leds 204 drivers/leds/leds-mc13783.c if ((leds->num_leds < 1) || num_leds 205 drivers/leds/leds-mc13783.c (leds->num_leds > (devtype->led_max - devtype->led_min + 1))) { num_leds 206 drivers/leds/leds-mc13783.c dev_err(dev, "Invalid LED count %d\n", leds->num_leds); num_leds 210 drivers/leds/leds-mc13783.c leds->led = devm_kcalloc(dev, leds->num_leds, sizeof(*leds->led), num_leds 222 drivers/leds/leds-mc13783.c for (i = 0; i < leds->num_leds; i++) { num_leds 269 drivers/leds/leds-mc13783.c for (i = 0; i < leds->num_leds; i++) num_leds 58 drivers/leds/leds-netxbig.c int num_leds; num_leds 419 drivers/leds/leds-netxbig.c int num_leds = 0; num_leds 470 drivers/leds/leds-netxbig.c num_leds = of_get_child_count(np); num_leds 471 drivers/leds/leds-netxbig.c if (!num_leds) { num_leds 476 drivers/leds/leds-netxbig.c leds = devm_kcalloc(dev, num_leds, sizeof(*leds), GFP_KERNEL); num_leds 553 drivers/leds/leds-netxbig.c pdata->num_leds = num_leds; num_leds 583 drivers/leds/leds-netxbig.c pdata->num_leds, sizeof(*leds_data), num_leds 592 drivers/leds/leds-netxbig.c for (i = 0; i < pdata->num_leds; i++) { num_leds 248 drivers/leds/leds-ns2.c int ret, num_leds = 0; num_leds 250 drivers/leds/leds-ns2.c num_leds = of_get_child_count(np); num_leds 251 drivers/leds/leds-ns2.c if (!num_leds) num_leds 254 drivers/leds/leds-ns2.c leds = devm_kcalloc(dev, num_leds, sizeof(struct ns2_led), num_leds 317 drivers/leds/leds-ns2.c pdata->num_leds = num_leds; num_leds 334 drivers/leds/leds-ns2.c int num_leds; num_leds 338 drivers/leds/leds-ns2.c static inline int sizeof_ns2_led_priv(int num_leds) num_leds 341 drivers/leds/leds-ns2.c (sizeof(struct ns2_led_data) * num_leds); num_leds 369 drivers/leds/leds-ns2.c sizeof_ns2_led_priv(pdata->num_leds), GFP_KERNEL); num_leds 372 drivers/leds/leds-ns2.c priv->num_leds = pdata->num_leds; num_leds 374 drivers/leds/leds-ns2.c for (i = 0; i < priv->num_leds; i++) { num_leds 396 drivers/leds/leds-ns2.c for (i = 0; i < priv->num_leds; i++) num_leds 34 drivers/leds/leds-pca9532.c u8 num_leds; num_leds 74 drivers/leds/leds-pca9532.c .num_leds = 2, num_leds 77 drivers/leds/leds-pca9532.c .num_leds = 8, num_leds 80 drivers/leds/leds-pca9532.c .num_leds = 16, num_leds 83 drivers/leds/leds-pca9532.c .num_leds = 4, num_leds 119 drivers/leds/leds-pca9532.c for (i = 0; i < data->chip_info->num_leds; i++) { num_leds 143 drivers/leds/leds-pca9532.c u8 maxleds = data->chip_info->num_leds; num_leds 159 drivers/leds/leds-pca9532.c u8 maxleds = data->chip_info->num_leds; num_leds 245 drivers/leds/leds-pca9532.c u8 maxleds = data->chip_info->num_leds; num_leds 257 drivers/leds/leds-pca9532.c u8 maxleds = data->chip_info->num_leds; num_leds 356 drivers/leds/leds-pca9532.c u8 maxleds = data->chip_info->num_leds; num_leds 367 drivers/leds/leds-pca9532.c for (i = 0; i < data->chip_info->num_leds; i++) { num_leds 441 drivers/leds/leds-pca9532.c data->gpio.ngpio = data->chip_info->num_leds; num_leds 480 drivers/leds/leds-pca9532.c maxleds = pca9532_chip_info_tbl[devid].num_leds; num_leds 560 drivers/leds/leds-pca9532.c err = pca9532_destroy_devices(data, data->chip_info->num_leds); num_leds 130 drivers/leds/leds-pca955x.c int num_leds; num_leds 406 drivers/leds/leds-pca955x.c pdata->num_leds = chip->bits; num_leds 455 drivers/leds/leds-pca955x.c if (pdata->num_leds != chip->bits) { num_leds 458 drivers/leds/leds-pca955x.c pdata->num_leds, chip->bits); num_leds 321 drivers/leds/leds-pca963x.c pdata->leds.num_leds = chip->n_leds; num_leds 377 drivers/leds/leds-pca963x.c if (pdata && (pdata->leds.num_leds < 1 || num_leds 378 drivers/leds/leds-pca963x.c pdata->leds.num_leds > chip->n_leds)) { num_leds 409 drivers/leds/leds-pca963x.c if (pdata && i < pdata->leds.num_leds) { num_leds 418 drivers/leds/leds-pca963x.c if (!pdata || i >= pdata->leds.num_leds || num_leds 31 drivers/leds/leds-pwm.c int num_leds; num_leds 71 drivers/leds/leds-pwm.c struct led_pwm_data *led_data = &priv->leds[priv->num_leds]; num_leds 110 drivers/leds/leds-pwm.c priv->num_leds++; num_leds 164 drivers/leds/leds-pwm.c count = pdata->num_leds; num_leds 730 drivers/leds/leds-tca6507.c pdata->leds.num_leds = NUM_LEDS; num_leds 767 drivers/leds/leds-tca6507.c if (!pdata || pdata->leds.num_leds != NUM_LEDS) { num_leds 775 drivers/mfd/88pm860x-core.c if (pdata->num_leds > ARRAY_SIZE(led_devs)) num_leds 776 drivers/mfd/88pm860x-core.c pdata->num_leds = ARRAY_SIZE(led_devs); num_leds 777 drivers/mfd/88pm860x-core.c for (i = 0; i < pdata->num_leds; i++) { num_leds 282 drivers/mfd/dm355evm_msp.c .num_leds = ARRAY_SIZE(evm_leds), num_leds 439 drivers/mfd/lm3533-core.c if (!pdata->leds || pdata->num_leds == 0) num_leds 442 drivers/mfd/lm3533-core.c if (pdata->num_leds > ARRAY_SIZE(lm3533_led_devs)) num_leds 443 drivers/mfd/lm3533-core.c pdata->num_leds = ARRAY_SIZE(lm3533_led_devs); num_leds 445 drivers/mfd/lm3533-core.c for (i = 0; i < pdata->num_leds; ++i) { num_leds 451 drivers/mfd/lm3533-core.c pdata->num_leds, NULL, 0, NULL); num_leds 8817 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->num_leds = 0; num_leds 8829 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (resp->num_leds > 0 && resp->num_leds < BNXT_MAX_LED) { num_leds 8832 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->num_leds = resp->num_leds; num_leds 8834 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->num_leds); num_leds 8835 drivers/net/ethernet/broadcom/bnxt/bnxt.c for (i = 0; i < bp->num_leds; i++) { num_leds 8841 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->num_leds = 0; num_leds 1807 drivers/net/ethernet/broadcom/bnxt/bnxt.h u8 num_leds; num_leds 2608 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (!bp->num_leds || BNXT_VF(bp)) num_leds 2622 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c req.num_leds = bp->num_leds; num_leds 2624 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c for (i = 0; i < bp->num_leds; i++, led_cfg++) { num_leds 3360 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 num_leds; num_leds 3467 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 num_leds; num_leds 3581 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 num_leds; num_leds 85 drivers/platform/x86/pcengines-apuv2.c .num_leds = ARRAY_SIZE(apu2_leds), num_leds 225 drivers/video/backlight/adp8860_bl.c led = devm_kcalloc(&client->dev, pdata->num_leds, sizeof(*led), num_leds 241 drivers/video/backlight/adp8860_bl.c for (i = 0; i < pdata->num_leds; ++i) { num_leds 305 drivers/video/backlight/adp8860_bl.c for (i = 0; i < pdata->num_leds; i++) { num_leds 751 drivers/video/backlight/adp8860_bl.c if (pdata->num_leds) num_leds 248 drivers/video/backlight/adp8870_bl.c led = devm_kcalloc(&client->dev, pdata->num_leds, sizeof(*led), num_leds 267 drivers/video/backlight/adp8870_bl.c for (i = 0; i < pdata->num_leds; ++i) { num_leds 331 drivers/video/backlight/adp8870_bl.c for (i = 0; i < pdata->num_leds; i++) { num_leds 923 drivers/video/backlight/adp8870_bl.c if (pdata->num_leds) num_leds 489 include/linux/leds.h int num_leds; num_leds 525 include/linux/leds.h int num_leds; num_leds 18 include/linux/leds_pwm.h int num_leds; num_leds 462 include/linux/mfd/88pm860x.h int num_leds; num_leds 196 include/linux/mfd/adp5520.h int num_leds; num_leds 44 include/linux/mfd/htc-pasic3.h unsigned int num_leds; num_leds 83 include/linux/mfd/lm3533.h int num_leds; num_leds 177 include/linux/mfd/mc13xxx.h int num_leds; num_leds 128 include/linux/platform_data/adp8860.h int num_leds; num_leds 144 include/linux/platform_data/adp8870.h int num_leds; num_leds 34 include/linux/platform_data/leds-kirkwood-ns2.h int num_leds;