/drivers/input/joystick/ |
D | turbografx.c | 30 unsigned int nargs; member 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() 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()
|
D | db9.c | 28 unsigned int nargs; member 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); 554 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 685 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 688 if (db9_cfg[i].nargs < 2) { in db9_init()
|
D | gamecon.c | 34 unsigned int nargs; member 39 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 41 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 43 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 929 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 941 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 1028 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1031 if (gc_cfg[i].nargs < 2) { in gc_init()
|
/drivers/acpi/ |
D | property.c | 800 u32 nargs = 0, i; in acpi_get_ref_args() local 827 nargs++; in acpi_get_ref_args() 832 if (nargs > NR_FWNODE_REFERENCE_ARGS) in acpi_get_ref_args() 837 args->nargs = nargs; in acpi_get_ref_args() 838 for (i = 0; i < nargs; i++) in acpi_get_ref_args() 842 (*element) += nargs; in acpi_get_ref_args() 915 args->nargs = 0; in __acpi_node_get_property_reference() 1415 return args.nargs ? NULL : args.fwnode; in acpi_graph_get_remote_endpoint() 1421 if (args.nargs != 2) in acpi_graph_get_remote_endpoint()
|
/drivers/base/test/ |
D | property-entry-test.c | 440 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 451 KUNIT_EXPECT_EQ(test, ref.nargs, 1U); in pe_test_reference() 459 KUNIT_EXPECT_EQ(test, ref.nargs, 3U); in pe_test_reference() 474 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 481 KUNIT_EXPECT_EQ(test, ref.nargs, 2U); in pe_test_reference()
|
/drivers/base/ |
D | swnode.c | 495 unsigned int nargs, unsigned int index, in software_node_get_reference_args() argument 538 nargs = nargs_prop_val; in software_node_get_reference_args() 541 if (nargs > NR_FWNODE_REFERENCE_ARGS) in software_node_get_reference_args() 548 args->nargs = nargs; in software_node_get_reference_args() 550 for (i = 0; i < nargs; i++) in software_node_get_reference_args()
|
D | property.c | 517 unsigned int nargs, unsigned int index, in fwnode_property_get_reference_args() argument 526 nargs, index, args); in fwnode_property_get_reference_args() 534 nargs, index, args); in fwnode_property_get_reference_args()
|
/drivers/of/ |
D | property.c | 983 unsigned int nargs, unsigned int index, in of_fwnode_get_reference_args() argument 995 nargs, index, &of_args); in of_fwnode_get_reference_args() 1003 args->nargs = of_args.args_count; in of_fwnode_get_reference_args()
|
/drivers/pwm/ |
D | core.c | 831 if (args.nargs < 2) in acpi_pwm_get() 845 if (args.nargs > 2 && args.args[2] & PWM_POLARITY_INVERTED) in acpi_pwm_get()
|
/drivers/iio/adc/ |
D | qcom-pm8xxx-xoadc.c | 709 if (iiospec->nargs != 2) { in pm8xxx_fwnode_xlate() 712 iiospec->nargs); in pm8xxx_fwnode_xlate()
|
D | ingenic-adc.c | 727 if (!iiospec->nargs) in ingenic_adc_fwnode_xlate()
|
/drivers/gpio/ |
D | gpiolib-acpi.c | 633 args->nargs = 3; in acpi_get_driver_gpio_data() 831 if (args.nargs != 3) in acpi_gpio_property_lookup()
|
/drivers/iio/ |
D | inkern.c | 132 if (!iiospec->nargs) in __fwnode_iio_simple_xlate()
|