| /linux/drivers/hid/ |
| H A D | hid-elecom.c | 42 int nbuttons) in mouse_button_fixup() argument 50 nbuttons = clamp(nbuttons, 0, MOUSE_BUTTONS_MAX); in mouse_button_fixup() 51 rdesc[button_bit_count + 1] = nbuttons; in mouse_button_fixup() 52 rdesc[button_usage_maximum + 1] = nbuttons; in mouse_button_fixup() 53 rdesc[padding_bit + 1] = MOUSE_BUTTONS_MAX - nbuttons; in mouse_button_fixup()
|
| H A D | wacom_wac.c | 519 int buttons = 0, nbuttons = features->numbered_buttons; in wacom_intuos_pad() local 640 prox = (buttons & ~(~0U << nbuttons)) | (keys & ~(~0U << nkeys)) | in wacom_intuos_pad() 643 wacom_report_numbered_buttons(input, nbuttons, buttons); in wacom_intuos_pad() 1467 int nbuttons = wacom->features.numbered_buttons; in wacom_intuos_pro2_bt_pad() local 1481 wacom_report_numbered_buttons(pad_input, nbuttons, in wacom_intuos_pro2_bt_pad() 1482 expresskeys | (center << (nbuttons - 1))); in wacom_intuos_pro2_bt_pad()
|
| /linux/drivers/input/keyboard/ |
| H A D | gpio_keys_polled.c | 96 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_poll() 147 int nbuttons; in gpio_keys_polled_get_devtree_pdata() local 149 nbuttons = device_get_child_node_count(dev); in gpio_keys_polled_get_devtree_pdata() 150 if (nbuttons == 0) in gpio_keys_polled_get_devtree_pdata() 153 pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_polled_get_devtree_pdata() 161 pdata->nbuttons = nbuttons; in gpio_keys_polled_get_devtree_pdata() 205 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_set_abs_params() 247 bdev = devm_kzalloc(dev, struct_size(bdev, data, pdata->nbuttons), in gpio_keys_polled_probe() 277 for (i = 0; i < pdata->nbuttons; i++) { in gpio_keys_polled_probe() 360 for (i = 0; i < pdata->nbuttons; i++) in gpio_keys_polled_probe()
|
| H A D | qt1050.c | 349 int nbuttons; in qt1050_parse_fw() local 351 nbuttons = device_get_child_node_count(dev); in qt1050_parse_fw() 352 if (nbuttons == 0 || nbuttons > QT1050_MAX_KEYS) in qt1050_parse_fw()
|
| /linux/arch/mips/bcm47xx/ |
| H A D | buttons.c | 502 size_t nbuttons) in bcm47xx_buttons_copy() argument 504 size_t size = nbuttons * sizeof(*buttons); in bcm47xx_buttons_copy() 509 bcm47xx_button_pdata.nbuttons = nbuttons; in bcm47xx_buttons_copy()
|
| /linux/include/linux/ |
| H A D | gpio_keys.h | 54 int nbuttons; member
|
| /linux/arch/sh/boards/mach-rsk/ |
| H A D | devices-rsk7203.c | 107 .nbuttons = ARRAY_SIZE(rsk7203_gpio_keys_table),
|
| /linux/arch/arm/mach-orion5x/ |
| H A D | dns323-setup.c | 357 .nbuttons = ARRAY_SIZE(dns323ab_buttons), 371 .nbuttons = ARRAY_SIZE(dns323c_buttons),
|
| H A D | mv2120-setup.c | 95 .nbuttons = ARRAY_SIZE(mv2120_buttons),
|
| H A D | ts409-setup.c | 233 .nbuttons = ARRAY_SIZE(qnap_ts409_buttons),
|
| H A D | ts209-setup.c | 219 .nbuttons = ARRAY_SIZE(qnap_ts209_buttons),
|
| H A D | net2big-setup.c | 338 .nbuttons = ARRAY_SIZE(net2big_buttons),
|
| /linux/arch/arm/mach-mv78xx0/ |
| H A D | buffalo-wxl-setup.c | 119 .nbuttons = ARRAY_SIZE(tswxl_buttons),
|
| /linux/drivers/mfd/ |
| H A D | ucb1x00-assabet.c | 56 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add()
|
| /linux/arch/sh/boards/mach-x3proto/ |
| H A D | setup.c | 198 .nbuttons = ARRAY_SIZE(baseboard_buttons),
|
| /linux/arch/arm/mach-sa1100/ |
| H A D | h3xxx.c | 191 .nbuttons = ARRAY_SIZE(h3xxx_button_table),
|
| H A D | collie.c | 252 .nbuttons = ARRAY_SIZE(collie_gpio_keys),
|
| H A D | assabet.c | 490 .nbuttons = ARRAY_SIZE(assabet_keys_buttons),
|
| /linux/drivers/input/misc/ |
| H A D | soc_button_array.c | 233 gpio_keys_pdata->nbuttons = n_buttons; in soc_button_device_create()
|
| /linux/arch/arm/mach-s3c/ |
| H A D | mach-crag6410.c | 223 .nbuttons = ARRAY_SIZE(crag6410_gpio_keys),
|
| /linux/arch/mips/alchemy/devboards/ |
| H A D | db1300.c | 403 .nbuttons = ARRAY_SIZE(db1300_5waysw_arrowkeys),
|