Home
last modified time | relevance | path

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

12345678910>>...144

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
Dnseval.c4 * Module Name: nseval - Object evaluation, includes control method execution
28 * prefix_node - Prefix or Method/Object Node to execute
29 * relative_path - Name of method to execute, If NULL, the
31 * parameters - List of parameters to pass to the method,
35 * return_object - Where to put method's return value (if
41 * DESCRIPTION: Execute a control method or return the current value of an
76 * For a method alias, we must grab the actual method node so that in acpi_ns_evaluate()
137 * this method/object matches the actual ASL/AML definition. in acpi_ns_evaluate()
150 * 2) The object is a control method -- execute it in acpi_ns_evaluate()
151 * 3) The object is not a method -- just return it's current value in acpi_ns_evaluate()
[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()
68 /* Prevent any additional typechecking for this method */ in acpi_ns_check_argument_types()
80 * node - Namespace node for the method/object
109 * If this object is not a control method, we can check if the ACPI in acpi_ns_check_acpi_compliance()
110 * spec requires that it be a method. in acpi_ns_check_acpi_compliance()
115 /* Object requires args, must be implemented as a method */ in acpi_ns_check_acpi_compliance()
119 "Object (%s) must be a control method with %u arguments", in acpi_ns_check_acpi_compliance()
126 /* Object requires no args and no return value, must be a method */ in acpi_ns_check_acpi_compliance()
130 "Object (%s) must be a control method " in acpi_ns_check_acpi_compliance()
[all …]
Ddbmethod.c34 * DESCRIPTION: Set a breakpoint in a control method at the specified
48 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_breakpoint()
76 * DESCRIPTION: Set a breakpoint in a control method at the specified
85 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_call_breakpoint()
102 * DESCRIPTION: Set a local or argument for the running control method.
149 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_data()
166 /* Set a method argument */ in acpi_db_set_method_data()
189 /* Set a method local */ in acpi_db_set_method_data()
239 acpi_os_printf("There is no method currently executing\n"); in acpi_db_disassemble_aml()
254 * PARAMETERS: name - Name of control method
[all …]
/kernel/linux/linux-4.19/Documentation/acpi/
Dmethod-tracing.txt9 This document describes the functions and the interfaces of the method
14 ACPICA provides method tracing capability. And two functions are
25 But when the particular layer/level is applied to the control method
29 logs when the control method evaluation is started, and disable the
30 detailed logging when the control method evaluation is stopped.
41 control method is being evaluated:
46 # echo "method" > /sys/module/acpi/parameters/trace_state
48 control method is being evaluated for the first time:
53 # echo "method-once" > /sys/module/acpi/parameters/trace_state
57 \PPPP.AAAA.TTTT.HHHH: Full path of a control method that can be found
[all …]
Dmethod-customizing.txt1 Linux ACPI Custom Control Method How To
10 1. override an existing method which may not work correctly,
12 2. insert a completely new method in order to create a missing
13 method such as _OFF, _ON, _STA, _INI, etc.
15 control method rather than override the entire DSDT, because kernel
18 Note: Only ACPI METHOD can be overridden, any other object types like
21 Note: The same ACPI control method can be overridden for many times,
26 1. override an existing method
30 c) rewrite the ASL code of the method and save it in a new file,
32 Here is an example of a customized \_SB._AC._PSR method,
[all …]
Dacpi-lid.txt1 Special Usage Model of the ACPI Control Method Lid Device
10 control method lid device. To implement this, the AML tables issue
12 changed. The _LID control method for the lid device must be implemented to
15 For most platforms, both the _LID method and the lid notifications are
22 1. Restrictions of the returning value of the _LID control method
24 The _LID control method is described to return the "current" lid state.
28 _LID control method is evaluated during the runtime, the problem is its
29 initial returning value. When the AML tables implement this control method
47 This file actually calls the _LID control method described above. And given
62 A. button.lid_init_state=method:
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dproc-v7-bugs.c66 static unsigned int spectre_v2_install_workaround(unsigned int method) in spectre_v2_install_workaround() argument
74 switch (method) { in spectre_v2_install_workaround()
109 static unsigned int spectre_v2_install_workaround(unsigned int method) in spectre_v2_install_workaround() argument
120 unsigned int state, method = 0; in cpu_v7_spectre_v2_init() local
130 method = SPECTRE_V2_METHOD_BPIALL; in cpu_v7_spectre_v2_init()
136 method = SPECTRE_V2_METHOD_ICIALLU; in cpu_v7_spectre_v2_init()
162 method = SPECTRE_V2_METHOD_HVC; in cpu_v7_spectre_v2_init()
166 method = SPECTRE_V2_METHOD_SMC; in cpu_v7_spectre_v2_init()
176 state = spectre_v2_install_workaround(method); in cpu_v7_spectre_v2_init()
178 spectre_v2_update_state(state, method); in cpu_v7_spectre_v2_init()
[all …]
/kernel/linux/linux-5.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 …]
Dspectre.c26 void spectre_v2_update_state(unsigned int state, unsigned int method) in spectre_v2_update_state() argument
30 spectre_v2_methods |= method; in spectre_v2_update_state()
36 const char *method; in cpu_show_spectre_v2() local
49 method = "Branch predictor hardening"; in cpu_show_spectre_v2()
53 method = "I-cache invalidation"; in cpu_show_spectre_v2()
58 method = "Firmware call"; in cpu_show_spectre_v2()
62 method = "History overwrite"; in cpu_show_spectre_v2()
66 method = "Multiple mitigations"; in cpu_show_spectre_v2()
70 return sprintf(buf, "Mitigation: %s\n", method); in cpu_show_spectre_v2()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/arch/arm/kernel/
Dcpuidle.c61 * @method: the method name
64 * method name.
68 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) in arm_cpuidle_get_ops() argument
72 for (; m->method; m++) in arm_cpuidle_get_ops()
73 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops()
84 * Get the method name defined in the 'enable-method' property, retrieve the
89 * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
90 * no cpuidle_ops is registered for the 'enable-method', or if either init or
98 enable_method = of_get_property(dn, "enable-method", NULL); in arm_cpuidle_read_ops()
104 pr_warn("%pOF: unsupported enable-method property: %s\n", in arm_cpuidle_read_ops()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/arch/sh/boards/
Dof-generic.c60 const char *method = NULL; in sh_of_smp_probe() local
72 if (!method) in sh_of_smp_probe()
73 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
80 if (!method) { in sh_of_smp_probe()
82 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
86 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
87 if (method) in sh_of_smp_probe()
88 for (; m->method; m++) in sh_of_smp_probe()
89 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/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

12345678910>>...144