Home
last modified time | relevance | path

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

12345678910>>...36

/kernel/linux/linux-5.10/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 …]
/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/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/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 …]
/kernel/linux/linux-5.10/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()
/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 …]
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()
/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-5.10/drivers/iio/adc/
Dtwl4030-madc.c131 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
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()
550 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local
556 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion()
558 method->ctrl); in twl4030_madc_start_conversion()
[all …]
/kernel/linux/linux-5.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";
/kernel/linux/linux-5.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";
Dfoundation-v8-spin-table.dtsi8 enable-method = "spin-table";
13 enable-method = "spin-table";
18 enable-method = "spin-table";
23 enable-method = "spin-table";
/kernel/linux/linux-5.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 …]
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 …]
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dnuma.txt134 enable-method = "psci";
142 enable-method = "psci";
149 enable-method = "psci";
156 enable-method = "psci";
163 enable-method = "psci";
170 enable-method = "psci";
177 enable-method = "psci";
184 enable-method = "psci";
191 enable-method = "psci";
199 enable-method = "psci";
[all …]
/kernel/linux/linux-5.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";
Dmt6795.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";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2530.dtsi51 enable-method = "psci";
55 enable-method = "psci";
59 enable-method = "psci";
63 enable-method = "psci";
69 method = "smc";
/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-5.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

12345678910>>...36