Home
last modified time | relevance | path

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

123

/Linux-v4.19/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.c109 info->param_count = 0; in acpi_ns_evaluate()
111 while (info->parameters[info->param_count]) { in acpi_ns_evaluate()
112 info->param_count++; in acpi_ns_evaluate()
117 if (info->param_count > ACPI_METHOD_NUM_ARGS) { in acpi_ns_evaluate()
121 info->param_count, in acpi_ns_evaluate()
124 info->param_count = ACPI_METHOD_NUM_ARGS; in acpi_ns_evaluate()
140 info->param_count, info->predefined); in acpi_ns_evaluate()
260 (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()
149 aml_param_count = node->object->method.param_count; in acpi_ns_check_acpi_compliance()
227 aml_param_count = node->object->method.param_count; in acpi_ns_check_argument_count()
Ddbinput.c678 u32 param_count; in acpi_db_command_dispatch() local
690 param_count = acpi_db_get_line(input_buffer); in acpi_db_command_dispatch()
705 if (param_count < acpi_gbl_db_commands[command_index].min_args) { in acpi_db_command_dispatch()
708 param_count, acpi_gbl_db_commands[command_index].name, in acpi_db_command_dispatch()
854 if (param_count == 0) { in acpi_db_command_dispatch()
861 } else if (param_count == 2) { in acpi_db_command_dispatch()
Ddswload.c406 u8 param_count; in acpi_ds_load1_end_op() local
501 param_count = in acpi_ds_load1_end_op()
509 param_count); in acpi_ds_load1_end_op()
516 (u8)object_type, param_count, in acpi_ds_load1_end_op()
Ddbmethod.c398 for (i = 0; i < obj_info->param_count; i++) { in acpi_db_walk_for_execute()
404 param_objects.count = obj_info->param_count; in acpi_db_walk_for_execute()
Dnsaccess.c124 obj_desc->method.param_count = in acpi_ns_root_initialize()
132 new_node->value = obj_desc->method.param_count; in acpi_ns_root_initialize()
/Linux-v4.19/drivers/irqchip/
Dirq-vf610-mscm-ir.c139 if (fwspec->param_count != 2) in vf610_mscm_ir_domain_alloc()
151 parent_fwspec.param_count = 1; in vf610_mscm_ir_domain_alloc()
154 parent_fwspec.param_count = 3; in vf610_mscm_ir_domain_alloc()
169 if (WARN_ON(fwspec->param_count < 2)) in vf610_mscm_ir_domain_translate()
Dirq-crossbar.c101 fwspec.param_count = 3; in allocate_gic_irq()
122 if (fwspec->param_count != 3) in crossbar_domain_alloc()
178 if (fwspec->param_count != 3) in crossbar_domain_translate()
Dirq-uniphier-aidet.c107 if (WARN_ON(fwspec->param_count < 2)) in uniphier_aidet_domain_translate()
157 parent_fwspec.param_count = 3; in uniphier_aidet_domain_alloc()
Dirq-sni-exiu.c129 if (fwspec->param_count != 3) in exiu_domain_translate()
150 if (fwspec->param_count != 3) in exiu_domain_alloc()
Dirq-mtk-sysirq.c84 if (fwspec->param_count != 3) in mtk_sysirq_domain_translate()
107 if (fwspec->param_count != 3) in mtk_sysirq_domain_alloc()
Dqcom-pdc.c179 if (fwspec->param_count != 2) in qcom_pdc_translate()
219 parent_fwspec.param_count = 3; in qcom_pdc_alloc()
Dirq-mvebu-icu.c112 if (WARN_ON(fwspec->param_count < 3)) { in mvebu_icu_irq_domain_translate()
114 fwspec->param_count); in mvebu_icu_irq_domain_translate()
Dirq-tegra.c230 if (fwspec->param_count != 3) in tegra_ictlr_domain_translate()
255 if (fwspec->param_count != 3) in tegra_ictlr_domain_alloc()
Dirq-meson-gpio.c252 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { in meson_gpio_irq_domain_translate()
269 fwspec.param_count = 3; in meson_gpio_irq_allocate_gic_irq()
Dirq-nvic.c55 if (WARN_ON(fwspec->param_count < 1)) in nvic_irq_domain_translate()
/Linux-v4.19/drivers/gpio/
Dgpio-xgene-sb.c134 fwspec.param_count = 2; in xgene_gpio_sb_to_irq()
179 if ((fwspec->param_count != 2) || in xgene_gpio_sb_domain_translate()
204 parent_fwspec.param_count = 3; in xgene_gpio_sb_domain_alloc()
210 parent_fwspec.param_count = 2; in xgene_gpio_sb_domain_alloc()
Dgpio-uniphier.c182 fwspec.param_count = 2; in uniphier_gpio_to_irq()
262 if (WARN_ON(fwspec->param_count < 2)) in uniphier_gpio_irq_domain_translate()
294 parent_fwspec.param_count = 2; in uniphier_gpio_irq_domain_alloc()
/Linux-v4.19/drivers/acpi/
Dirq.c67 fwspec.param_count = 2; in acpi_register_gsi()
160 ctx->fwspec->param_count = 2; in acpi_irq_parse_one_match()
/Linux-v4.19/arch/arm/mach-imx/
Dgpc.c185 if (fwspec->param_count != 3) in imx_gpc_domain_translate()
209 if (fwspec->param_count != 3) in imx_gpc_domain_alloc()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-is-regs.c59 unsigned int param_count = __get_pending_param_count(is); in fimc_is_hw_set_param() local
67 mcuctl_write(param_count, is, MCUCTL_REG_ISSR(3)); in fimc_is_hw_set_param()
/Linux-v4.19/arch/arm/mach-exynos/
Dsuspend.c131 if (fwspec->param_count != 3) in exynos_pmu_domain_translate()
155 if (fwspec->param_count != 3) in exynos_pmu_domain_alloc()
/Linux-v4.19/arch/arm/mach-omap2/
Domap-wakeupgen.c462 if (fwspec->param_count != 3) in wakeupgen_domain_translate()
486 if (fwspec->param_count != 3) in wakeupgen_domain_alloc()

123