nbuttons 429 arch/arm/mach-davinci/board-da850-evm.c .nbuttons = ARRAY_SIZE(da850_evm_ui_keys), nbuttons 606 arch/arm/mach-davinci/board-da850-evm.c .nbuttons = ARRAY_SIZE(da850_evm_bb_keys), nbuttons 270 arch/arm/mach-imx/mach-armadillo5x0.c .nbuttons = ARRAY_SIZE(armadillo5x0_buttons), nbuttons 288 arch/arm/mach-imx/mach-imx27_visstrim_m10.c .nbuttons = ARRAY_SIZE(visstrim_gpio_keys), nbuttons 152 arch/arm/mach-imx/mach-pcm037_eet.c .nbuttons = ARRAY_SIZE(pcm037_gpio_keys), nbuttons 127 arch/arm/mach-imx/mach-vpr200.c .nbuttons = ARRAY_SIZE(vpr200_gpio_keys_table), nbuttons 267 arch/arm/mach-omap1/board-htcherald.c .nbuttons = ARRAY_SIZE(herald_gpio_keys_table), nbuttons 329 arch/arm/mach-orion5x/dns323-setup.c .nbuttons = ARRAY_SIZE(dns323ab_buttons), nbuttons 343 arch/arm/mach-orion5x/dns323-setup.c .nbuttons = ARRAY_SIZE(dns323c_buttons), nbuttons 154 arch/arm/mach-orion5x/ls_hgl-setup.c .nbuttons = ARRAY_SIZE(ls_hgl_buttons), nbuttons 94 arch/arm/mach-orion5x/mv2120-setup.c .nbuttons = ARRAY_SIZE(mv2120_buttons), nbuttons 328 arch/arm/mach-orion5x/net2big-setup.c .nbuttons = ARRAY_SIZE(net2big_buttons), nbuttons 219 arch/arm/mach-orion5x/ts209-setup.c .nbuttons = ARRAY_SIZE(qnap_ts209_buttons), nbuttons 225 arch/arm/mach-orion5x/ts409-setup.c .nbuttons = ARRAY_SIZE(qnap_ts409_buttons), nbuttons 88 arch/arm/mach-orion5x/wrt350n-v2-setup.c .nbuttons = ARRAY_SIZE(wrt350n_v2_buttons), nbuttons 435 arch/arm/mach-pxa/corgi.c .nbuttons = ARRAY_SIZE(corgi_gpio_keys), nbuttons 24 arch/arm/mach-pxa/csb701.c .nbuttons = ARRAY_SIZE(csb701_buttons), nbuttons 925 arch/arm/mach-pxa/em-x270.c .nbuttons = 1, nbuttons 749 arch/arm/mach-pxa/ezx.c .nbuttons = ARRAY_SIZE(a780_buttons), nbuttons 864 arch/arm/mach-pxa/ezx.c .nbuttons = ARRAY_SIZE(e680_buttons), nbuttons 932 arch/arm/mach-pxa/ezx.c .nbuttons = ARRAY_SIZE(a1200_buttons), nbuttons 1000 arch/arm/mach-pxa/ezx.c .nbuttons = ARRAY_SIZE(a910_buttons), nbuttons 1163 arch/arm/mach-pxa/ezx.c .nbuttons = ARRAY_SIZE(e6_buttons), nbuttons 189 arch/arm/mach-pxa/hx4700.c .nbuttons = ARRAY_SIZE(gpio_keys_buttons), nbuttons 170 arch/arm/mach-pxa/magician.c .nbuttons = ARRAY_SIZE(magician_button_table), nbuttons 401 arch/arm/mach-pxa/mainstone.c .nbuttons = 1, nbuttons 256 arch/arm/mach-pxa/mioa701.c .nbuttons = ARRAY_SIZE(mioa701_button_table), nbuttons 222 arch/arm/mach-pxa/palmld.c .nbuttons = ARRAY_SIZE(palmld_pxa_buttons), nbuttons 154 arch/arm/mach-pxa/palmt5.c .nbuttons = ARRAY_SIZE(palmt5_pxa_buttons), nbuttons 155 arch/arm/mach-pxa/palmtc.c .nbuttons = ARRAY_SIZE(palmtc_pxa_buttons), nbuttons 134 arch/arm/mach-pxa/palmte2.c .nbuttons = ARRAY_SIZE(palmte2_pxa_buttons), nbuttons 221 arch/arm/mach-pxa/palmtx.c .nbuttons = ARRAY_SIZE(palmtx_pxa_buttons), nbuttons 433 arch/arm/mach-pxa/spitz.c .nbuttons = ARRAY_SIZE(spitz_gpio_keys), nbuttons 544 arch/arm/mach-pxa/tosa.c .nbuttons = ARRAY_SIZE(tosa_gpio_keys), nbuttons 273 arch/arm/mach-pxa/vpac270.c .nbuttons = ARRAY_SIZE(vpac270_pxa_buttons), nbuttons 466 arch/arm/mach-pxa/z2.c .nbuttons = ARRAY_SIZE(z2_pxa_buttons), nbuttons 466 arch/arm/mach-s3c24xx/mach-gta02.c .nbuttons = ARRAY_SIZE(gta02_buttons), nbuttons 625 arch/arm/mach-s3c24xx/mach-h1940.c .nbuttons = ARRAY_SIZE(h1940_buttons), nbuttons 392 arch/arm/mach-s3c24xx/mach-mini2440.c .nbuttons = ARRAY_SIZE(mini2440_buttons), nbuttons 146 arch/arm/mach-s3c24xx/mach-n30.c .nbuttons = ARRAY_SIZE(n30_buttons), nbuttons 236 arch/arm/mach-s3c24xx/mach-n30.c .nbuttons = ARRAY_SIZE(n35_buttons), nbuttons 706 arch/arm/mach-s3c24xx/mach-rx1950.c .nbuttons = ARRAY_SIZE(rx1950_gpio_keys_table), nbuttons 228 arch/arm/mach-s3c64xx/mach-crag6410.c .nbuttons = ARRAY_SIZE(crag6410_gpio_keys), nbuttons 93 arch/arm/mach-s3c64xx/mach-smartq5.c .nbuttons = ARRAY_SIZE(smartq5_buttons), nbuttons 109 arch/arm/mach-s3c64xx/mach-smartq7.c .nbuttons = ARRAY_SIZE(smartq7_buttons), nbuttons 518 arch/arm/mach-sa1100/assabet.c .nbuttons = ARRAY_SIZE(assabet_keys_buttons), nbuttons 262 arch/arm/mach-sa1100/collie.c .nbuttons = ARRAY_SIZE(collie_gpio_keys), nbuttons 191 arch/arm/mach-sa1100/h3xxx.c .nbuttons = ARRAY_SIZE(h3xxx_button_table), nbuttons 267 arch/arm/mach-sa1100/simpad.c .nbuttons = ARRAY_SIZE(simpad_button_table), nbuttons 288 arch/arm/mach-sa1100/simpad.c .nbuttons = ARRAY_SIZE(simpad_polled_button_table), nbuttons 110 arch/mips/alchemy/board-mtx1.c .nbuttons = ARRAY_SIZE(mtx1_gpio_button), nbuttons 404 arch/mips/alchemy/devboards/db1300.c .nbuttons = ARRAY_SIZE(db1300_5waysw_arrowkeys), nbuttons 460 arch/mips/bcm47xx/buttons.c size_t nbuttons) nbuttons 462 arch/mips/bcm47xx/buttons.c size_t size = nbuttons * sizeof(*buttons); nbuttons 467 arch/mips/bcm47xx/buttons.c bcm47xx_button_pdata.nbuttons = nbuttons; nbuttons 107 arch/sh/boards/mach-rsk/devices-rsk7203.c .nbuttons = ARRAY_SIZE(rsk7203_gpio_keys_table), nbuttons 198 arch/sh/boards/mach-x3proto/setup.c .nbuttons = ARRAY_SIZE(baseboard_buttons), nbuttons 82 arch/unicore32/kernel/puv3-nb0916.c .nbuttons = ARRAY_SIZE(nb0916_gpio_keys), nbuttons 57 arch/x86/platform/geode/alix.c .nbuttons = ARRAY_SIZE(alix_gpio_buttons), nbuttons 41 arch/x86/platform/geode/geos.c .nbuttons = ARRAY_SIZE(geos_gpio_buttons), nbuttons 43 arch/x86/platform/geode/net5501.c .nbuttons = ARRAY_SIZE(net5501_gpio_buttons), nbuttons 43 arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c .nbuttons = -1, /* will fill it after search */ nbuttons 76 arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c gpio_keys.nbuttons = good; nbuttons 40 drivers/hid/hid-elecom.c int nbuttons) nbuttons 47 drivers/hid/hid-elecom.c nbuttons = clamp(nbuttons, 0, MOUSE_BUTTONS_MAX); nbuttons 48 drivers/hid/hid-elecom.c rdesc[13] = nbuttons; nbuttons 49 drivers/hid/hid-elecom.c rdesc[21] = nbuttons; nbuttons 50 drivers/hid/hid-elecom.c rdesc[31] = MOUSE_BUTTONS_MAX - nbuttons; nbuttons 481 drivers/hid/wacom_wac.c int buttons = 0, nbuttons = features->numbered_buttons; nbuttons 602 drivers/hid/wacom_wac.c prox = (buttons & ~(~0U << nbuttons)) | (keys & ~(~0U << nkeys)) | nbuttons 605 drivers/hid/wacom_wac.c wacom_report_numbered_buttons(input, nbuttons, buttons); nbuttons 1430 drivers/hid/wacom_wac.c int nbuttons = wacom->features.numbered_buttons; nbuttons 1444 drivers/hid/wacom_wac.c wacom_report_numbered_buttons(pad_input, nbuttons, nbuttons 1445 drivers/hid/wacom_wac.c expresskeys | (center << (nbuttons - 1))); nbuttons 200 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 254 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 269 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 650 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 698 drivers/input/keyboard/gpio_keys.c int nbuttons; nbuttons 700 drivers/input/keyboard/gpio_keys.c nbuttons = device_get_child_node_count(dev); nbuttons 701 drivers/input/keyboard/gpio_keys.c if (nbuttons == 0) nbuttons 705 drivers/input/keyboard/gpio_keys.c sizeof(*pdata) + nbuttons * sizeof(*button), nbuttons 713 drivers/input/keyboard/gpio_keys.c pdata->nbuttons = nbuttons; nbuttons 780 drivers/input/keyboard/gpio_keys.c ddata = devm_kzalloc(dev, struct_size(ddata, data, pdata->nbuttons), nbuttons 788 drivers/input/keyboard/gpio_keys.c pdata->nbuttons, sizeof(ddata->keymap[0]), nbuttons 819 drivers/input/keyboard/gpio_keys.c input->keycodemax = pdata->nbuttons; nbuttons 825 drivers/input/keyboard/gpio_keys.c for (i = 0; i < pdata->nbuttons; i++) { nbuttons 922 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 951 drivers/input/keyboard/gpio_keys.c for (i = 0; i < ddata->pdata->nbuttons; i++) { nbuttons 99 drivers/input/keyboard/gpio_keys_polled.c for (i = 0; i < pdata->nbuttons; i++) { nbuttons 149 drivers/input/keyboard/gpio_keys_polled.c int nbuttons; nbuttons 151 drivers/input/keyboard/gpio_keys_polled.c nbuttons = device_get_child_node_count(dev); nbuttons 152 drivers/input/keyboard/gpio_keys_polled.c if (nbuttons == 0) nbuttons 155 drivers/input/keyboard/gpio_keys_polled.c pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), nbuttons 163 drivers/input/keyboard/gpio_keys_polled.c pdata->nbuttons = nbuttons; nbuttons 208 drivers/input/keyboard/gpio_keys_polled.c for (i = 0; i < pdata->nbuttons; i++) { nbuttons 251 drivers/input/keyboard/gpio_keys_polled.c bdev = devm_kzalloc(dev, struct_size(bdev, data, pdata->nbuttons), nbuttons 284 drivers/input/keyboard/gpio_keys_polled.c for (i = 0; i < pdata->nbuttons; i++) { nbuttons 368 drivers/input/keyboard/gpio_keys_polled.c for (i = 0; i < pdata->nbuttons; i++) nbuttons 345 drivers/input/keyboard/qt1050.c int nbuttons; nbuttons 347 drivers/input/keyboard/qt1050.c nbuttons = device_get_child_node_count(dev); nbuttons 348 drivers/input/keyboard/qt1050.c if (nbuttons == 0 || nbuttons > QT1050_MAX_KEYS) nbuttons 219 drivers/input/keyboard/tca6416-keypad.c chip = kzalloc(struct_size(chip, buttons, pdata->nbuttons), GFP_KERNEL); nbuttons 250 drivers/input/keyboard/tca6416-keypad.c for (i = 0; i < pdata->nbuttons; i++) { nbuttons 127 drivers/input/misc/soc_button_array.c gpio_keys_pdata->nbuttons = n_buttons; nbuttons 29 drivers/mfd/rohm-bd718x7.c .nbuttons = 1, nbuttons 56 drivers/mfd/ucb1x00-assabet.c keys.nbuttons = ARRAY_SIZE(buttons); nbuttons 118 drivers/platform/x86/pcengines-apuv2.c .nbuttons = ARRAY_SIZE(apu2_keys_buttons), nbuttons 133 drivers/platform/x86/surface3_button.c gpio_keys_pdata->nbuttons = n_buttons; nbuttons 52 include/linux/gpio_keys.h int nbuttons; nbuttons 24 include/linux/tca6416_keypad.h int nbuttons;