/linux-4.4.14/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.4.14/drivers/input/keyboard/ |
D | gpio_keys_polled.c | 101 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_poll() 151 int nbuttons; in gpio_keys_polled_get_devtree_pdata() local 153 nbuttons = device_get_child_node_count(dev); in gpio_keys_polled_get_devtree_pdata() 154 if (nbuttons == 0) in gpio_keys_polled_get_devtree_pdata() 157 pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_polled_get_devtree_pdata() 181 button = &pdata->buttons[pdata->nbuttons++]; in gpio_keys_polled_get_devtree_pdata() 186 pdata->nbuttons - 1); in gpio_keys_polled_get_devtree_pdata() 211 if (pdata->nbuttons == 0) in gpio_keys_polled_get_devtree_pdata() 222 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_set_abs_params() 269 pdata->nbuttons * sizeof(struct gpio_keys_button_data); 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() 242 if (i == ddata->pdata->nbuttons) { in gpio_keys_attr_store_helper() 249 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_attr_store_helper() 559 for (i = 0; i < ddata->pdata->nbuttons; i++) { in gpio_keys_report_state() 609 int nbuttons; in gpio_keys_get_devtree_pdata() local 616 nbuttons = of_get_child_count(node); in gpio_keys_get_devtree_pdata() 617 if (nbuttons == 0) in gpio_keys_get_devtree_pdata() 621 sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_get_devtree_pdata() 627 pdata->nbuttons = nbuttons; 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.4.14/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.4.14/include/linux/ |
D | tca6416_keypad.h | 27 int nbuttons; member
|
D | gpio_keys.h | 50 int nbuttons; member
|
/linux-4.4.14/arch/mips/bcm47xx/ |
D | buttons.c | 395 size_t nbuttons) in bcm47xx_buttons_copy() argument 397 size_t size = nbuttons * sizeof(*buttons); in bcm47xx_buttons_copy() 402 bcm47xx_button_pdata.nbuttons = nbuttons; in bcm47xx_buttons_copy()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | csb701.c | 23 .nbuttons = ARRAY_SIZE(csb701_buttons),
|
D | ezx.c | 714 .nbuttons = ARRAY_SIZE(a780_buttons), 856 .nbuttons = ARRAY_SIZE(e680_buttons), 924 .nbuttons = ARRAY_SIZE(a1200_buttons), 992 .nbuttons = ARRAY_SIZE(a910_buttons), 1185 .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 | 127 .nbuttons = ARRAY_SIZE(palmte2_pxa_buttons),
|
D | palmtx.c | 226 .nbuttons = ARRAY_SIZE(palmtx_pxa_buttons),
|
D | palmtc.c | 147 .nbuttons = ARRAY_SIZE(palmtc_pxa_buttons),
|
D | vpac270.c | 266 .nbuttons = ARRAY_SIZE(vpac270_pxa_buttons),
|
D | z2.c | 461 .nbuttons = ARRAY_SIZE(z2_pxa_buttons),
|
D | mainstone.c | 405 .nbuttons = 1,
|
D | corgi.c | 437 .nbuttons = ARRAY_SIZE(corgi_gpio_keys),
|
D | mioa701.c | 270 .nbuttons = ARRAY_SIZE(mioa701_button_table),
|
D | magician.c | 173 .nbuttons = ARRAY_SIZE(magician_button_table),
|
D | hx4700.c | 191 .nbuttons = ARRAY_SIZE(gpio_keys_buttons),
|
D | spitz.c | 436 .nbuttons = ARRAY_SIZE(spitz_gpio_keys),
|
D | tosa.c | 537 .nbuttons = ARRAY_SIZE(tosa_gpio_keys),
|
D | raumfeld.c | 450 .nbuttons = ARRAY_SIZE(gpio_keys_button),
|
D | em-x270.c | 940 .nbuttons = 1,
|
/linux-4.4.14/arch/arm/mach-gemini/ |
D | board-rut1xx.c | 37 .nbuttons = ARRAY_SIZE(rut1xx_keys),
|
D | board-nas4220b.c | 78 .nbuttons = ARRAY_SIZE(ib4220b_keys),
|
D | board-wbd222.c | 39 .nbuttons = ARRAY_SIZE(wbd222_keys),
|
D | board-wbd111.c | 39 .nbuttons = ARRAY_SIZE(wbd111_keys),
|
/linux-4.4.14/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.4.14/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.4.14/arch/sh/boards/mach-rsk/ |
D | devices-rsk7203.c | 110 .nbuttons = ARRAY_SIZE(rsk7203_gpio_keys_table),
|
/linux-4.4.14/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 | 620 .nbuttons = ARRAY_SIZE(h1940_buttons),
|
D | mach-rx1950.c | 694 .nbuttons = ARRAY_SIZE(rx1950_gpio_keys_table),
|
/linux-4.4.14/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 | 231 .nbuttons = ARRAY_SIZE(crag6410_gpio_keys),
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | puv3-nb0916.c | 85 .nbuttons = ARRAY_SIZE(nb0916_gpio_keys),
|
/linux-4.4.14/drivers/mfd/ |
D | ucb1x00-assabet.c | 59 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add()
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | dns323-setup.c | 282 .nbuttons = ARRAY_SIZE(dns323ab_buttons), 296 .nbuttons = ARRAY_SIZE(dns323c_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.4.14/arch/arm/mach-imx/ |
D | mach-pcm037_eet.c | 158 .nbuttons = ARRAY_SIZE(pcm037_gpio_keys),
|
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.4.14/arch/sh/boards/mach-x3proto/ |
D | setup.c | 201 .nbuttons = ARRAY_SIZE(baseboard_buttons),
|
/linux-4.4.14/arch/mips/alchemy/ |
D | board-mtx1.c | 121 .nbuttons = ARRAY_SIZE(mtx1_gpio_button),
|
/linux-4.4.14/drivers/input/misc/ |
D | soc_button_array.c | 113 gpio_keys_pdata->nbuttons = n_buttons; in soc_button_device_create()
|
/linux-4.4.14/arch/avr32/boards/atngw100/ |
D | mrmt.c | 247 .nbuttons = ARRAY_SIZE(rmt_gpio_keys_buttons),
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | board-ldp.c | 157 .nbuttons = ARRAY_SIZE(ldp_gpio_keys_buttons),
|
D | board-rx51-peripherals.c | 360 .nbuttons = ARRAY_SIZE(rx51_gpio_keys),
|
/linux-4.4.14/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.4.14/arch/mips/jz4740/ |
D | board-qi_lb60.c | 351 .nbuttons = ARRAY_SIZE(qi_lb60_gpio_keys_buttons),
|
/linux-4.4.14/arch/blackfin/mach-bf561/boards/ |
D | ezkit.c | 367 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | board-htcherald.c | 282 .nbuttons = ARRAY_SIZE(herald_gpio_keys_table),
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/mips/alchemy/devboards/ |
D | db1300.c | 402 .nbuttons = ARRAY_SIZE(db1300_5waysw_arrowkeys),
|
/linux-4.4.14/arch/blackfin/mach-bf538/boards/ |
D | ezkit.c | 776 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.4.14/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.4.14/arch/blackfin/mach-bf609/boards/ |
D | ezkit.c | 1713 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|
/linux-4.4.14/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 103 .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table),
|