/openbmc/linux/drivers/acpi/acpica/ |
H A D | dsmethod.c | 323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution() 342 (!(obj_desc->method. in acpi_ds_begin_method_execution() 378 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution() 398 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution() 417 if (!obj_desc->method.owner_id) { in acpi_ds_begin_method_execution() 428 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution() 435 if (obj_desc->method.mutex) { in acpi_ds_begin_method_execution() 742 if (method_desc->method. in acpi_ds_terminate_control_method() 746 method. in acpi_ds_terminate_control_method() 806 if (method_desc->method. in acpi_ds_terminate_control_method() [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | memory_hotplug.c | 340 Aml *method; in build_memory_hotplug_aml() local 511 aml_append(method, in build_memory_hotplug_aml() 547 aml_append(method, in build_memory_hotplug_aml() 549 aml_append(method, in build_memory_hotplug_aml() 551 aml_append(method, in build_memory_hotplug_aml() 553 aml_append(method, in build_memory_hotplug_aml() 555 aml_append(method, in build_memory_hotplug_aml() 557 aml_append(method, in build_memory_hotplug_aml() 560 aml_append(method, in build_memory_hotplug_aml() 562 aml_append(method, in build_memory_hotplug_aml() [all …]
|
H A D | cpu_hotplug.c | 128 Aml *method; in build_legacy_cpu_hotplug_aml() local 153 aml_append(method, in build_legacy_cpu_hotplug_aml() 155 aml_append(method, in build_legacy_cpu_hotplug_aml() 162 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml() 170 aml_append(method, in build_legacy_cpu_hotplug_aml() 176 aml_append(method, if_ctx); in build_legacy_cpu_hotplug_aml() 181 aml_append(method, else_ctx); in build_legacy_cpu_hotplug_aml() 287 aml_append(method, in build_legacy_cpu_hotplug_aml() 294 aml_append(method, in build_legacy_cpu_hotplug_aml() 299 aml_append(method, in build_legacy_cpu_hotplug_aml() [all …]
|
H A D | nvdimm.c | 976 aml_append(method, field); in nvdimm_build_common_dsm() 1000 aml_append(method, field); in nvdimm_build_common_dsm() 1017 aml_append(method, field); in nvdimm_build_common_dsm() 1031 aml_append(method, ifctx); in nvdimm_build_common_dsm() 1086 aml_append(method, ifctx); in nvdimm_build_common_dsm() 1129 aml_append(method, ifctx); in nvdimm_build_common_dsm() 1138 aml_append(dev, method); in nvdimm_build_common_dsm() 1143 Aml *method; in nvdimm_build_device_dsm() local 1149 aml_append(dev, method); in nvdimm_build_device_dsm() 1208 aml_append(dev, method); in nvdimm_build_fit() [all …]
|
H A D | cpu.c | 348 Aml *method; in build_cpus_aml() local 449 aml_append(method, ifctx); in build_cpus_aml() 451 aml_append(cpus_dev, method); in build_cpus_aml() 469 aml_append(cpus_dev, method); in build_cpus_aml() 486 aml_append(cpus_dev, method); in build_cpus_aml() 636 aml_append(cpus_dev, method); in build_cpus_aml() 652 aml_append(cpus_dev, method); in build_cpus_aml() 671 aml_append(dev, method); in build_cpus_aml() 686 aml_append(method, in build_cpus_aml() 690 aml_append(dev, method); in build_cpus_aml() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ubi/ |
H A D | item_updater_helper.cpp | 25 method.append(serviceFile, "replace"); in setEntry() 26 bus.call_noreply(method); in setEntry() 35 method.append(serviceFile, "replace"); in clearEntry() 36 bus.call_noreply(method); in clearEntry() 45 bus.call_noreply(method); in cleanup() 61 method.append(serviceFile, "replace"); in removeVersion() 62 bus.call_noreply(method); in removeVersion() 71 method.append(updateEnvVarsFile, "replace"); in updateUbootVersionId() 75 bus.call_noreply(method); in updateUbootVersionId() 89 method.append(mirrorUbootFile, "replace"); in mirrorAlt() [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | method.prototype.hpp.mako | 5 /** @brief Implementation for ${ method.name } 6 * ${ method.description.strip() } 7 % if len(method.parameters) != 0: 9 % for p in method.parameters: 13 % if len(method.returns) != 0: 15 % for r in method.returns: 21 virtual ${method.cpp_return_type(interface)} ${ method.camelCase }( 29 static int _callback_${ method.CamelCase }( 43 % if len(method.returns) > 1: 56 % for e in method.errors: [all …]
|
H A D | method.client.hpp.mako | 1 /** @brief ${ method.name } 2 * ${ method.description.strip() } 3 % if len(method.parameters) != 0: 5 % for p in method.parameters: 9 % if len(method.returns) != 0: 11 % for r in method.returns: 17 auto ${method.snake_case}(\ 18 % if len(method.parameters) != 0: 25 ${method.returns_as_list(interface)}>(context(), "${method.name}"\ 26 % if len(method.parameters) != 0: [all …]
|
H A D | method.server.vtable.cpp.mako | 1 vtable::method("${method.name}", 2 details::${interface.classname}::_param_${ method.CamelCase }.data(), 3 details::${interface.classname}::_return_${ method.CamelCase }.data(), 4 % if method.cpp_flags: 5 _callback_${method.CamelCase}, 6 ${method.cpp_flags}\ 8 _callback_${method.CamelCase}\
|
H A D | method.aserver.vtable.hpp.mako | 1 vtable::method("${method.name}", 2 _method_typeid_p_${method.snake_case}.data(), 3 _method_typeid_r_${method.snake_case}.data(), 4 _callback_m_${method.snake_case}\ 5 % if method.cpp_flags: 7 ${method.cpp_flags}\
|
H A D | method.md.mako | 1 ${"###"} ${method.name} 3 ${method.description} 5 % if len(method.parameters) or len(method.returns): 9 % for p in method.parameters: 12 % for r in method.returns: 17 % if len(method.errors): 19 % for e in method.errors:
|
/openbmc/linux/arch/arm/mm/ |
H A D | proc-v7-bugs.c | 74 switch (method) { in spectre_v2_install_workaround() 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() 185 switch (method) { in spectre_bhb_method_name() 199 if (spectre_bhb_method != method) { in spectre_bhb_install_workaround() 210 spectre_bhb_method = method; in spectre_bhb_install_workaround() 227 unsigned int state, method = 0; in cpu_v7_spectre_bhb_init() local [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | thunderx-88xx.dtsi | 17 method = "smc"; 28 enable-method = "psci"; 34 enable-method = "psci"; 40 enable-method = "psci"; 46 enable-method = "psci"; 52 enable-method = "psci"; 58 enable-method = "psci"; 64 enable-method = "psci"; 70 enable-method = "psci"; 76 enable-method = "psci"; [all …]
|
/openbmc/qemu/hw/display/ |
H A D | acpi-vga.c | 9 Aml *method; in build_vga_aml() local 15 method = aml_method("_S1D", 0, AML_NOTSERIALIZED); in build_vga_aml() 16 aml_append(method, aml_return(aml_int(0))); in build_vga_aml() 17 aml_append(scope, method); in build_vga_aml() 19 method = aml_method("_S2D", 0, AML_NOTSERIALIZED); in build_vga_aml() 20 aml_append(method, aml_return(aml_int(0))); in build_vga_aml() 21 aml_append(scope, method); in build_vga_aml() 23 method = aml_method("_S3D", 0, AML_NOTSERIALIZED); in build_vga_aml() 24 aml_append(method, aml_return(aml_int(s3d))); in build_vga_aml() 25 aml_append(scope, method); in build_vga_aml()
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | profile.cpp | 52 auto method = jsonObj["method"]["name"].get<std::string>(); in setActive() local 53 std::transform(method.begin(), method.end(), method.begin(), tolower); in setActive() 54 auto handler = _methods.find(method); in setActive() 65 _methods.begin()->first, [](auto list, auto method) { in setActive() argument 66 return std::move(list) + ", " + method.first; in setActive() 74 bool Profile::allOf(const json& method) in allOf() argument 76 if (!method.contains("properties")) in allOf() 79 entry("JSON=%s", method.dump().c_str())); in allOf() 85 method["properties"].begin(), method["properties"].end(), in allOf()
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | method-tracing.rst | 15 method tracing facility. 52 control method is being evaluated:: 124 # echo "method" > trace_state 195 Disable the method tracing feature. 198 Enable the method tracing feature. 203 "method" 204 Enable the method tracing feature. 209 "method-once" 210 Enable the method tracing feature. 216 Enable the method tracing feature. [all …]
|
H A D | method-customizing.rst | 14 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. 38 1. override an existing method 45 Here is an example of a customized \_SB._AC._PSR method:: 58 e) assemble the file to generate the AML code of the method. 63 g) override the old method via the debugfs by running 66 2. insert a new method 68 This is easier than overriding an existing method. 69 We just need to create the ASL code of the method we want to [all …]
|
/openbmc/phosphor-led-manager/ |
H A D | utils.cpp | 52 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getAllProperties() local 54 method.append(interface); in getAllProperties() 56 auto reply = bus.call(method); in getAllProperties() 78 method.append(interface, propertyName); in getProperty() 80 auto reply = bus.call(method); in getProperty() 100 method.append(interface.c_str(), propertyName.c_str(), value); in setProperty() 102 bus.call_noreply(method); in setProperty() 114 method.append(objectPath.c_str()); in getSubTreePaths() 115 method.append(0); // Depth 0 to search all in getSubTreePaths() 116 method.append(std::vector<std::string>({interface})); in getSubTreePaths() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 156 local method="$6" 181 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] || 274 local method="$7" 322 local method="${12}" 400 for method in 0 1 2; do 423 echo private=$private, populate=$populate, method=$method, reserve=$reserve 452 echo private=$private, populate=$populate, method=$method, reserve=$reserve 472 echo private=$private, populate=$populate, method=$method, reserve=$reserve 489 echo private=$private, populate=$populate, method=$method, reserve=$reserve 505 echo private=$private, populate=$populate, method=$method, reserve=$reserve [all …]
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | activation.cpp | 48 this->bus.call_noreply(method); in subscribeToSystemdSignals() 72 this->bus.call_noreply(method); in unsubscribeFromSystemdSignals() 104 method.append(path); in deleteImageManagerObject() 105 method.append(std::vector<std::string>({deleteInterface})); in deleteImageManagerObject() 111 auto mapperResponseMsg = bus.call(method); in deleteImageManagerObject() 148 bus.call(method); in deleteImageManagerObject() 180 method.append(applyTimeIntf, applyTimeProp); in checkApplyTimeImmediate() 184 auto reply = bus.call(method); in checkApplyTimeImmediate() 220 auto reply = bus.call(method); in rebootHost() 278 method.append(FIELDMODE_INTERFACE, "FieldModeEnabled"); in fieldModeEnabled() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 343 Aml *method; in aml_pci_device_dsm() local 445 Aml *method; in aml_pci_static_endpoint_dsm() local 595 Aml *method; in build_append_notfication_callback() local 849 Aml *method; in build_hpet_aml() local 900 Aml *method; in build_vmbus_device_aml() local 935 Aml *method; in build_dbg_aml() local 971 Aml *method; in build_link_dev() local 1007 Aml *method; in build_gsi_link_dev() local 1081 Aml *method; in build_piix4_pci0_int() local 1192 Aml *method; in build_q35_pci0_int() local [all …]
|
/openbmc/phosphor-bmc-code-mgmt/mmc/ |
H A D | item_updater_helper.cpp | 39 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in removeVersion() local 42 method.append(serviceFile, "replace"); in removeVersion() 43 bus.call_noreply(method); in removeVersion() 53 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in updateUbootVersionId() local 56 method.append(serviceFile, "replace"); in updateUbootVersionId() 57 bus.call_noreply(method); in updateUbootVersionId() 67 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in mirrorAlt() local 70 method.append(serviceFile, "replace"); in mirrorAlt() 71 bus.call_noreply(method); in mirrorAlt()
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | utility.hpp | 52 auto method = bus.new_method_call(service.c_str(), path.c_str(), in getProperty() local 55 method.append(interface, propertyName); in getProperty() 57 auto reply = bus.call(method); in getProperty() 80 auto method = bus.new_method_call(service.c_str(), path.c_str(), in setProperty() local 83 method.append(interface, propertyName, propertyValue); in setProperty() 85 auto reply = bus.call(method); in setProperty() 99 auto method = bus.new_method_call(SYSTEMD_SERVICE, SYSTEMD_ROOT, in powerOff() local 102 method.append(POWEROFF_TARGET); in powerOff() 103 method.append("replace"); in powerOff() 105 bus.call_noreply(method); in powerOff()
|