n_buttons          80 drivers/input/joystick/db9.c 	int n_buttons;
n_buttons         572 drivers/input/joystick/db9.c 	if (mode < 1 || mode >= DB9_MAX_PAD || !db9_modes[mode].n_buttons) {
n_buttons         627 drivers/input/joystick/db9.c 		for (j = 0; j < db9_mode->n_buttons; j++)
n_buttons         150 drivers/input/joystick/turbografx.c 	int *n_buttons, n_devs;
n_buttons         165 drivers/input/joystick/turbografx.c 	n_buttons = tgfx_cfg[port_idx].args + 1;
n_buttons         190 drivers/input/joystick/turbografx.c 		if (n_buttons[i] < 1)
n_buttons         193 drivers/input/joystick/turbografx.c 		if (n_buttons[i] > ARRAY_SIZE(tgfx_buttons)) {
n_buttons         194 drivers/input/joystick/turbografx.c 			printk(KERN_ERR "turbografx.c: Invalid number of buttons %d\n", n_buttons[i]);
n_buttons         206 drivers/input/joystick/turbografx.c 			 "TurboGraFX %d-button Multisystem joystick", n_buttons[i]);
n_buttons         214 drivers/input/joystick/turbografx.c 		input_dev->id.product = n_buttons[i];
n_buttons         226 drivers/input/joystick/turbografx.c 		for (j = 0; j < n_buttons[i]; j++)
n_buttons          72 drivers/input/misc/soc_button_array.c 	int n_buttons = 0;
n_buttons          78 drivers/input/misc/soc_button_array.c 			n_buttons++;
n_buttons          82 drivers/input/misc/soc_button_array.c 					sizeof(*gpio_keys) * n_buttons,
n_buttons          88 drivers/input/misc/soc_button_array.c 	n_buttons = 0;
n_buttons         110 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].type = info->event_type;
n_buttons         111 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].code = info->event_code;
n_buttons         112 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].gpio = gpio;
n_buttons         113 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].active_low = 1;
n_buttons         114 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].desc = info->name;
n_buttons         115 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].wakeup = info->wakeup;
n_buttons         117 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].debounce_interval = 50;
n_buttons         118 drivers/input/misc/soc_button_array.c 		n_buttons++;
n_buttons         121 drivers/input/misc/soc_button_array.c 	if (n_buttons == 0) {
n_buttons         127 drivers/input/misc/soc_button_array.c 	gpio_keys_pdata->nbuttons = n_buttons;
n_buttons          96 drivers/platform/x86/surface3_button.c 	int n_buttons = 0;
n_buttons         118 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].type = info->event_type;
n_buttons         119 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].code = info->event_code;
n_buttons         120 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].gpio = gpio;
n_buttons         121 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].active_low = info->active_low;
n_buttons         122 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].desc = info->name;
n_buttons         123 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].wakeup = info->wakeup;
n_buttons         124 drivers/platform/x86/surface3_button.c 		n_buttons++;
n_buttons         127 drivers/platform/x86/surface3_button.c 	if (n_buttons == 0) {
n_buttons         133 drivers/platform/x86/surface3_button.c 	gpio_keys_pdata->nbuttons = n_buttons;