Home
last modified time | relevance | path

Searched full:method (Results 1 – 25 of 1758) sorted by relevance

12345678910>>...71

/Linux-v5.10/drivers/acpi/acpica/
Ddsmethod.c4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
34 * PARAMETERS: node - Namespace Node of the method
35 * obj_desc - Method object attached to node
39 * DESCRIPTION: Parse a control method AML to scan for control methods that
43 * there is only a problem if the method actually blocks during execution.
46 * detect whether a method will block or not, so we simply mark all suspicious
50 * control method.
65 "Method auto-serialization parse [%4.4s] %p\n", in acpi_ds_auto_serialize_method()
68 /* Create/Init a root op for the method parse tree */ in acpi_ds_auto_serialize_method()
70 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method()
[all …]
Dpsxface.c37 * method execution
65 * PARAMETERS: info - Method info block, contains:
66 * node - Method Node to execute
67 * obj_desc - Method object
68 * parameters - List of parameters to pass to the method,
71 * return_object - Where to put method's return value (if
74 * return_object - Where to put method's return value (if
80 * DESCRIPTION: Execute a control method
96 /* Validate the Info and method Node */ in acpi_ps_execute_method()
102 /* Init for new method, wait on concurrency semaphore */ in acpi_ps_execute_method()
[all …]
Dnsarguments.c22 * PARAMETERS: info - Method execution information block
41 * Also, ignore typecheck if warnings/errors if this method in acpi_ns_check_argument_types()
70 /* Prevent any additional typechecking for this method */ in acpi_ns_check_argument_types()
82 * node - Namespace node for the method/object
111 * If this object is not a control method, we can check if the ACPI in acpi_ns_check_acpi_compliance()
112 * spec requires that it be a method. in acpi_ns_check_acpi_compliance()
117 /* Object requires args, must be implemented as a method */ in acpi_ns_check_acpi_compliance()
121 "Object (%s) must be a control method with %u arguments", in acpi_ns_check_acpi_compliance()
128 /* Object requires no args and no return value, must be a method */ in acpi_ns_check_acpi_compliance()
132 "Object (%s) must be a control method " in acpi_ns_check_acpi_compliance()
[all …]
Dnseval.c4 * Module Name: nseval - Object evaluation, includes control method execution
23 * prefix_node - Prefix or Method/Object Node to execute
24 * relative_path - Name of method to execute, If NULL, the
26 * parameters - List of parameters to pass to the method,
30 * return_object - Where to put method's return value (if
36 * DESCRIPTION: Execute a control method or return the current value of an
70 * For a method alias, we must grab the actual method node so that in acpi_ns_evaluate()
138 * this method/object matches the actual ASL/AML definition. in acpi_ns_evaluate()
151 * 2) The object is a control method -- execute it in acpi_ns_evaluate()
152 * 3) The object is not a method -- just return it's current value in acpi_ns_evaluate()
[all …]
Ddsdebug.c77 * PARAMETERS: status - Method execution status
83 * DESCRIPTION: Called when a method has been aborted because of an error.
84 * Dumps the method execution stack.
116 * If there is no Thread, we are not actually executing a method. in acpi_ds_dump_method_stack()
125 /* Display exception and method name */ in acpi_ds_dump_method_stack()
128 "\n**** Exception %s during execution of method ", in acpi_ds_dump_method_stack()
145 method_desc->method.node, in acpi_ds_dump_method_stack()
150 " Method [%4.4s] executing: ", in acpi_ds_dump_method_stack()
154 /* First method is the currently executing method */ in acpi_ds_dump_method_stack()
179 * This method has called another method in acpi_ds_dump_method_stack()
[all …]
Ddbmethod.c36 * DESCRIPTION: Set a breakpoint in a control method at the specified
50 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_breakpoint()
78 * DESCRIPTION: Set a breakpoint in a control method at the specified
87 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_call_breakpoint()
104 * DESCRIPTION: Set a local or argument for the running control method.
151 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_data()
168 /* Set a method argument */ in acpi_db_set_method_data()
191 /* Set a method local */ in acpi_db_set_method_data()
241 acpi_os_printf("There is no method currently executing\n"); in acpi_db_disassemble_aml()
256 * PARAMETERS: name - Name of control method
[all …]
Dpsparse.c309 * A control method was terminated via a RETURN statement. in acpi_ps_next_parse_state()
310 * The walk of this method is complete. in acpi_ps_next_parse_state()
369 /* A method call (invocation) -- transfer control */ in acpi_ps_next_parse_state()
432 /* Executing a control method - additional cleanup */ in acpi_ps_parse_aml()
446 * If executing a method, the starting sync_level is this method's in acpi_ps_parse_aml()
451 walk_state->method_desc->method.sync_level; in acpi_ps_parse_aml()
458 * executing control method. in acpi_ps_parse_aml()
464 * handles nested control method invocations without recursion. in acpi_ps_parse_aml()
472 * The parse_loop executes AML until the method terminates in acpi_ps_parse_aml()
473 * or calls another method. in acpi_ps_parse_aml()
[all …]
Dnsxfname.c220 * 1) _SUB method was removed (11/2015)
221 * 2) _STA method was removed (02/2018)
268 param_count = node->object->method.param_count; in acpi_get_object_info()
286 /* Execute the Device._HID method */ in acpi_get_object_info()
294 /* Execute the Device._UID method */ in acpi_get_object_info()
302 /* Execute the Device._CID method */ in acpi_get_object_info()
315 /* Execute the Device._CLS method */ in acpi_get_object_info()
346 /* Execute the Device._ADR method */ in acpi_get_object_info()
465 * PARAMETERS: buffer - An ACPI table containing one control method in ACPI_EXPORT_SYMBOL()
469 * DESCRIPTION: Install a control method into the namespace. If the method in ACPI_EXPORT_SYMBOL()
[all …]
/Linux-v5.10/Documentation/firmware-guide/acpi/
Dmethod-tracing.rst15 method tracing facility.
20 ACPICA provides method tracing capability. And two functions are
33 But when the particular layer/level is applied to the control method
37 logs when the control method evaluation is started, and disable the
38 detailed logging when the control method evaluation is stopped.
52 control method is being evaluated::
58 # echo "method" > /sys/module/acpi/parameters/trace_state
61 control method is being evaluated for the first time::
67 # echo "method-once" > /sys/module/acpi/parameters/trace_state
74 Full path of a control method that can be found in the ACPI namespace.
[all …]
Dmethod-customizing.rst4 Linux ACPI Custom Control Method How To
14 1. override an existing method which may not work correctly,
16 2. insert a completely new method in order to create a missing
17 method such as _OFF, _ON, _STA, _INI, etc.
20 control method rather than override the entire DSDT, because kernel
25 - Only ACPI METHOD can be overridden, any other object types like
29 - The same ACPI control method can be overridden for many times,
38 1. override an existing method
43 c) rewrite the ASL code of the method and save it in a new file,
45 Here is an example of a customized \_SB._AC._PSR method::
[all …]
Dacpi-lid.rst5 Special Usage Model of the ACPI Control Method Lid Device
15 using a control method lid device. To implement this, the AML tables issue
17 changed. The _LID control method for the lid device must be implemented to
20 For most platforms, both the _LID method and the lid notifications are
27 Restrictions of the returning value of the _LID control method
30 The _LID control method is described to return the "current" lid state.
34 _LID control method is evaluated during the runtime, the problem is its
35 initial returning value. When the AML tables implement this control method
57 This file actually calls the _LID control method described above. And given
74 A. button.lid_init_state=method:
[all …]
/Linux-v5.10/arch/arm64/boot/dts/cavium/
Dthunder-88xx.dtsi58 method = "smc";
69 enable-method = "psci";
75 enable-method = "psci";
81 enable-method = "psci";
87 enable-method = "psci";
93 enable-method = "psci";
99 enable-method = "psci";
105 enable-method = "psci";
111 enable-method = "psci";
117 enable-method = "psci";
[all …]
/Linux-v5.10/arch/arm/kernel/
Dcpuidle.c55 * @method: the method name
58 * method name.
62 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) in arm_cpuidle_get_ops() argument
66 for (; m->method; m++) in arm_cpuidle_get_ops()
67 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops()
78 * Get the method name defined in the 'enable-method' property, retrieve the
83 * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
84 * no cpuidle_ops is registered for the 'enable-method', or if either init or
92 enable_method = of_get_property(dn, "enable-method", NULL); in arm_cpuidle_read_ops()
98 pr_warn("%pOF: unsupported enable-method property: %s\n", in arm_cpuidle_read_ops()
[all …]
/Linux-v5.10/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh149 local method="$6"
174 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
178 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
211 "$cgroup" "$path" "$method" "$private" "$reserve"
267 local method="$7"
287 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
315 local method="${12}"
341 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
358 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \
393 for method in 0 1 2; do
[all …]
/Linux-v5.10/arch/sh/boards/
Dof-generic.c57 const char *method = NULL; in sh_of_smp_probe() local
69 if (!method) in sh_of_smp_probe()
70 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
77 if (!method) { in sh_of_smp_probe()
79 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
83 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
84 if (method) in sh_of_smp_probe()
85 for (; m->method; m++) in sh_of_smp_probe()
86 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Dcpus.yaml174 enable-method:
192 - brcm,bcm11351-cpu-method
222 Required for systems that have an "enable-method"
278 Required for systems that have an "enable-method" property
288 Required for systems that have an "enable-method" property
298 Optional for systems that have an "enable-method"
306 Required for systems that have an "enable-method" property value of
307 "brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp".
320 # If the enable-method property contains one of those values
322 enable-method:
[all …]
/Linux-v5.10/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt43 This method takes a testcount (number of tests to be run) and
47 and the post_suite method can refer to it when dumping the "skipped"
52 post-suite method using this info passed in to the pre_suite method.
57 The post_suite method will receive the ordinal number of the last
64 The pre_case method will receive the ordinal number of the test
70 The adjust_command method receives a string representing
84 The adjust_command method must return the adjusted command so tdc
90 The add_args method receives the argparser object and can add
95 The add_args method should return the argparser object.
100 The check_args method is so that the plugin can do validation on
/Linux-v5.10/arch/arm64/boot/dts/marvell/
Darmada-ap810-ap0-octa-core.dtsi20 enable-method = "psci";
26 enable-method = "psci";
32 enable-method = "psci";
38 enable-method = "psci";
44 enable-method = "psci";
50 enable-method = "psci";
56 enable-method = "psci";
62 enable-method = "psci";
/Linux-v5.10/arch/arm64/boot/dts/hisilicon/
Dhip05.dtsi18 method = "smc";
88 enable-method = "psci";
96 enable-method = "psci";
104 enable-method = "psci";
112 enable-method = "psci";
120 enable-method = "psci";
128 enable-method = "psci";
136 enable-method = "psci";
144 enable-method = "psci";
152 enable-method = "psci";
[all …]
/Linux-v5.10/net/tipc/
Dbcast.c61 * @rc_ratio: dest count as percentage of cluster size where send method changes
213 struct tipc_mc_method *method) in tipc_bcast_select_xmit_method() argument
216 unsigned long exp = method->expires; in tipc_bcast_select_xmit_method()
220 method->rcast = true; in tipc_bcast_select_xmit_method()
225 method->rcast = false; in tipc_bcast_select_xmit_method()
228 /* Can current method be changed ? */ in tipc_bcast_select_xmit_method()
229 method->expires = jiffies + TIPC_METHOD_EXPIRE; in tipc_bcast_select_xmit_method()
230 if (method->mandatory) in tipc_bcast_select_xmit_method()
237 /* Configuration as force 'broadcast' method */ in tipc_bcast_select_xmit_method()
239 method->rcast = false; in tipc_bcast_select_xmit_method()
[all …]
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dio.rst13 The classic I/O method using the :c:func:`read()` and
15 V4L2 device. When the driver does not support this method attempts to
18 Other methods must be negotiated. To select the streaming I/O method
21 method is not defined yet.
23 Video overlay can be considered another I/O method, although the
28 Generally exactly one I/O method, including overlay, is associated with
37 method (after first switching away from read/write) other than by
/Linux-v5.10/drivers/md/
Ddm-builtin.c5 * The kobject release method must not be placed in the module itself,
8 * The release method is called when the last reference to the kobject is
12 * The release method suffers from module unload race. We may prevent the
13 * module from being unloaded at the start of the release method (using
15 * method), however there is no way to prevent the module from being
16 * unloaded at the end of the release method.
40 * In order to fix this module unload race, we place the release method
/Linux-v5.10/arch/arm64/boot/dts/mediatek/
Dmt6755.dtsi25 method = "smc";
35 enable-method = "psci";
42 enable-method = "psci";
49 enable-method = "psci";
56 enable-method = "psci";
63 enable-method = "psci";
70 enable-method = "psci";
77 enable-method = "psci";
84 enable-method = "psci";
/Linux-v5.10/drivers/iio/adc/
Dtwl4030-madc.c121 * @method: RT, SW1, SW2
122 * @type: Polling or interrupt based method
131 u16 method; member
182 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
473 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local
502 /* No pending results for this method, move to next one */ in twl4030_madc_threaded_irq_handler()
505 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
507 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
526 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
528 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/arm/
Dfoundation-v8-psci.dtsi10 method = "smc";
15 enable-method = "psci";
19 enable-method = "psci";
23 enable-method = "psci";
27 enable-method = "psci";

12345678910>>...71