Home
last modified time | relevance | path

Searched refs:n_pads (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/joystick/
H A Ddb9.c78 int n_pads; member
344 max_pads = min(db9_modes[mode].n_pads, DB9_MAX_DEVICES); in db9_saturn()
600 for (i = 0; i < (min(db9_mode->n_pads, DB9_MAX_DEVICES)); i++) { in db9_attach()
666 for (i = 0; i < min(db9_modes[db9->mode].n_pads, DB9_MAX_DEVICES); i++) in db9_detach()
H A Dgamecon.c925 int *pads, n_pads; in gc_attach() local
941 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach()
964 for (i = 0; i < n_pads && i < GC_MAX_DEVICES; i++) { in gc_attach()