Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dgamecon.c37 static struct gc_config gc_cfg[GC_MAX_PORTS]; variable
39 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0);
41 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0);
43 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0);
929 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach()
932 if (gc_cfg[port_idx].args[0] == pp->number) in gc_attach()
940 pads = gc_cfg[port_idx].args + 1; in gc_attach()
941 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach()
1028 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init()
1031 if (gc_cfg[i].nargs < 2) { in gc_init()