Home
last modified time | relevance | path

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

1234

/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()
Ddbinput.c699 u32 param_count; in acpi_db_command_dispatch() local
711 param_count = acpi_db_get_line(input_buffer); in acpi_db_command_dispatch()
725 if (param_count < acpi_gbl_db_commands[command_index].min_args) { in acpi_db_command_dispatch()
728 param_count, acpi_gbl_db_commands[command_index].name, in acpi_db_command_dispatch()
898 if (param_count == 0) { in acpi_db_command_dispatch()
905 } else if (param_count == 2) { in acpi_db_command_dispatch()
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()
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()
/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.c156 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-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-loongson-pch-pic.c158 if (fwspec->param_count < 1) in pch_pic_domain_translate()
162 if (fwspec->param_count < 2) in pch_pic_domain_translate()
190 parent_fwspec.param_count = 1; in pch_pic_alloc()
Dirq-uniphier-aidet.c99 if (WARN_ON(fwspec->param_count < 2)) in uniphier_aidet_domain_translate()
149 parent_fwspec.param_count = 3; in uniphier_aidet_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-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()
Dirq-tegra.c221 if (fwspec->param_count != 3) in tegra_ictlr_domain_translate()
246 if (fwspec->param_count != 3) in tegra_ictlr_domain_alloc()
Dirq-owl-sirq.c219 if (fwspec->param_count != 2 || fwspec->param[0] >= NUM_SIRQ) in owl_sirq_domain_translate()
263 parent_fwspec.param_count = 3; in owl_sirq_domain_alloc()
/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.c169 fwspec.param_count = 2; in uniphier_gpio_to_irq()
249 if (WARN_ON(fwspec->param_count < 2)) in uniphier_gpio_irq_domain_translate()
281 parent_fwspec.param_count = 2; in uniphier_gpio_irq_domain_alloc()
/drivers/acpi/
Dirq.c70 fwspec.param_count = 2; in acpi_register_gsi()
176 ctx->fwspec->param_count = 2; in acpi_irq_parse_one_match()
/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()

1234