Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1771) sorted by relevance

12345678910>>...71

/openbmc/linux/drivers/acpi/acpica/
H A Ddsmethod.c323 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 Dmemory_hotplug.c348 Aml *method; in build_memory_hotplug_aml() local
519 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()
559 aml_append(method, in build_memory_hotplug_aml()
561 aml_append(method, in build_memory_hotplug_aml()
563 aml_append(method, in build_memory_hotplug_aml()
565 aml_append(method, in build_memory_hotplug_aml()
568 aml_append(method, in build_memory_hotplug_aml()
570 aml_append(method, in build_memory_hotplug_aml()
[all …]
H A Dcpu_hotplug.c116 Aml *method; in build_legacy_cpu_hotplug_aml() local
141 aml_append(method, in build_legacy_cpu_hotplug_aml()
143 aml_append(method, in build_legacy_cpu_hotplug_aml()
150 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
158 aml_append(method, in build_legacy_cpu_hotplug_aml()
164 aml_append(method, if_ctx); in build_legacy_cpu_hotplug_aml()
169 aml_append(method, else_ctx); in build_legacy_cpu_hotplug_aml()
275 aml_append(method, in build_legacy_cpu_hotplug_aml()
282 aml_append(method, in build_legacy_cpu_hotplug_aml()
287 aml_append(method, in build_legacy_cpu_hotplug_aml()
[all …]
H A Dnvdimm.c976 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 Dcpu.c348 Aml *method; in build_cpus_aml() local
441 aml_append(method, ifctx); in build_cpus_aml()
443 aml_append(cpus_dev, method); in build_cpus_aml()
461 aml_append(cpus_dev, method); in build_cpus_aml()
478 aml_append(cpus_dev, method); in build_cpus_aml()
628 aml_append(cpus_dev, method); in build_cpus_aml()
644 aml_append(cpus_dev, method); in build_cpus_aml()
663 aml_append(dev, method); in build_cpus_aml()
678 aml_append(method, in build_cpus_aml()
682 aml_append(dev, method); in build_cpus_aml()
[all …]
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dmethod.prototype.hpp.mako5 /** @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 }(
43 % if len(method.returns) > 1:
56 % for e in method.errors:
74 % if len(method.parameters) == 0:
[all …]
H A Dmethod.client.hpp.mako1 /** @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 Dmethod.server.vtable.cpp.mako1 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 Dmethod.md.mako1 ${"###"} ${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 Dmethod.aserver.vtable.hpp.mako1 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/phosphor-bmc-code-mgmt/ubi/
H A Ditem_updater_helper.cpp25 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/linux/arch/arm/mm/
H A Dproc-v7-bugs.c74 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 Dthunderx-88xx.dtsi17 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 Dacpi-vga.c9 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 Dthunder-88xx.dtsi58 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 Dspectre.c26 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/linux/Documentation/firmware-guide/acpi/
H A Dmethod-tracing.rst15 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 Dmethod-customizing.rst14 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-fan-presence/control/json/
H A Dprofile.cpp52 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 [](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()
84 return std::all_of(method["properties"].begin(), method["properties"].end(), in allOf()
/openbmc/phosphor-led-manager/
H A Dutils.cpp53 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getAllProperties() local
55 method.append(interface); in getAllProperties()
57 auto reply = bus.call(method); in getAllProperties()
80 method.append(interface, propertyName); in getProperty()
82 auto reply = bus.call(method); in getProperty()
103 method.append(interface.c_str(), propertyName.c_str(), value); in setProperty()
105 bus.call_noreply(method); in setProperty()
118 method.append(objectPath.c_str()); in getSubTreePaths()
119 method.append(0); // Depth 0 to search all in getSubTreePaths()
120 method.append(std::vector<std::string>({interface.c_str()})); in getSubTreePaths()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh156 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 Dactivation.cpp48 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 Dacpi-build.c354 Aml *method; in aml_pci_device_dsm() local
456 Aml *method; in aml_pci_static_endpoint_dsm() local
606 Aml *method; in build_append_notfication_callback() local
860 Aml *method; in build_hpet_aml() local
911 Aml *method; in build_vmbus_device_aml() local
946 Aml *method; in build_dbg_aml() local
982 Aml *method; in build_link_dev() local
1018 Aml *method; in build_gsi_link_dev() local
1092 Aml *method; in build_piix4_pci0_int() local
1203 Aml *method; in build_q35_pci0_int() local
[all …]
/openbmc/phosphor-bmc-code-mgmt/mmc/
H A Ditem_updater_helper.cpp39 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 Dutility.hpp52 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()

12345678910>>...71