Lines Matching refs:tgfx_cfg
33 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()
289 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()