/drivers/input/joystick/ |
D | turbografx.c | 33 unsigned int nargs; member 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() 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() 292 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()
|
D | db9.c | 31 unsigned int nargs; member 37 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); 39 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 41 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); 557 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 688 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 691 if (db9_cfg[i].nargs < 2) { in db9_init()
|
D | gamecon.c | 37 unsigned int nargs; member 42 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 44 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 46 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 932 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 944 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 1031 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1034 if (gc_cfg[i].nargs < 2) { in gc_init()
|
/drivers/base/test/ |
D | property-entry-test.c | 375 .nargs = 0, in pe_test_reference() 379 .nargs = 2, in pe_test_reference() 405 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 416 KUNIT_EXPECT_EQ(test, ref.nargs, 1U); in pe_test_reference() 424 KUNIT_EXPECT_EQ(test, ref.nargs, 3U); in pe_test_reference() 439 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 446 KUNIT_EXPECT_EQ(test, ref.nargs, 2U); in pe_test_reference()
|
/drivers/acpi/ |
D | property.c | 705 args->nargs = 0; in __acpi_node_get_property_reference() 727 u32 nargs, i; in __acpi_node_get_property_reference() local 737 nargs = 0; in __acpi_node_get_property_reference() 758 nargs++; in __acpi_node_get_property_reference() 765 if (nargs > NR_FWNODE_REFERENCE_ARGS) in __acpi_node_get_property_reference() 770 args->nargs = nargs; in __acpi_node_get_property_reference() 771 for (i = 0; i < nargs; i++) in __acpi_node_get_property_reference() 777 element += nargs; in __acpi_node_get_property_reference() 1261 return args.nargs ? NULL : args.fwnode; in acpi_graph_get_remote_endpoint() 1267 if (args.nargs != 2) in acpi_graph_get_remote_endpoint()
|
/drivers/base/ |
D | swnode.c | 495 unsigned int nargs, unsigned int index, in software_node_get_reference_args() argument 541 nargs = nargs_prop_val; in software_node_get_reference_args() 544 if (nargs > NR_FWNODE_REFERENCE_ARGS) in software_node_get_reference_args() 551 args->nargs = nargs; in software_node_get_reference_args() 553 for (i = 0; i < nargs; i++) in software_node_get_reference_args()
|
D | property.c | 479 unsigned int nargs, unsigned int index, in fwnode_property_get_reference_args() argument 483 nargs, index, args); in fwnode_property_get_reference_args()
|
/drivers/of/ |
D | property.c | 963 unsigned int nargs, unsigned int index, in of_fwnode_get_reference_args() argument 975 nargs, index, &of_args); in of_fwnode_get_reference_args() 983 args->nargs = of_args.args_count; in of_fwnode_get_reference_args()
|
/drivers/pwm/ |
D | core.c | 929 if (args.nargs < 2) in acpi_pwm_get() 943 if (args.nargs > 2 && args.args[2] & PWM_POLARITY_INVERTED) in acpi_pwm_get()
|
/drivers/gpio/ |
D | gpiolib-acpi.c | 520 args->nargs = 3; in acpi_get_driver_gpio_data() 746 if (args.nargs != 3) in acpi_gpio_property_lookup()
|