Searched refs:nargs (Results 1 – 5 of 5) sorted by relevance
/drivers/input/joystick/ |
D | turbografx.c | 49 unsigned int nargs; member 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() 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() 310 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()
|
D | db9.c | 47 unsigned int nargs; member 53 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); 55 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 57 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); 568 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 701 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 704 if (db9_cfg[i].nargs < 2) { in db9_init()
|
D | gamecon.c | 53 unsigned int nargs; member 58 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 60 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 62 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 940 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 952 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 1039 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1042 if (gc_cfg[i].nargs < 2) { in gc_init()
|
/drivers/acpi/ |
D | property.c | 537 args->nargs = 0; in __acpi_node_get_property_reference() 557 u32 nargs, i; in __acpi_node_get_property_reference() local 565 nargs = 0; in __acpi_node_get_property_reference() 573 nargs++; in __acpi_node_get_property_reference() 580 if (nargs > MAX_ACPI_REFERENCE_ARGS) in __acpi_node_get_property_reference() 585 args->nargs = nargs; in __acpi_node_get_property_reference() 586 for (i = 0; i < nargs; i++) in __acpi_node_get_property_reference() 592 element += nargs; in __acpi_node_get_property_reference()
|
/drivers/gpio/ |
D | gpiolib-acpi.c | 382 args->nargs = 3; in acpi_get_driver_gpio_data() 486 if (args.nargs >= 2) { in acpi_gpio_property_lookup() 490 if (args.nargs >= 3) in acpi_gpio_property_lookup()
|