Searched refs:db9_cfg (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/joystick/ |
H A D | db9.c | 32 static struct db9_config db9_cfg[DB9_MAX_PORTS]; variable 34 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); 36 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 38 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); 552 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 553 db9_cfg[port_idx].args[DB9_ARG_PARPORT] < 0) in db9_attach() 556 if (db9_cfg[port_idx].args[DB9_ARG_PARPORT] == pp->number) in db9_attach() 565 mode = db9_cfg[port_idx].args[DB9_ARG_MODE]; in db9_attach() 682 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 685 if (db9_cfg[i].nargs < 2) { in db9_init()
|