/openbmc/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 …]
|
/openbmc/qemu/hw/acpi/ |
H A D | memory_hotplug.c | 340 Aml *method; in build_memory_hotplug_aml() local 437 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml() 442 aml_append(method, ifctx); in build_memory_hotplug_aml() 444 aml_append(method, aml_return(aml_int(0xB))); in build_memory_hotplug_aml() 445 aml_append(dev_container, method); in build_memory_hotplug_aml() 449 method = aml_method(MEMORY_SLOT_SCAN_METHOD, 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml() 461 aml_append(method, ifctx); in build_memory_hotplug_aml() 463 aml_append(method, aml_store(zero, idx)); in build_memory_hotplug_aml() 464 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml() 499 aml_append(method, while_ctx); in build_memory_hotplug_aml() [all …]
|
H A D | cpu_hotplug.c | 128 Aml *method; in build_legacy_cpu_hotplug_aml() local 152 method = aml_method(CPU_MAT_METHOD, 2, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml() 153 aml_append(method, in build_legacy_cpu_hotplug_aml() 155 aml_append(method, in build_legacy_cpu_hotplug_aml() 158 aml_append(method, aml_store(cpu_id, aml_index(madt, aml_int(2)))); in build_legacy_cpu_hotplug_aml() 159 aml_append(method, aml_store(apic_id, aml_index(madt, aml_int(3)))); in build_legacy_cpu_hotplug_aml() 160 aml_append(method, aml_store(cpu_on, aml_index(madt, aml_int(4)))); in build_legacy_cpu_hotplug_aml() 161 aml_append(method, aml_return(madt)); in build_legacy_cpu_hotplug_aml() 162 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml() 169 method = aml_method(CPU_STATUS_METHOD, 1, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml() [all …]
|
H A D | nvdimm.c | 935 Aml *method, *ifctx, *function, *handle, *uuid, *dsm_mem, *elsectx2; in nvdimm_build_common_dsm() local 942 method = aml_method(NVDIMM_COMMON_DSM, 5, AML_SERIALIZED); in nvdimm_build_common_dsm() 949 aml_append(method, aml_store(aml_name(NVDIMM_ACPI_MEM_ADDR), dsm_mem)); in nvdimm_build_common_dsm() 958 aml_append(method, aml_operation_region(NVDIMM_DSM_IOPORT, rs, in nvdimm_build_common_dsm() 961 aml_append(method, aml_operation_region(NVDIMM_DSM_MEMORY, in nvdimm_build_common_dsm() 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() 1041 aml_append(method, elsectx); in nvdimm_build_common_dsm() [all …]
|
H A D | cpu.c | 348 Aml *method; in build_cpus_aml() local 412 method = aml_method("_INI", 0, AML_SERIALIZED); in build_cpus_aml() 417 aml_append(method, aml_store(zero, aml_name(CPU_SELECTOR))); in build_cpus_aml() 418 aml_append(cpu_ctrl_dev, method); in build_cpus_aml() 439 method = aml_method(CPU_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_cpus_aml() 449 aml_append(method, ifctx); in build_cpus_aml() 451 aml_append(cpus_dev, method); in build_cpus_aml() 453 method = aml_method(CPU_STS_METHOD, 1, AML_SERIALIZED); in build_cpus_aml() 458 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml() 459 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/ |
H A D | item_updater_helper.cpp | 23 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in setEntry() local 25 method.append(serviceFile, "replace"); in setEntry() 26 bus.call_noreply(method); in setEntry() 33 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in clearEntry() local 35 method.append(serviceFile, "replace"); in clearEntry() 36 bus.call_noreply(method); in clearEntry() 42 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in cleanup() local 44 method.append("obmc-flash-bmc-cleanup.service", "replace"); in cleanup() 45 bus.call_noreply(method); in cleanup() 59 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in removeVersion() local [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 }( 22 ${ method.get_parameters_str(interface) }) = 0; 27 /** @brief sd-bus callback for ${ method.name } 29 static int _callback_${ method.CamelCase }( [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: 19 ${method.get_parameters_str(interface, join_str=", ")}\ 25 ${method.returns_as_list(interface)}>(context(), "${method.name}"\ [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.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:
|
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}\
|
/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/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 …]
|
/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/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/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 | 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. 20 control method rather than override the entire DSDT, because kernel 29 - The same ACPI control method can be overridden for many times, 38 1. override an existing method 43 c) rewrite the ASL code of the method and save it in a new file, 45 Here is an example of a customized \_SB._AC._PSR method:: 56 Note that the full pathname of the method in ACPI namespace 58 e) assemble the file to generate the AML code of the method. [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 156 local method="$6" 181 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] || 185 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 218 "$cgroup" "$path" "$method" "$private" "$reserve" 274 local method="$7" 294 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \ 322 local method="${12}" 348 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \ 365 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \ 400 for method in 0 1 2; do [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 342 Aml *method; in aml_pci_device_dsm() local 344 method = aml_method("_DSM", 4, AML_SERIALIZED); in aml_pci_device_dsm() 350 aml_append(method, aml_store(pkg, params)); in aml_pci_device_dsm() 351 aml_append(method, in aml_pci_device_dsm() 353 aml_append(method, in aml_pci_device_dsm() 355 aml_append(method, in aml_pci_device_dsm() 360 return method; in aml_pci_device_dsm() 391 Aml *method, *ifctx; in aml_pci_edsm() local 398 method = aml_method("EDSM", 5, AML_SERIALIZED); in aml_pci_edsm() 410 aml_append(method, ifctx); in aml_pci_edsm() [all …]
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | activation.cpp | 44 auto method = this->bus.new_method_call(SYSTEMD_SERVICE, SYSTEMD_OBJ_PATH, in subscribeToSystemdSignals() local 48 this->bus.call_noreply(method); in subscribeToSystemdSignals() 70 auto method = this->bus.new_method_call(SYSTEMD_SERVICE, SYSTEMD_OBJ_PATH, in unsubscribeFromSystemdSignals() local 72 this->bus.call_noreply(method); in unsubscribeFromSystemdSignals() 101 auto method = this->bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, in deleteImageManagerObject() local 104 method.append(path); in deleteImageManagerObject() 105 method.append(std::vector<std::string>({deleteInterface})); in deleteImageManagerObject() 111 auto mapperResponseMsg = bus.call(method); in deleteImageManagerObject() 144 method = this->bus.new_method_call(versionService.c_str(), path.c_str(), in deleteImageManagerObject() 148 bus.call(method); in deleteImageManagerObject() [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() 76 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty() local 78 method.append(interface, propertyName); in getProperty() 80 auto reply = bus.call(method); in getProperty() 98 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty() local 100 method.append(interface.c_str(), propertyName.c_str(), value); in setProperty() 102 bus.call_noreply(method); in setProperty() 112 auto method = bus.new_method_call(mapperBusName, mapperObjPath, mapperIntf, in getSubTreePaths() local [all …]
|
/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/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-bmc-code-mgmt/bmc/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/phosphor-bmc-code-mgmt/bmc/ |
H A D | activation.cpp | 43 auto method = this->bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in subscribeToSystemdSignals() local 47 this->bus.call_noreply(method); in subscribeToSystemdSignals() 69 auto method = this->bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in unsubscribeFromSystemdSignals() local 73 this->bus.call_noreply(method); in unsubscribeFromSystemdSignals() 233 auto method = this->bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, in deleteImageManagerObject() local 235 method.append(path.c_str()); in deleteImageManagerObject() 236 method.append(std::vector<std::string>({interface})); in deleteImageManagerObject() 242 auto reply = bus.call(method); in deleteImageManagerObject() 348 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in enableRebootGuard() local 350 method.append("reboot-guard-enable.service", "replace"); in enableRebootGuard() [all …]
|