Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/joystick/
Dturbografx.c36 static struct tgfx_config tgfx_cfg[TGFX_MAX_PORTS]; variable
38 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0);
40 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0);
42 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0);
154 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach()
155 tgfx_cfg[port_idx].args[0] < 0) in tgfx_attach()
157 if (tgfx_cfg[port_idx].args[0] == pp->number) in tgfx_attach()
165 n_buttons = tgfx_cfg[port_idx].args + 1; in tgfx_attach()
166 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
289 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init()
[all …]