Home
last modified time | relevance | path

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

12345678910>>...35

/linux/drivers/acpi/acpica/
H A 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 …]
H A 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 …]
H A 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/arch/arm/mm/
H A 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/arch/arm64/boot/dts/cavium/
H A 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/Documentation/firmware-guide/acpi/
H A 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 …]
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh158 local method="$6"
183 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
187 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
220 "$cgroup" "$path" "$method" "$private" "$reserve"
276 local method="$7"
296 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
324 local method="${12}"
350 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
367 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \
402 for method in 0 1 2; do
[all …]
/linux/arch/arm/kernel/
H A 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/arch/arm64/boot/dts/amd/
H A Delba-16core.dtsi47 enable-method = "psci";
55 enable-method = "psci";
63 enable-method = "psci";
71 enable-method = "psci";
86 enable-method = "psci";
94 enable-method = "psci";
102 enable-method = "psci";
110 enable-method = "psci";
125 enable-method = "psci";
133 enable-method = "psci";
[all …]
/linux/arch/sh/boards/
H A Dof-generic.c59 const char *method = NULL; in sh_of_smp_probe() local
70 if (!method) in sh_of_smp_probe()
71 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
78 if (!method) { in sh_of_smp_probe()
80 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
84 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
85 if (method) in sh_of_smp_probe()
86 for (; m->method; m++) in sh_of_smp_probe()
87 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap810-ap0-octa-core.dtsi19 enable-method = "psci";
25 enable-method = "psci";
31 enable-method = "psci";
37 enable-method = "psci";
43 enable-method = "psci";
49 enable-method = "psci";
55 enable-method = "psci";
61 enable-method = "psci";
/linux/Documentation/wmi/
H A 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/arch/arm64/boot/dts/hisilicon/
H A 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 …]
H A 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/arch/arm64/boot/dts/arm/
H A Dfoundation-v8-psci.dtsi10 method = "smc";
15 enable-method = "psci";
19 enable-method = "psci";
23 enable-method = "psci";
27 enable-method = "psci";
/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/
H A 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";
H A Dal,alpine-smp2 Secondary CPU enable-method "al,alpine-smp" binding
5 This document describes the "al,alpine-smp" method for
7 "al,alpine-smp" enable method should be defined in the
10 Enable method name: "al,alpine-smp"
16 This enable method requires valid nodes compatible with
35 enable-method = "al,alpine-smp";
H A 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/drivers/platform/x86/
H A Dmsi-wmi-platform.c89 enum msi_wmi_platform_method method; member
144 enum msi_wmi_platform_method method, u8 *input, in msi_wmi_platform_query() argument
164 status = wmidev_evaluate_method(data->wdev, 0x0, method, &in, &out); in msi_wmi_platform_query()
249 ret = msi_wmi_platform_query(data->data, data->method, payload, data->length, data->buffer, in msi_wmi_platform_write()
296 const char *name, enum msi_wmi_platform_method method) in msi_wmi_platform_debugfs_add() argument
306 data->method = method; in msi_wmi_platform_debugfs_add()
323 int ret, method; in msi_wmi_platform_debugfs_init() local
335 for (method = MSI_PLATFORM_GET_PACKAGE; method <= MSI_PLATFORM_GET_WMI; method++) in msi_wmi_platform_debugfs_init()
336 msi_wmi_platform_debugfs_add(data, dir, msi_wmi_platform_debugfs_names[method - 1], in msi_wmi_platform_debugfs_init()
337 method); in msi_wmi_platform_debugfs_init()
/linux/tools/testing/selftests/tc-testing/creating-plugins/
H A 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/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2530.dtsi53 enable-method = "psci";
57 enable-method = "psci";
61 enable-method = "psci";
65 enable-method = "psci";
71 method = "smc";
/linux/drivers/net/ethernet/sfc/
H A Defx_common.c689 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() argument
693 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_down()
723 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() argument
729 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_up()
742 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_up()
743 method != RESET_TYPE_DATAPATH) { in efx_reset_up()
792 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() argument
798 RESET_TYPE(method)); in efx_reset()
805 efx_reset_down(efx, method); in efx_reset()
807 rc = efx->type->reset(efx, method); in efx_reset()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.c716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) in efx_siena_reset_down() argument
720 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_down()
749 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_siena_reset_up() argument
755 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_up()
768 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_siena_reset_up()
769 method != RESET_TYPE_DATAPATH) { in efx_siena_reset_up()
816 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) in efx_siena_reset() argument
822 RESET_TYPE(method)); in efx_siena_reset()
829 efx_siena_reset_down(efx, method); in efx_siena_reset()
831 rc = efx->type->reset(efx, method); in efx_siena_reset()
[all …]
/linux/Documentation/wmi/devices/
H A Ddell-wmi-ddv.rst79 Each WMI method takes an ACPI buffer containing a 32-bit index as input argument,
82 differently. The WMI method output format varies:
96 WMI method GetBatteryDesignCapacity()
101 WMI method BatteryFullCharge()
106 WMI method BatteryManufactureName()
111 WMI method BatteryManufactureDate()
121 WMI method BatterySerialNumber()
126 WMI method BatteryChemistryValue()
134 WMI method BatteryTemperature()
139 WMI method BatteryCurrent()
[all …]
/linux/arch/arm64/boot/dts/sprd/
H A Dums9620.dtsi52 enable-method = "psci";
60 enable-method = "psci";
68 enable-method = "psci";
76 enable-method = "psci";
84 enable-method = "psci";
92 enable-method = "psci";
100 enable-method = "psci";
108 enable-method = "psci";
114 entry-method = "psci";
136 method = "smc";

12345678910>>...35