/linux/drivers/acpi/acpica/ |
H A D | dsmethod.c | 70 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 D | psxface.c | 124 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 D | dbmethod.c | 271 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 D | proc-v7-bugs.c | 66 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 D | thunder-88xx.dtsi | 58 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 D | method-tracing.rst | 15 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 D | charge_reserved_hugetlb.sh | 158 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 …]
|
H A D | write_to_hugetlbfs.c | 21 enum method { enum 73 enum method method = MAX_METHOD; in main() local 100 method = atoi(optarg); in main() 149 if (method == MAX_METHOD) { in main() 154 printf("Using method=%d\n", method); in main() 166 switch (method) { in main() 239 if (method == HUGETLBFS) in main()
|
/linux/arch/arm/kernel/ |
H A D | spectre.c | 26 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 D | elba-16core.dtsi | 47 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 D | of-generic.c | 59 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/Documentation/wmi/ |
H A D | acpi-interface.rst | 32 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/marvell/ |
H A D | armada-ap810-ap0-octa-core.dtsi | 20 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/arch/arm64/boot/dts/hisilicon/ |
H A D | hip05.dtsi | 18 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 D | hip07.dtsi | 18 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 D | foundation-v8-psci.dtsi | 10 method = "smc"; 15 enable-method = "psci"; 19 enable-method = "psci"; 23 enable-method = "psci"; 27 enable-method = "psci";
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6755.dtsi | 18 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/drivers/platform/x86/ |
H A D | msi-wmi-platform.c | 81 enum msi_wmi_platform_method method; member 135 static int msi_wmi_platform_query(struct wmi_device *wdev, enum msi_wmi_platform_method method, in msi_wmi_platform_query() argument 150 status = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); in msi_wmi_platform_query() 234 ret = msi_wmi_platform_query(data->wdev, data->method, payload, data->length, data->buffer, in msi_wmi_platform_write() 281 const char *name, enum msi_wmi_platform_method method) in msi_wmi_platform_debugfs_add() argument 291 data->method = method; in msi_wmi_platform_debugfs_add() 308 int ret, method; in msi_wmi_platform_debugfs_init() local 320 for (method = MSI_PLATFORM_GET_PACKAGE; method <= MSI_PLATFORM_GET_WMI; method++) in msi_wmi_platform_debugfs_init() 321 msi_wmi_platform_debugfs_add(wdev, dir, msi_wmi_platform_debugfs_names[method - 1], in msi_wmi_platform_debugfs_init() 322 method); in msi_wmi_platform_debugfs_init()
|
/linux/Documentation/devicetree/bindings/ |
H A D | numa.txt | 178 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/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
H A D | marvell,berlin-smp | 2 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 D | al,alpine-smp | 2 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 D | nuvoton,npcm750-smp | 2 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/tools/testing/selftests/tc-testing/creating-plugins/ |
H A D | AddingPlugins.txt | 43 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 D | tegra210-p2530.dtsi | 53 enable-method = "psci"; 57 enable-method = "psci"; 61 enable-method = "psci"; 65 enable-method = "psci"; 71 method = "smc";
|
/linux/arch/arm64/boot/dts/amazon/ |
H A D | alpine-v3.dtsi | 27 enable-method = "psci"; 41 enable-method = "psci"; 55 enable-method = "psci"; 69 enable-method = "psci"; 83 enable-method = "psci"; 97 enable-method = "psci"; 111 enable-method = "psci"; 125 enable-method = "psci"; 139 enable-method = "psci"; 153 enable-method = "psci"; [all …]
|