Searched refs:n_buttons (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/
H A Dturbografx.c159 static struct tgfx __init *tgfx_probe(int parport, int *n_buttons, int n_devs) argument
196 if (n_buttons[i] < 1)
199 if (n_buttons[i] > 6) {
200 printk(KERN_ERR "turbografx.c: Invalid number of buttons %d\n", n_buttons[i]);
214 "TurboGraFX %d-button Multisystem joystick", n_buttons[i]);
222 input_dev->id.product = n_buttons[i];
234 for (j = 0; j < n_buttons[i]; j++)
H A Ddb9.c96 int n_buttons; member in struct:db9_mode_data
566 if (mode < 1 || mode >= DB9_MAX_PAD || !db9_modes[mode].n_buttons) {
633 for (j = 0; j < db9_mode->n_buttons; j++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/keyboard/
H A Dgpio_keys.c41 unsigned int n_buttons; member in struct:gpio_keys_drvdata
167 for (i = 0; i < ddata->n_buttons; i++) {
215 for (i = 0; i < ddata->n_buttons; i++) {
230 for (i = 0; i < ddata->n_buttons; i++) {
463 ddata->n_buttons = pdata->nbuttons;

Completed in 104 milliseconds