Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dturbografx.c33 static struct tgfx_config tgfx_cfg[TGFX_MAX_PORTS]; variable
35 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0);
37 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0);
39 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0);
151 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach()
152 tgfx_cfg[port_idx].args[0] < 0) in tgfx_attach()
154 if (tgfx_cfg[port_idx].args[0] == pp->number) in tgfx_attach()
162 n_buttons = tgfx_cfg[port_idx].args + 1; in tgfx_attach()
163 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
286 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init()
[all …]