Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/joystick/
Dturbografx.c52 static struct tgfx_config tgfx_cfg[TGFX_MAX_PORTS]; variable
54 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0);
56 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0);
58 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0);
170 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach()
171 tgfx_cfg[port_idx].args[0] < 0) in tgfx_attach()
173 if (tgfx_cfg[port_idx].args[0] == pp->number) in tgfx_attach()
181 n_buttons = tgfx_cfg[port_idx].args + 1; in tgfx_attach()
182 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
307 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init()
[all …]