/linux-master/include/linux/ |
H A D | tca6416_keypad.h | 24 int nbuttons; member in struct:tca6416_keys_platform_data
|
H A D | gpio_keys.h | 45 * @nbuttons: number of elements in @buttons array 54 int nbuttons; member in struct:gpio_keys_platform_data
|
/linux-master/drivers/hid/ |
H A D | hid-elecom.c | 42 int nbuttons) 50 nbuttons = clamp(nbuttons, 0, MOUSE_BUTTONS_MAX); 51 rdesc[button_bit_count + 1] = nbuttons; 52 rdesc[button_usage_maximum + 1] = nbuttons; 53 rdesc[padding_bit + 1] = MOUSE_BUTTONS_MAX - nbuttons; 36 mouse_button_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int rsize, unsigned int button_bit_count, unsigned int padding_bit, unsigned int button_report_size, unsigned int button_usage_maximum, int nbuttons) argument
|
/linux-master/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 96 for (i = 0; i < pdata->nbuttons; i++) { 148 int nbuttons; local 150 nbuttons = device_get_child_node_count(dev); 151 if (nbuttons == 0) 154 pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), 162 pdata->nbuttons = nbuttons; 207 for (i = 0; i < pdata->nbuttons; i++) { 249 bdev = devm_kzalloc(dev, struct_size(bdev, data, pdata->nbuttons), 279 for (i = 0; i < pdata->nbuttons; [all...] |
H A D | gpio_keys.c | 212 for (i = 0; i < ddata->pdata->nbuttons; i++) { 266 for (i = 0; i < ddata->pdata->nbuttons; i++) { 281 for (i = 0; i < ddata->pdata->nbuttons; i++) { 724 for (i = 0; i < ddata->pdata->nbuttons; i++) { 772 int nbuttons, irq; local 774 nbuttons = device_get_child_node_count(dev); 775 if (nbuttons == 0) 779 sizeof(*pdata) + nbuttons * sizeof(*button), 787 pdata->nbuttons = nbuttons; [all...] |
H A D | qt1050.c | 345 int nbuttons; local 347 nbuttons = device_get_child_node_count(dev); 348 if (nbuttons == 0 || nbuttons > QT1050_MAX_KEYS)
|
H A D | tca6416-keypad.c | 205 struct_size(chip, buttons, pdata->nbuttons), 235 for (i = 0; i < pdata->nbuttons; i++) {
|
/linux-master/arch/sh/boards/mach-rsk/ |
H A D | devices-rsk7203.c | 107 .nbuttons = ARRAY_SIZE(rsk7203_gpio_keys_table),
|
/linux-master/arch/x86/platform/geode/ |
H A D | net5501.c | 44 .nbuttons = ARRAY_SIZE(net5501_gpio_buttons),
|
H A D | geos.c | 42 .nbuttons = ARRAY_SIZE(geos_gpio_buttons),
|
H A D | alix.c | 58 .nbuttons = ARRAY_SIZE(alix_gpio_buttons),
|
/linux-master/drivers/mfd/ |
H A D | ucb1x00-assabet.c | 56 keys.nbuttons = ARRAY_SIZE(buttons);
|
H A D | rohm-bd718x7.c | 29 .nbuttons = 1,
|
/linux-master/arch/arm/mach-mv78xx0/ |
H A D | buffalo-wxl-setup.c | 119 .nbuttons = ARRAY_SIZE(tswxl_buttons),
|
/linux-master/arch/mips/bcm47xx/ |
H A D | buttons.c | 502 size_t nbuttons) 504 size_t size = nbuttons * sizeof(*buttons); 509 bcm47xx_button_pdata.nbuttons = nbuttons; 501 bcm47xx_buttons_copy(const struct gpio_keys_button *buttons, size_t nbuttons) argument
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | mv2120-setup.c | 94 .nbuttons = ARRAY_SIZE(mv2120_buttons),
|
H A D | ts409-setup.c | 225 .nbuttons = ARRAY_SIZE(qnap_ts409_buttons),
|
H A D | dns323-setup.c | 329 .nbuttons = ARRAY_SIZE(dns323ab_buttons), 343 .nbuttons = ARRAY_SIZE(dns323c_buttons),
|
H A D | ts209-setup.c | 219 .nbuttons = ARRAY_SIZE(qnap_ts209_buttons),
|
H A D | net2big-setup.c | 325 .nbuttons = ARRAY_SIZE(net2big_buttons),
|
/linux-master/drivers/platform/x86/ |
H A D | meraki-mx100.c | 134 .nbuttons = ARRAY_SIZE(tink_buttons),
|
H A D | pcengines-apuv2.c | 116 .nbuttons = ARRAY_SIZE(apu2_keys_buttons),
|
/linux-master/arch/sh/boards/mach-x3proto/ |
H A D | setup.c | 198 .nbuttons = ARRAY_SIZE(baseboard_buttons),
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 191 .nbuttons = ARRAY_SIZE(h3xxx_button_table),
|
/linux-master/arch/mips/alchemy/ |
H A D | board-mtx1.c | 93 .nbuttons = ARRAY_SIZE(mtx1_gpio_button),
|