Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1001) sorted by relevance

12345678910>>...41

/Linux-v6.6/drivers/acpi/acpica/
Ddsmethod.c70 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method()
88 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method()
89 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method()
146 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes()
147 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes()
269 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex()
270 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex()
308 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution()
317 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution()
323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
[all …]
Dpsxface.c124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method()
134 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method()
142 info->obj_desc->method.aml_start, in acpi_ps_execute_method()
143 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method()
153 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method()
159 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method()
161 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method()
249 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table()
258 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_table()
266 info->obj_desc->method.aml_start, in acpi_ps_execute_table()
[all …]
Ddbmethod.c271 struct acpi_namespace_node *method; in acpi_db_disassemble_method() local
273 method = acpi_db_convert_to_node(name); in acpi_db_disassemble_method()
274 if (!method) { in acpi_db_disassemble_method()
278 if (method->type != ACPI_TYPE_METHOD) { in acpi_db_disassemble_method()
280 name, acpi_ut_get_type_name(method->type))); in acpi_db_disassemble_method()
284 obj_desc = method->object; in acpi_db_disassemble_method()
286 op = acpi_ps_create_scope_op(obj_desc->method.aml_start); in acpi_db_disassemble_method()
299 obj_desc->method.aml_start, in acpi_db_disassemble_method()
300 obj_desc->method.aml_length, NULL, in acpi_db_disassemble_method()
306 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_db_disassemble_method()
[all …]
/Linux-v6.6/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
119 unsigned int state, method = 0; in cpu_v7_spectre_v2_init() local
129 method = SPECTRE_V2_METHOD_BPIALL; in cpu_v7_spectre_v2_init()
135 method = SPECTRE_V2_METHOD_ICIALLU; in cpu_v7_spectre_v2_init()
161 method = SPECTRE_V2_METHOD_HVC; in cpu_v7_spectre_v2_init()
165 method = SPECTRE_V2_METHOD_SMC; in cpu_v7_spectre_v2_init()
175 state = spectre_v2_install_workaround(method); in cpu_v7_spectre_v2_init()
177 spectre_v2_update_state(state, method); in cpu_v7_spectre_v2_init()
[all …]
/Linux-v6.6/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-v6.6/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.rst14 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
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::
56 Note that the full pathname of the method in ACPI namespace
58 e) assemble the file to generate the AML code of the method.
[all …]
/Linux-v6.6/tools/testing/selftests/mm/
Dcharge_reserved_hugetlb.sh156 local method="$6"
181 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
185 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
218 "$cgroup" "$path" "$method" "$private" "$reserve"
274 local method="$7"
294 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
322 local method="${12}"
348 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
365 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \
400 for method in 0 1 2; do
[all …]
Dwrite_to_hugetlbfs.c21 enum method { enum
71 enum method method = MAX_METHOD; in main() local
98 method = atoi(optarg); in main()
147 if (method == MAX_METHOD) { in main()
152 printf("Using method=%d\n", method); in main()
164 switch (method) { in main()
236 if (method == HUGETLBFS) in main()
/Linux-v6.6/arch/arm/kernel/
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()
/Linux-v6.6/arch/sh/boards/
Dof-generic.c57 const char *method = NULL; in sh_of_smp_probe() local
68 if (!method) in sh_of_smp_probe()
69 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
76 if (!method) { in sh_of_smp_probe()
78 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
82 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
83 if (method) in sh_of_smp_probe()
84 for (; m->method; m++) in sh_of_smp_probe()
85 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
/Linux-v6.6/Documentation/wmi/
Dacpi-interface.rst32 0x10 2 2 character method ID or single byte notification ID.
37 The WMI object flags control whether the method or notification ID is used:
43 of method ID.
46 The method/notification ID is used to construct the ACPI method names used for
53 by this required ACPI method. The last two characters of the ACPI method name
54 are the method ID of the data block to query. Their single parameter is an
69 characters of the ACPI method name are the method ID of the data block
72 describing the WMI method ID to execute, and the third parameter is a buffer
73 containing the WMI method parameters. If the data block is marked as containing
75 method will return the result of the executed WMI method.
[all …]
/Linux-v6.6/drivers/iio/adc/
Dtwl4030-madc.c132 u16 method; member
183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
467 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local
499 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
501 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
520 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
522 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
544 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local
550 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion()
552 method->ctrl); in twl4030_madc_start_conversion()
[all …]
/Linux-v6.6/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-v6.6/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";
/Linux-v6.6/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 …]
Dhip07.dtsi18 method = "smc";
271 enable-method = "psci";
280 enable-method = "psci";
289 enable-method = "psci";
298 enable-method = "psci";
307 enable-method = "psci";
316 enable-method = "psci";
325 enable-method = "psci";
334 enable-method = "psci";
343 enable-method = "psci";
[all …]
/Linux-v6.6/arch/arm64/boot/dts/mediatek/
Dmt6755.dtsi18 method = "smc";
28 enable-method = "psci";
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";
/Linux-v6.6/arch/arm64/boot/dts/amlogic/
Damlogic-t7.dtsi53 enable-method = "psci";
60 enable-method = "psci";
67 enable-method = "psci";
74 enable-method = "psci";
81 enable-method = "psci";
88 enable-method = "psci";
95 enable-method = "psci";
102 enable-method = "psci";
116 method = "smc";
/Linux-v6.6/Documentation/devicetree/bindings/arm/cpu-enable-method/
Dmarvell,berlin-smp2 Secondary CPU enable-method "marvell,berlin-smp" binding
5 This document describes the "marvell,berlin-smp" method for enabling secondary
6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should
9 Enable method name: "marvell,berlin-smp"
15 This enable method needs valid nodes compatible with "arm,cortex-a9-scu" and
23 enable-method = "marvell,berlin-smp";
Dnuvoton,npcm750-smp2 Secondary CPU enable-method "nuvoton,npcm750-smp" binding
5 To apply to all CPUs, a single "nuvoton,npcm750-smp" enable method should be
8 Enable method name: "nuvoton,npcm750-smp"
14 This enable method needs valid nodes compatible with "arm,cortex-a9-scu" and
22 enable-method = "nuvoton,npcm750-smp";
/Linux-v6.6/arch/arm/boot/dts/qcom/
Dqcom-msm8916-smp.dtsi6 enable-method = "qcom,msm8916-smp";
9 enable-method = "qcom,msm8916-smp";
12 enable-method = "qcom,msm8916-smp";
15 enable-method = "qcom,msm8916-smp";
19 /delete-property/ entry-method;
/Linux-v6.6/Documentation/devicetree/bindings/
Dnuma.txt178 enable-method = "psci";
186 enable-method = "psci";
193 enable-method = "psci";
200 enable-method = "psci";
207 enable-method = "psci";
214 enable-method = "psci";
221 enable-method = "psci";
228 enable-method = "psci";
235 enable-method = "psci";
243 enable-method = "psci";
[all …]
/Linux-v6.6/arch/arm64/boot/dts/nvidia/
Dtegra210-p2530.dtsi53 enable-method = "psci";
57 enable-method = "psci";
61 enable-method = "psci";
65 enable-method = "psci";
71 method = "smc";
/Linux-v6.6/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>>...41