/linux/drivers/acpi/acpica/ |
H A D | dsmethod.c | 4 * 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 …]
|
H A D | psxface.c | 37 * 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 …]
|
H A D | nsarguments.c | 22 * 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 …]
|
H A D | nseval.c | 4 * Module Name: nseval - Object evaluation, includes control method execution 23 * prefix_node - Prefix or Method/Object Node to execute 24 * relative_path - Name of method to execute, If NULL, the 26 * parameters - List of parameters to pass to the method, 30 * return_object - Where to put method's return value (if 36 * DESCRIPTION: Execute a control method or return the current value of an 70 * For a method alias, we must grab the actual method node so that in acpi_ns_evaluate() 138 * this method/object matches the actual ASL/AML definition. in acpi_ns_evaluate() 151 * 2) The object is a control method -- execute it in acpi_ns_evaluate() 152 * 3) The object is not a method -- just return it's current value in acpi_ns_evaluate() [all …]
|
H A D | dbmethod.c | 36 * DESCRIPTION: Set a breakpoint in a control method at the specified 50 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_breakpoint() 78 * DESCRIPTION: Set a breakpoint in a control method at the specified 87 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_call_breakpoint() 104 * DESCRIPTION: Set a local or argument for the running control method. 151 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_data() 168 /* Set a method argument */ in acpi_db_set_method_data() 191 /* Set a method local */ in acpi_db_set_method_data() 241 acpi_os_printf("There is no method currently executing\n"); in acpi_db_disassemble_aml() 256 * PARAMETERS: name - Name of control method [all …]
|
H A D | dsdebug.c | 77 * PARAMETERS: status - Method execution status 83 * DESCRIPTION: Called when a method has been aborted because of an error. 84 * Dumps the method execution stack. 116 * If there is no Thread, we are not actually executing a method. in acpi_ds_dump_method_stack() 125 /* Display exception and method name */ in acpi_ds_dump_method_stack() 128 "\n**** Exception %s during execution of method ", in acpi_ds_dump_method_stack() 145 method_desc->method.node, in acpi_ds_dump_method_stack() 150 " Method [%4.4s] executing: ", in acpi_ds_dump_method_stack() 154 /* First method is the currently executing method */ in acpi_ds_dump_method_stack() 179 * This method has called another method in acpi_ds_dump_method_stack() [all …]
|
H A D | psparse.c | 309 * A control method was terminated via a RETURN statement. in acpi_ps_next_parse_state() 310 * The walk of this method is complete. in acpi_ps_next_parse_state() 369 /* A method call (invocation) -- transfer control */ in acpi_ps_next_parse_state() 432 /* Executing a control method - additional cleanup */ in acpi_ps_parse_aml() 446 * If executing a method, the starting sync_level is this method's in acpi_ps_parse_aml() 451 walk_state->method_desc->method.sync_level; in acpi_ps_parse_aml() 458 * executing control method. in acpi_ps_parse_aml() 464 * handles nested control method invocations without recursion. in acpi_ps_parse_aml() 472 * The parse_loop executes AML until the method terminates in acpi_ps_parse_aml() 473 * or calls another method. in acpi_ps_parse_aml() [all …]
|
H A D | nsxfname.c | 220 * 1) _SUB method was removed (11/2015) 221 * 2) _STA method was removed (02/2018) 268 param_count = node->object->method.param_count; in acpi_get_object_info() 286 /* Execute the Device._HID method */ in acpi_get_object_info() 294 /* Execute the Device._UID method */ in acpi_get_object_info() 302 /* Execute the Device._CID method */ in acpi_get_object_info() 315 /* Execute the Device._CLS method */ in acpi_get_object_info() 346 /* Execute the Device._ADR method */ in acpi_get_object_info() 465 * PARAMETERS: buffer - An ACPI table containing one control method in ACPI_EXPORT_SYMBOL() 469 * DESCRIPTION: Install a control method into the namespace. If the method in ACPI_EXPORT_SYMBOL() [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 …]
|
H A D | acpi-lid.rst | 5 Special Usage Model of the ACPI Control Method Lid Device 15 using a control method lid device. To implement this, the AML tables issue 17 changed. The _LID control method for the lid device must be implemented to 20 For most platforms, both the _LID method and the lid notifications are 27 Restrictions of the returning value of the _LID control method 30 The _LID control method is described to return the "current" lid state. 34 _LID control method is evaluated during the runtime, the problem is its 35 initial returning value. When the AML tables implement this control method 57 This file actually calls the _LID control method described above. And given 74 A. button.lid_init_state=method: [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/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/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/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 …]
|
/linux/arch/arm/kernel/ |
H A D | cpuidle.c | 54 * @method: the method name 57 * method name. 61 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) in arm_cpuidle_get_ops() argument 65 for (; m->method; m++) in arm_cpuidle_get_ops() 66 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops() 77 * Get the method name defined in the 'enable-method' property, retrieve the 82 * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if 83 * no cpuidle_ops is registered for the 'enable-method', or if either init or 91 enable_method = of_get_property(dn, "enable-method", NULL); in arm_cpuidle_read_ops() 97 pr_warn("%pOF: unsupported enable-method property: %s\n", in arm_cpuidle_read_ops() [all …]
|
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/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/drivers/platform/x86/ |
H A D | wmi.c | 82 #define ACPI_WMI_METHOD BIT(1) /* GUID is a method */ 129 char method[5]; in wmi_method_enable() local 136 snprintf(method, 5, "WE%02X", block->notify_id); in wmi_method_enable() 137 status = acpi_execute_simple_method(handle, method, enable); in wmi_method_enable() 147 const char method, in get_acpi_method_name() argument 154 buffer[1] = method; in get_acpi_method_name() 254 * wmi_evaluate_method - Evaluate a WMI method (deprecated) 257 * @method_id: Method ID to call 258 * @in: Mandatory buffer containing input for the method call 259 * @out: Empty buffer to return the method results [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 …]
|
/linux/net/tipc/ |
H A D | bcast.c | 61 * @rc_ratio: dest count as percentage of cluster size where send method changes 213 struct tipc_mc_method *method) in tipc_bcast_select_xmit_method() argument 216 unsigned long exp = method->expires; in tipc_bcast_select_xmit_method() 220 method->rcast = true; in tipc_bcast_select_xmit_method() 225 method->rcast = false; in tipc_bcast_select_xmit_method() 228 /* Can current method be changed ? */ in tipc_bcast_select_xmit_method() 229 method->expires = jiffies + TIPC_METHOD_EXPIRE; in tipc_bcast_select_xmit_method() 230 if (method->mandatory) in tipc_bcast_select_xmit_method() 237 /* Configuration as force 'broadcast' method */ in tipc_bcast_select_xmit_method() 239 method->rcast = false; in tipc_bcast_select_xmit_method() [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_page_dirty.c | 42 * No dirtied pages at scan trigger a transition to the _MKWRITE method, 44 * the _PAGETABLE method. How many triggers should we wait for before 45 * changing method? 49 /* Percentage to trigger a transition to the _PAGETABLE method */ 56 * @method: The currently used dirty method 57 * @change_count: Number of consecutive method change triggers 67 enum vmw_bo_dirty_method method; member 80 * dirty-tracking method. 101 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable() 112 * vmw_bo_dirty_scan_mkwrite - Reset the mkwrite dirty-tracking method [all …]
|
/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";
|