| /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 | dbobject.c | 23 * PARAMETERS: status - Method execution status 28 * DESCRIPTION: Called when a method has been aborted because of an error. 29 * Dumps the method execution stack, and the method locals/args, 62 * If there is no Thread, we are not actually executing a method. in acpi_db_dump_method_info() 71 /* Display the method locals and arguments */ in acpi_db_dump_method_info() 163 acpi_os_printf(" [Method Arg]"); in acpi_db_decode_node() 166 acpi_os_printf(" [Method Local]"); in acpi_db_decode_node() 381 * PARAMETERS: walk_state - State for current method 385 * DESCRIPTION: Display all locals for the currently running control method 406 ("No method node (Executing subtree for buffer or opregion)\n"); in acpi_db_decode_locals() [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 …]
|
| H A D | chromeos-acpi-device.rst | 46 - Chrome OS method list 50 This control method returns the switch positions for Chrome OS specific hardware switches. 81 This control method returns the hardware ID for the Chromebook. 96 This control method returns the firmware version for the rewritable portion of the main 110 This control method returns the firmware version for the read-only portion of the main 124 This control method returns information about the current boot. 185 This control method returns information about Chrome OS specific GPIO assignments for 258 This control method returns information about the NVRAM (CMOS) locations used to 294 This control method returns the physical memory address of the start of the main processor 308 This control method returns the verified boot data block shared between the firmware [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/tools/testing/selftests/mm/ |
| H A D | charge_reserved_hugetlb.sh | 167 local method="$6" 192 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] || 196 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 229 "$cgroup" "$path" "$method" "$private" "$reserve" 285 local method="$7" 305 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \ 333 local method="${12}" 359 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \ 376 "$populate2" "$write2" "/mnt/huge/test2" "$method" " [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/Documentation/wmi/devices/ |
| H A D | dell-wmi-ddv.rst | 79 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/marvell/ |
| H A D | armada-ap810-ap0-octa-core.dtsi | 19 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/drivers/platform/wmi/ |
| H A D | core.c | 88 #define ACPI_WMI_METHOD BIT(1) /* GUID is a method */ 135 const char method, in get_acpi_method_name() argument 142 buffer[1] = method; in get_acpi_method_name() 174 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmi_device_enable() local 187 snprintf(method, sizeof(method), "WE%02X", wblock->gblock.notify_id); in wmi_device_enable() 192 get_acpi_method_name(wblock, 'C', method); in wmi_device_enable() 197 * necessary ACPI method. Ignore this missing ACPI method to match in wmi_device_enable() 200 status = acpi_get_handle(wblock->acpi_device->handle, method, &handle); in wmi_device_enable() 278 * wmi_evaluate_method - Evaluate a WMI method (deprecated) 281 * @method_id: Method ID to call [all …]
|
| /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 | 23 * No dirtied pages at scan trigger a transition to the _MKWRITE method, 25 * the _PAGETABLE method. How many triggers should we wait for before 26 * changing method? 30 /* Percentage to trigger a transition to the _PAGETABLE method */ 38 * @method: The currently used dirty method 39 * @change_count: Number of consecutive method change triggers 49 enum vmw_bo_dirty_method method; member 66 * dirty-tracking method. 87 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable() 98 * vmw_bo_dirty_scan_mkwrite - Reset the mkwrite dirty-tracking method [all …]
|
| /linux/drivers/md/ |
| H A D | dm-builtin.c | 5 * The kobject release method must not be placed in the module itself, 8 * The release method is called when the last reference to the kobject is 12 * The release method suffers from module unload race. We may prevent the 13 * module from being unloaded at the start of the release method (using 15 * method), however there is no way to prevent the module from being 16 * unloaded at the end of the release method. 40 * In order to fix this module unload race, we place the release method
|