Home
last modified time | relevance | path

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

12345678910>>...36

/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/
H A Ditem_updater_helper.cpp23 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 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 }(
22 ${ method.get_parameters_str(interface) }) = 0;
27 /** @brief sd-bus callback for ${ method.name }
29 static int _callback_${ method.CamelCase }(
[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:
19 ${method.get_parameters_str(interface, join_str=", ")}\
25 ${method.returns_as_list(interface)}>(context(), "${method.name}"\
[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.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}\
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:
/openbmc/qemu/hw/acpi/
H A Dmemory_hotplug.c340 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 Dcpu_hotplug.c127 Aml *method; in build_legacy_cpu_hotplug_aml() local
151 method = aml_method(CPU_MAT_METHOD, 2, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
152 aml_append(method, in build_legacy_cpu_hotplug_aml()
154 aml_append(method, in build_legacy_cpu_hotplug_aml()
157 aml_append(method, aml_store(cpu_id, aml_index(madt, aml_int(2)))); in build_legacy_cpu_hotplug_aml()
158 aml_append(method, aml_store(apic_id, aml_index(madt, aml_int(3)))); in build_legacy_cpu_hotplug_aml()
159 aml_append(method, aml_store(cpu_on, aml_index(madt, aml_int(4)))); in build_legacy_cpu_hotplug_aml()
160 aml_append(method, aml_return(madt)); in build_legacy_cpu_hotplug_aml()
161 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
168 method = aml_method(CPU_STATUS_METHOD, 1, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
[all …]
H A Dnvdimm.c935 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 Dcpu.c349 Aml *method; in build_cpus_aml() local
413 method = aml_method("_INI", 0, AML_SERIALIZED); in build_cpus_aml()
418 aml_append(method, aml_store(zero, aml_name(CPU_SELECTOR))); in build_cpus_aml()
419 aml_append(cpu_ctrl_dev, method); in build_cpus_aml()
440 method = aml_method(CPU_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_cpus_aml()
450 aml_append(method, ifctx); in build_cpus_aml()
452 aml_append(cpus_dev, method); in build_cpus_aml()
454 method = aml_method(CPU_STS_METHOD, 1, AML_SERIALIZED); in build_cpus_aml()
459 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml()
460 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml()
[all …]
H A Dvmgenid.c28 Aml *ssdt, *dev, *scope, *method, *addr, *if_ctx; in vmgenid_build_acpi() local
60 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in vmgenid_build_acpi()
62 aml_append(method, aml_store(aml_int(0xf), addr)); in vmgenid_build_acpi()
65 aml_append(method, if_ctx); in vmgenid_build_acpi()
66 aml_append(method, aml_return(addr)); in vmgenid_build_acpi()
67 aml_append(dev, method); in vmgenid_build_acpi()
73 method = aml_method("ADDR", 0, AML_NOTSERIALIZED); in vmgenid_build_acpi()
76 aml_append(method, aml_store(aml_package(2), addr)); in vmgenid_build_acpi()
78 aml_append(method, aml_store(aml_add(aml_name("VGIA"), in vmgenid_build_acpi()
81 aml_append(method, aml_store(aml_int(0), aml_index(addr, aml_int(1)))); in vmgenid_build_acpi()
[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/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/phosphor-fan-presence/control/json/
H A Dprofile.cpp50 auto method = jsonObj["method"]["name"].get<std::string>(); in setActive() local
51 std::transform(method.begin(), method.end(), method.begin(), tolower); in setActive()
52 auto handler = _methods.find(method); in setActive()
63 _methods.begin()->first, [](auto list, auto method) { in setActive() argument
64 return std::move(list) + ", " + method.first; in setActive()
72 bool Profile::allOf(const json& method) in allOf() argument
74 if (!method.contains("properties")) in allOf()
77 method.dump()); in allOf()
83 method["properties"].begin(), method["properties"].end(), in allOf()
/openbmc/phosphor-led-manager/
H A Dutils.cpp52 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-bmc-code-mgmt/bmc/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/openpower-pnor-code-mgmt/
H A Dactivation.cpp44 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/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()
/openbmc/phosphor-inventory-manager/
H A Dmethod.mako.cpp1 ${'::'.join(method.namespace + [method.name])}\
2 % if method.templates:
3 <${(',\n' + indent(1)).join([t.qualified() for t in method.templates])}>\
6 % if method.args:
8 ${indent(1)}${(',\n' + indent(1)).join([arg.argument(loader, indent=indent +1) for arg in method.ar…
/openbmc/phosphor-objmgr/fail-monitor/
H A Dmonitor.cpp39 auto method = bus.new_method_call(systemdService, path.c_str(), in inFailedState() local
42 method.append(systemdUnitInterface, "ActiveState"); in inFailedState()
46 auto reply = bus.call(method); in inFailedState()
65 auto method = bus.new_method_call(systemdService, systemdObjPath, in getSourceUnitPath() local
67 method.append(source); in getSourceUnitPath()
71 auto reply = bus.call(method); in getSourceUnitPath()
96 auto method = this->bus.new_method_call(systemdService, systemdObjPath, in runTargetAction() local
98 method.append(target); in runTargetAction()
99 method.append("replace"); in runTargetAction()
103 auto reply = bus.call(method); in runTargetAction()
/openbmc/phosphor-logging/phosphor-rsyslog-config/
H A Dutils.hpp22 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in restart() local
24 method.append(service); in restart()
25 bus.call_noreply(method); in restart()
29 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in restart() local
31 method.append(service, "replace"); in restart()
32 bus.call_noreply(method); in restart()
/openbmc/ibm-logging/
H A Ddbus.cpp38 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getManagedObjects() local
42 auto reply = bus.call(method); in getManagedObjects()
56 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getAllProperties() local
58 method.append(interface); in getAllProperties()
59 auto reply = bus.call(method); in getAllProperties()
71 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, MAPPER_IFACE, in getSubtree() local
73 method.append(root); in getSubtree()
74 method.append(depth); in getSubtree()
75 method.append(std::vector<std::string>({interface})); in getSubtree()
76 auto reply = bus.call(method); in getSubtree()
/openbmc/sdbusplus/test/vtable/
H A Dvtable.cpp21 sdbusplus::vtable::method("1", "2", "3", &test_handler, 0),
56 return strcmp(t1.x.method.member, t2.x.method.member) == 0 && in operator ==()
57 strcmp(t1.x.method.signature, t2.x.method.signature) == 0 && in operator ==()
58 strcmp(t1.x.method.result, t2.x.method.result) == 0 && in operator ==()
59 t1.x.method.handler == t2.x.method.handler && in operator ==()
60 t1.x.method.offset == t2.x.method.offset && in operator ==()
61 strcmp(t1.x.method.names, t2.x.method.names) == 0; in operator ==()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dactivation.cpp41 auto method = this->bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in subscribeToSystemdSignals() local
45 this->bus.call_noreply(method); in subscribeToSystemdSignals()
67 auto method = this->bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in unsubscribeFromSystemdSignals() local
71 this->bus.call_noreply(method); in unsubscribeFromSystemdSignals()
231 auto method = this->bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, in deleteImageManagerObject() local
233 method.append(path.c_str()); in deleteImageManagerObject()
234 method.append(std::vector<std::string>({interface})); in deleteImageManagerObject()
240 auto reply = bus.call(method); in deleteImageManagerObject()
346 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in enableRebootGuard() local
348 method.append("reboot-guard-enable.service", "replace"); in enableRebootGuard()
[all …]
/openbmc/phosphor-power/
H A Dutility.cpp42 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, in getService() local
45 method.append(path); in getService()
46 method.append(std::vector<std::string>({interface})); in getService()
48 auto reply = bus.call(method); in getService()
83 auto method = bus.new_method_call(serviceStr.c_str(), path.c_str(), in getAllProperties() local
85 method.append(interface); in getAllProperties()
86 auto reply = bus.call(method); in getAllProperties()
203 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_PATH, in getPSUInventoryPaths() local
205 method.append(INVENTORY_OBJ_PATH); in getPSUInventoryPaths()
206 method.append(0); // Depth 0 to search all in getPSUInventoryPaths()
[all …]

12345678910>>...36