/linux-4.1.27/drivers/input/keyboard/ |
D | gpio_keys_polled.c | 74 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_poll() 109 int nbuttons; in gpio_keys_polled_get_devtree_pdata() local 111 nbuttons = device_get_child_node_count(dev); in gpio_keys_polled_get_devtree_pdata() 112 if (nbuttons == 0) in gpio_keys_polled_get_devtree_pdata() 115 pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_polled_get_devtree_pdata() 139 button = &pdata->buttons[pdata->nbuttons++]; in gpio_keys_polled_get_devtree_pdata() 144 pdata->nbuttons - 1); in gpio_keys_polled_get_devtree_pdata() 162 if (pdata->nbuttons == 0) in gpio_keys_polled_get_devtree_pdata() 201 pdata->nbuttons * sizeof(struct gpio_keys_button_data); in gpio_keys_polled_probe() 234 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_probe() [all …]
|
D | gpio_keys.c | 181 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_attr_show_helper() 229 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_attr_store_helper() 244 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_attr_store_helper() 548 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_report_state() 598 int nbuttons; in gpio_keys_get_devtree_pdata() local 605 nbuttons = of_get_child_count(node); in gpio_keys_get_devtree_pdata() 606 if (nbuttons == 0) in gpio_keys_get_devtree_pdata() 610 sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_get_devtree_pdata() 616 pdata->nbuttons = nbuttons; in gpio_keys_get_devtree_pdata() 667 if (pdata->nbuttons == 0) in gpio_keys_get_devtree_pdata() [all …]
|
D | tca6416-keypad.c | 223 pdata->nbuttons * sizeof(struct tca6416_button), in tca6416_keypad_probe() 255 for (i = 0; i < pdata->nbuttons; i++) { in tca6416_keypad_probe()
|
/linux-4.1.27/arch/mips/ath79/ |
D | dev-gpio-buttons.c | 20 unsigned nbuttons, in ath79_register_gpio_keys_polled() argument 28 p = kmemdup(buttons, nbuttons * sizeof(*p), GFP_KERNEL); in ath79_register_gpio_keys_polled() 38 pdata.nbuttons = nbuttons; in ath79_register_gpio_keys_polled()
|
D | dev-gpio-buttons.h | 20 unsigned nbuttons,
|
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/ |
D | platform_gpio_keys.c | 44 .nbuttons = -1, /* will fill it after search */ 78 gpio_keys.nbuttons = good; in pb_keys_init()
|
/linux-4.1.27/include/linux/ |
D | tca6416_keypad.h | 27 int nbuttons; member
|
D | gpio_keys.h | 50 int nbuttons; member
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | buttons.c | 388 size_t nbuttons) in bcm47xx_buttons_copy() argument 390 size_t size = nbuttons * sizeof(*buttons); in bcm47xx_buttons_copy() 396 bcm47xx_button_pdata.nbuttons = nbuttons; in bcm47xx_buttons_copy()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | csb701.c | 23 .nbuttons = ARRAY_SIZE(csb701_buttons),
|
D | ezx.c | 710 .nbuttons = ARRAY_SIZE(a780_buttons), 851 .nbuttons = ARRAY_SIZE(e680_buttons), 918 .nbuttons = ARRAY_SIZE(a1200_buttons), 985 .nbuttons = ARRAY_SIZE(a910_buttons), 1177 .nbuttons = ARRAY_SIZE(e6_buttons),
|
D | palmt5.c | 158 .nbuttons = ARRAY_SIZE(palmt5_pxa_buttons),
|
D | palmld.c | 226 .nbuttons = ARRAY_SIZE(palmld_pxa_buttons),
|
D | palmte2.c | 126 .nbuttons = ARRAY_SIZE(palmte2_pxa_buttons),
|
D | palmtx.c | 226 .nbuttons = ARRAY_SIZE(palmtx_pxa_buttons),
|
D | palmtc.c | 146 .nbuttons = ARRAY_SIZE(palmtc_pxa_buttons),
|
D | z2.c | 456 .nbuttons = ARRAY_SIZE(z2_pxa_buttons),
|
D | vpac270.c | 266 .nbuttons = ARRAY_SIZE(vpac270_pxa_buttons),
|
D | mainstone.c | 394 .nbuttons = 1,
|
D | magician.c | 164 .nbuttons = ARRAY_SIZE(magician_button_table),
|
D | corgi.c | 437 .nbuttons = ARRAY_SIZE(corgi_gpio_keys),
|
D | hx4700.c | 191 .nbuttons = ARRAY_SIZE(gpio_keys_buttons),
|
D | mioa701.c | 266 .nbuttons = ARRAY_SIZE(mioa701_button_table),
|
D | tosa.c | 537 .nbuttons = ARRAY_SIZE(tosa_gpio_keys),
|
D | spitz.c | 436 .nbuttons = ARRAY_SIZE(spitz_gpio_keys),
|
D | raumfeld.c | 450 .nbuttons = ARRAY_SIZE(gpio_keys_button),
|
D | em-x270.c | 940 .nbuttons = 1,
|
/linux-4.1.27/arch/arm/mach-gemini/ |
D | board-rut1xx.c | 37 .nbuttons = ARRAY_SIZE(rut1xx_keys),
|
D | board-nas4220b.c | 79 .nbuttons = ARRAY_SIZE(ib4220b_keys),
|
D | board-wbd111.c | 40 .nbuttons = ARRAY_SIZE(wbd111_keys),
|
D | board-wbd222.c | 40 .nbuttons = ARRAY_SIZE(wbd222_keys),
|
/linux-4.1.27/arch/x86/platform/geode/ |
D | geos.c | 46 .nbuttons = ARRAY_SIZE(geos_gpio_buttons),
|
D | net5501.c | 49 .nbuttons = ARRAY_SIZE(net5501_gpio_buttons),
|
D | alix.c | 57 .nbuttons = ARRAY_SIZE(alix_gpio_buttons),
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | simpad.c | 265 .nbuttons = ARRAY_SIZE(simpad_button_table), 286 .nbuttons = ARRAY_SIZE(simpad_polled_button_table),
|
D | h3xxx.c | 237 .nbuttons = ARRAY_SIZE(h3xxx_button_table),
|
D | collie.c | 262 .nbuttons = ARRAY_SIZE(collie_gpio_keys),
|
/linux-4.1.27/arch/sh/boards/mach-rsk/ |
D | devices-rsk7203.c | 110 .nbuttons = ARRAY_SIZE(rsk7203_gpio_keys_table),
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
D | mach-n30.c | 148 .nbuttons = ARRAY_SIZE(n30_buttons), 238 .nbuttons = ARRAY_SIZE(n35_buttons),
|
D | mach-gta02.c | 490 .nbuttons = ARRAY_SIZE(gta02_buttons),
|
D | mach-mini2440.c | 381 .nbuttons = ARRAY_SIZE(mini2440_buttons),
|
D | mach-h1940.c | 617 .nbuttons = ARRAY_SIZE(h1940_buttons),
|
D | mach-rx1950.c | 691 .nbuttons = ARRAY_SIZE(rx1950_gpio_keys_table),
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | puv3-nb0916.c | 81 .nbuttons = ARRAY_SIZE(nb0916_gpio_keys),
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
D | mach-smartq5.c | 99 .nbuttons = ARRAY_SIZE(smartq5_buttons),
|
D | mach-smartq7.c | 115 .nbuttons = ARRAY_SIZE(smartq7_buttons),
|
D | mach-crag6410.c | 227 .nbuttons = ARRAY_SIZE(crag6410_gpio_keys),
|
/linux-4.1.27/drivers/mfd/ |
D | ucb1x00-assabet.c | 59 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
D | dns323-setup.c | 331 .nbuttons = ARRAY_SIZE(dns323ab_buttons), 345 .nbuttons = ARRAY_SIZE(dns323c_buttons),
|
D | lsmini-setup.c | 154 .nbuttons = ARRAY_SIZE(lsmini_buttons),
|
D | ls_hgl-setup.c | 154 .nbuttons = ARRAY_SIZE(ls_hgl_buttons),
|
D | mv2120-setup.c | 94 .nbuttons = ARRAY_SIZE(mv2120_buttons),
|
D | wrt350n-v2-setup.c | 88 .nbuttons = ARRAY_SIZE(wrt350n_v2_buttons),
|
D | ls-chl-setup.c | 186 .nbuttons = ARRAY_SIZE(lschl_buttons),
|
D | ts409-setup.c | 229 .nbuttons = ARRAY_SIZE(qnap_ts409_buttons),
|
D | ts209-setup.c | 223 .nbuttons = ARRAY_SIZE(qnap_ts209_buttons),
|
D | net2big-setup.c | 328 .nbuttons = ARRAY_SIZE(net2big_buttons),
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | mach-pcm037_eet.c | 158 .nbuttons = ARRAY_SIZE(pcm037_gpio_keys),
|
D | eukrea_mbimxsd35-baseboard.c | 220 .nbuttons = ARRAY_SIZE(eukrea_mbimxsd_gpio_buttons),
|
D | mach-vpr200.c | 137 .nbuttons = ARRAY_SIZE(vpr200_gpio_keys_table),
|
D | mach-imx27_visstrim_m10.c | 307 .nbuttons = ARRAY_SIZE(visstrim_gpio_keys),
|
D | mach-armadillo5x0.c | 284 .nbuttons = ARRAY_SIZE(armadillo5x0_buttons),
|
/linux-4.1.27/arch/sh/boards/mach-x3proto/ |
D | setup.c | 201 .nbuttons = ARRAY_SIZE(baseboard_buttons),
|
/linux-4.1.27/arch/mips/alchemy/ |
D | board-mtx1.c | 120 .nbuttons = ARRAY_SIZE(mtx1_gpio_button),
|
/linux-4.1.27/drivers/input/misc/ |
D | soc_button_array.c | 114 gpio_keys_pdata->nbuttons = n_buttons; in soc_button_device_create()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | board-ldp.c | 157 .nbuttons = ARRAY_SIZE(ldp_gpio_keys_buttons),
|
D | board-overo.c | 361 .nbuttons = ARRAY_SIZE(gpio_buttons),
|
D | board-omap3beagle.c | 459 .nbuttons = ARRAY_SIZE(gpio_buttons),
|
D | board-omap3pandora.c | 164 .nbuttons = ARRAY_SIZE(pandora_gpio_keys),
|
D | board-rx51-peripherals.c | 360 .nbuttons = ARRAY_SIZE(rx51_gpio_keys),
|
/linux-4.1.27/arch/avr32/boards/atngw100/ |
D | mrmt.c | 248 .nbuttons = ARRAY_SIZE(rmt_gpio_keys_buttons),
|
/linux-4.1.27/arch/blackfin/mach-bf533/boards/ |
D | blackstamp.c | 351 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | ezkit.c | 379 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | stamp.c | 501 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/mips/jz4740/ |
D | board-qi_lb60.c | 351 .nbuttons = ARRAY_SIZE(qi_lb60_gpio_keys_buttons),
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | board-htcherald.c | 282 .nbuttons = ARRAY_SIZE(herald_gpio_keys_table),
|
/linux-4.1.27/arch/blackfin/mach-bf561/boards/ |
D | ezkit.c | 367 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/blackfin/mach-bf518/boards/ |
D | tcm-bf518.c | 578 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | ezbrd.c | 656 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | board-da850-evm.c | 431 .nbuttons = ARRAY_SIZE(da850_evm_ui_keys), 608 .nbuttons = ARRAY_SIZE(da850_evm_bb_keys),
|
/linux-4.1.27/arch/blackfin/mach-bf527/boards/ |
D | ezbrd.c | 699 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | cm_bf527.c | 824 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | ezkit.c | 1083 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
D | board-kzm9g.c | 546 .nbuttons = ARRAY_SIZE(gpio_buttons),
|
D | board-armadillo800eva.c | 625 .nbuttons = ARRAY_SIZE(gpio_buttons),
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
D | db1300.c | 401 .nbuttons = ARRAY_SIZE(db1300_5waysw_arrowkeys),
|
/linux-4.1.27/arch/blackfin/mach-bf538/boards/ |
D | ezkit.c | 776 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/blackfin/mach-bf548/boards/ |
D | cm_bf548.c | 1070 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
D | ezkit.c | 1792 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/blackfin/mach-bf609/boards/ |
D | ezkit.c | 1713 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 103 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|