Home
last modified time | relevance | path

Searched refs:param_count (Results 1 – 25 of 114) sorted by relevance

12345

/linux-6.6.21/drivers/acpi/acpica/
Dnsxfeval.c229 info->param_count = (u16)external_params->count; in ACPI_EXPORT_SYMBOL()
233 if (info->param_count > ACPI_METHOD_NUM_ARGS) { in ACPI_EXPORT_SYMBOL()
237 info->param_count, in ACPI_EXPORT_SYMBOL()
240 info->param_count = ACPI_METHOD_NUM_ARGS; in ACPI_EXPORT_SYMBOL()
248 param_count + in ACPI_EXPORT_SYMBOL()
257 for (i = 0; i < info->param_count; i++) { in ACPI_EXPORT_SYMBOL()
268 info->parameters[info->param_count] = NULL; in ACPI_EXPORT_SYMBOL()
282 if (info->obj_desc->method.param_count > info->param_count) { in ACPI_EXPORT_SYMBOL()
285 info->param_count, in ACPI_EXPORT_SYMBOL()
286 info->obj_desc->method.param_count)); in ACPI_EXPORT_SYMBOL()
[all …]
Dnseval.c110 info->param_count = 0; in acpi_ns_evaluate()
112 while (info->parameters[info->param_count]) { in acpi_ns_evaluate()
113 info->param_count++; in acpi_ns_evaluate()
118 if (info->param_count > ACPI_METHOD_NUM_ARGS) { in acpi_ns_evaluate()
122 info->param_count, in acpi_ns_evaluate()
125 info->param_count = ACPI_METHOD_NUM_ARGS; in acpi_ns_evaluate()
141 info->param_count, info->predefined); in acpi_ns_evaluate()
261 (void)acpi_ns_check_return_value(info->node, info, info->param_count, in acpi_ns_evaluate()
Dnsxfname.c238 u8 param_count = 0; in acpi_get_object_info() local
268 param_count = node->object->method.param_count; in acpi_get_object_info()
437 info->param_count = param_count; in acpi_get_object_info()
574 method_obj->method.param_count = (u8) in ACPI_EXPORT_SYMBOL()
Dnsarguments.c54 for (i = 0; ((i < arg_count) && (i < info->param_count)); i++) { in acpi_ns_check_argument_types()
151 aml_param_count = node->object->method.param_count; in acpi_ns_check_acpi_compliance()
229 aml_param_count = node->object->method.param_count; in acpi_ns_check_argument_count()
Ddbinput.c702 u32 param_count; in acpi_db_command_dispatch() local
714 param_count = acpi_db_get_line(input_buffer); in acpi_db_command_dispatch()
728 if (param_count < acpi_gbl_db_commands[command_index].min_args) { in acpi_db_command_dispatch()
731 param_count, acpi_gbl_db_commands[command_index].name, in acpi_db_command_dispatch()
901 if (param_count == 0) { in acpi_db_command_dispatch()
908 } else if (param_count == 2) { in acpi_db_command_dispatch()
Ddswload.c402 u8 param_count; in acpi_ds_load1_end_op() local
516 param_count = in acpi_ds_load1_end_op()
524 param_count); in acpi_ds_load1_end_op()
531 (u8)object_type, param_count, in acpi_ds_load1_end_op()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dethtool_lib.sh30 local param_count
47 param_count=$(echo "${linkmodes_params[$i]}" | wc -w)
48 if [[ $param_count -eq 1 ]]; then
50 elif [[ $param_count -ge 3 ]]; then
/linux-6.6.21/drivers/irqchip/
Dirq-vf610-mscm-ir.c135 if (fwspec->param_count != 2) in vf610_mscm_ir_domain_alloc()
147 parent_fwspec.param_count = 1; in vf610_mscm_ir_domain_alloc()
150 parent_fwspec.param_count = 3; in vf610_mscm_ir_domain_alloc()
165 if (WARN_ON(fwspec->param_count < 2)) in vf610_mscm_ir_domain_translate()
Dirq-mvebu-icu.c154 unsigned int param_count = static_branch_unlikely(&legacy_bindings) ? 3 : 2; in mvebu_icu_irq_domain_translate() local
159 if (WARN_ON(fwspec->param_count != param_count)) { in mvebu_icu_irq_domain_translate()
161 fwspec->param_count); in mvebu_icu_irq_domain_translate()
Dirq-ti-sci-intr.c64 if (fwspec->param_count != 1) in ti_sci_intr_irq_domain_translate()
156 fwspec.param_count = 3; in ti_sci_intr_alloc_parent_irq()
162 fwspec.param_count = 1; in ti_sci_intr_alloc_parent_irq()
Dirq-renesas-rza1.c118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc()
119 for (i = 0; i < spec.param_count; i++) in rza1_irqc_alloc()
129 if (fwspec->param_count != 2 || fwspec->param[0] >= IRQC_NUM_IRQ) in rza1_irqc_translate()
Dirq-sun6i-r.c204 if (fwspec->param_count == 2 && fwspec->param[0] == 0) { in sun6i_r_intc_domain_translate()
211 if (fwspec->param_count < 3) in sun6i_r_intc_domain_translate()
241 .param_count = 3, in sun6i_r_intc_domain_alloc()
Dirq-loongson-pch-pic.c164 if (fwspec->param_count < 2) in pch_pic_domain_translate()
170 if (fwspec->param_count < 1) in pch_pic_domain_translate()
174 if (fwspec->param_count > 1) in pch_pic_domain_translate()
198 parent_fwspec.param_count = 1; in pch_pic_alloc()
Dirq-crossbar.c97 fwspec.param_count = 3; in allocate_gic_irq()
118 if (fwspec->param_count != 3) in crossbar_domain_alloc()
174 if (fwspec->param_count != 3) in crossbar_domain_translate()
Dirq-sni-exiu.c146 if (fwspec->param_count != 3) in exiu_domain_translate()
155 if (fwspec->param_count != 2) in exiu_domain_translate()
173 if (fwspec->param_count != 3) in exiu_domain_alloc()
Dirq-ls-extirq.c106 if (fwspec->param_count != 2) in ls_extirq_domain_alloc()
163 priv->map[hwirq].param_count = intsize; in ls_extirq_parse_map()
Dirq-uniphier-aidet.c98 if (WARN_ON(fwspec->param_count < 2)) in uniphier_aidet_domain_translate()
148 parent_fwspec.param_count = 3; in uniphier_aidet_domain_alloc()
Dirq-ixp4xx.c135 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { in ixp4xx_irq_domain_translate()
142 if (fwspec->param_count != 2) in ixp4xx_irq_domain_translate()
Dirq-mtk-sysirq.c77 if (fwspec->param_count != 3) in mtk_sysirq_domain_translate()
100 if (fwspec->param_count != 3) in mtk_sysirq_domain_alloc()
Dirq-mst-intc.c184 if (fwspec->param_count != 3) in mst_intc_domain_translate()
211 if (fwspec->param_count != 3) in mst_intc_domain_alloc()
/linux-6.6.21/drivers/gpio/
Dgpio-xgene-sb.c123 fwspec.param_count = 2; in xgene_gpio_sb_to_irq()
168 if ((fwspec->param_count != 2) || in xgene_gpio_sb_domain_translate()
193 parent_fwspec.param_count = 3; in xgene_gpio_sb_domain_alloc()
199 parent_fwspec.param_count = 2; in xgene_gpio_sb_domain_alloc()
Dgpio-uniphier.c168 fwspec.param_count = 2; in uniphier_gpio_to_irq()
248 if (WARN_ON(fwspec->param_count < 2)) in uniphier_gpio_irq_domain_translate()
280 parent_fwspec.param_count = 2; in uniphier_gpio_irq_domain_alloc()
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-regs.c56 unsigned int param_count = __get_pending_param_count(is); in fimc_is_hw_set_param() local
64 mcuctl_write(param_count, is, MCUCTL_REG_ISSR(3)); in fimc_is_hw_set_param()
/linux-6.6.21/drivers/acpi/
Dirq.c70 fwspec.param_count = 2; in acpi_register_gsi()
176 ctx->fwspec->param_count = 2; in acpi_irq_parse_one_match()
/linux-6.6.21/arch/arm/mach-imx/
Dgpc.c178 if (fwspec->param_count != 3) in imx_gpc_domain_translate()
202 if (fwspec->param_count != 3) in imx_gpc_domain_alloc()

12345