/openbmc/sdbusplus/test/vtable/ |
H A D | vtable.cpp | 21 sdbusplus::vtable::method("1", "2", "3", &test_handler, 0), 59 return strcmp(t1.x.method.member, t2.x.method.member) == 0 && in operator ==() 60 strcmp(t1.x.method.signature, t2.x.method.signature) == 0 && in operator ==() 61 strcmp(t1.x.method.result, t2.x.method.result) == 0 && in operator ==() 62 t1.x.method.handler == t2.x.method.handler && in operator ==() 63 t1.x.method.offset == t2.x.method.offset && in operator ==() 64 strcmp(t1.x.method.names, t2.x.method.names) == 0; in operator ==()
|
/openbmc/phosphor-buttons/src/ |
H A D | button_handler.cpp | 135 auto result = bus.call(method); in getService() 157 auto method = bus.new_method_call( in getHostSelectorValue() local 160 auto result = bus.call(method); in getHostSelectorValue() 181 auto result = bus.call(method); in poweredOn() 303 bus.call(method); in handlePowerEvent() 356 auto result = bus.call(method); in idReleased() 371 result = bus.call(method); in idReleased() 392 auto method = in increaseHostSelectorPosition() local 396 auto result = bus.call(method); in increaseHostSelectorPosition() 410 method.append(HSPositionVariant); in increaseHostSelectorPosition() [all …]
|
H A D | host_then_chassis_poweroff.cpp | 137 auto method = bus.new_method_call(service::hostState, in hostTransition() local 142 bus.call(method); in hostTransition() 170 auto method = bus.new_method_call(service::chassisState, in chassisPowerOff() local 173 method.append(interface::chassisState, "RequestedPowerTransition", in chassisPowerOff() 176 bus.call(method); in chassisPowerOff() 190 auto method = bus.new_method_call(service::chassisState, in isPoweredOn() local 193 method.append(interface::chassisState, "CurrentPowerState"); in isPoweredOn() 194 auto result = bus.call(method); in isPoweredOn() 217 auto method = bus.new_method_call(service::bmcState, in isBmcReady() local 220 method.append(interface::bmcState, "CurrentBMCState"); in isBmcReady() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | activation.cpp | 47 this->bus.call_noreply(method); in subscribeToSystemdSignals() 73 this->bus.call_noreply(method); in unsubscribeFromSystemdSignals() 229 method.append(path.c_str()); in deleteImageManagerObject() 236 auto reply = bus.call(method); in deleteImageManagerObject() 345 bus.call_noreply(method); in enableRebootGuard() 355 bus.call_noreply(method); in disableRebootGuard() 371 method.append(applyTimeIntf, applyTimeProp); in checkApplyTimeImmediate() 375 auto reply = bus.call(method); in checkApplyTimeImmediate() 399 method.append(biosServiceFile, "replace"); in flashWriteHost() 402 auto reply = bus.call(method); in flashWriteHost() [all …]
|
/openbmc/phosphor-objmgr/fail-monitor/ |
H A D | monitor.cpp | 51 auto method = bus.new_method_call(systemdService, path.c_str(), in inFailedState() local 54 method.append(systemdUnitInterface, "ActiveState"); in inFailedState() 56 auto reply = bus.call(method); in inFailedState() 75 auto method = bus.new_method_call(systemdService, systemdObjPath, in getSourceUnitPath() local 77 method.append(source); in getSourceUnitPath() 78 auto reply = bus.call(method); in getSourceUnitPath() 105 auto method = this->bus.new_method_call(systemdService, systemdObjPath, in runTargetAction() local 107 method.append(target); in runTargetAction() 108 method.append("replace"); in runTargetAction() 110 auto reply = bus.call(method); in runTargetAction()
|
/openbmc/linux/arch/sh/boards/ |
H A D | of-generic.c | 57 const char *method = NULL; in sh_of_smp_probe() local 68 if (!method) in sh_of_smp_probe() 69 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe() 76 if (!method) { in sh_of_smp_probe() 78 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe() 82 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe() 83 if (method) in sh_of_smp_probe() 84 for (; m->method; m++) in sh_of_smp_probe() 85 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
|
/openbmc/qemu/hw/acpi/ |
H A D | vmgenid.c | 28 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() 82 aml_append(method, aml_return(addr)); in vmgenid_build_acpi() 84 aml_append(dev, method); in vmgenid_build_acpi() [all …]
|
/openbmc/ibm-logging/ |
H A D | dbus.cpp | 38 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/phosphor-webui/app/common/services/ |
H A D | api-utils.js | 77 method: 'POST', 96 method: 'GET', 270 method: 'GET', 461 method: 'GET', 544 method: 'GET', 663 method: 'PUT', 684 method: 'PUT', 722 method: 'PUT', 732 method: 'PUT', 754 method: 'PUT', [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | method.mako.cpp | 1 ${'::'.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-dbus-monitor/src/ |
H A D | method.hpp | 31 const std::string& iface, const std::string& method, in op() 36 DBusInterface::callMethodNoReply(bus, path, iface, method, in op() 44 method); in op() 67 bus(b), path(p), interface(i), method(m) in MethodBase() 77 const std::string& method; member in phosphor::dbus::monitoring::MethodBase 97 const std::string& iface, const std::string& method, in Method() argument 99 MethodBase(bus, path, iface, method), in Method() 109 std::make_tuple(method), args)); in operator ()() 119 const std::string& iface, const std::string& method, in makeMethod() argument 123 bus, path, iface, method, std::forward<MethodArgs>(arguments)...); in makeMethod()
|
/openbmc/phosphor-logging/phosphor-rsyslog-config/ |
H A D | utils.hpp | 22 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/openpower-debug-collector/watchdog/ |
H A D | watchdog_dbus.cpp | 16 const std::string& function, sdbusplus::message_t& method, in dbusMethod() argument 54 method = bus.new_method_call(service.c_str(), path.c_str(), in dbusMethod() 61 method = bus.new_method_call(service.c_str(), path.c_str(), in dbusMethod() 100 sdbusplus::message_t method; in createPel() local 102 if (0 == dbusMethod(pathLogging, interface, function, method)) in createPel() 107 method.append(eventType, levelPelError, additional, ffdc); in createPel() 111 auto response = bus.call(method); in createPel() 137 sdbusplus::message_t method; in isHostStateRunning() local 139 if (0 == dbusMethod(path, interface, function, method, extended)) in isHostStateRunning() 143 method.append(interface, "CurrentHostState"); in isHostStateRunning() [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | dbus.cpp | 35 method.append(std::string{"/"}, 0, in find() 38 auto reply = bus.call(method); in find() 82 auto reply = bus.call(method); in findService() 124 method.append(i_interface, i_property); in getProperty() 125 auto reply = bus.call(method); in getProperty() 195 auto method = bus.new_method_call( in transitionHost() local 368 sdbusplus::message_t method = in createPel() local 489 auto reply = bus.call(method); in getStateEffecterPdrs() 524 auto reply = bus.call(method); in getStateSensorPdrs() 553 method.append(Eid); in getMctpInstance() [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | host_reset_recovery.cpp | 49 auto method = bus.new_method_call(HOST_STATE_SVC, HOST_STATE_PATH, in wasHostBooting() local 51 method.append(BootProgress::interface, BOOT_PROGRESS_PROP); in wasHostBooting() 53 auto response = bus.call(method); in wasHostBooting() 90 auto method = bus.new_method_call(LoggingCreate::default_service, in createErrorLog() local 93 method.append(errorMessage, LoggingEntry::Level::Error, additionalData); in createErrorLog() 94 auto resp = bus.call(method); in createErrorLog() 128 auto method = bus.new_method_call(SYSTEMD_SERVICE, SYSTEMD_OBJ_PATH, in moveToHostQuiesce() local 131 method.append(HOST_STATE_QUIESCE_TGT); in moveToHostQuiesce() 132 method.append("replace"); in moveToHostQuiesce() 134 bus.call_noreply(method); in moveToHostQuiesce()
|
H A D | utils.cpp | 49 bus.call(method, 60s); in subscribeToSystemdSignals() 102 auto method = bus.new_method_call(service.c_str(), path.c_str(), in getProperty() local 105 method.append(interface, propertyName); in getProperty() 109 auto reply = bus.call(method); in getProperty() 139 method.append(interface, property, variantValue); in setProperty() 140 bus.call_noreply(method); in setProperty() 186 method.append(errorMsg, errLevel, additionalData); in createError() 187 auto resp = bus.call(method); in createError() 212 auto method = bus.new_method_call(DumpCreate::default_service, in createBmcDump() local 215 method.append( in createBmcDump() [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | method.aserver.typeid.hpp.mako | 1 static constexpr auto _method_typeid_p_${method.snake_case} = 3 % if len(method.parameters) == 0: 6 message::types::type_id<${method.parameter_types_as_list(interface)}>()\ 10 static constexpr auto _method_typeid_r_${method.snake_case} = 12 % if len(method.returns) == 0: 15 message::types::type_id<${method.returns_as_list(interface)}>()\
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchtest.hpp | 35 const std::string& method, Args&&... args) in op() 53 return dbus.mapperGetObject(busName, path, interface, method, in op() 69 return dbus.getPropertiesU64(busName, path, interface, method, in op() 85 return dbus.getPropertiesU32(busName, path, interface, method, in op() 101 return dbus.getPropertiesU16(busName, path, interface, method, in op() 117 return dbus.getPropertiesU8(busName, path, interface, method, in op() 133 return dbus.getPropertiesU64(busName, path, interface, method, in op() 149 return dbus.getPropertiesU32(busName, path, interface, method, in op() 165 return dbus.getPropertiesU16(busName, path, interface, method, in op() 181 return dbus.getPropertiesU8(busName, path, interface, method, in op() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/hashserv/ |
H A D | sqlalchemy.py | 251 UnihashesV3.method == OuthashesV2.method, 256 OuthashesV2.method == method, 273 UnihashesV3.method == OuthashesV2.method, 278 OuthashesV2.method == method, 301 OuthashesV2.method == method, 321 UnihashesV3.method == OuthashesV2.method, 326 OuthashesV2.method == method, 345 UnihashesV3.method == method, 430 UnihashesV3.method == OuthashesV2.method, 446 method=method, [all …]
|
/openbmc/linux/Documentation/wmi/ |
H A D | acpi-interface.rst | 32 0x10 2 2 character method ID or single byte notification ID. 37 The WMI object flags control whether the method or notification ID is used: 43 of method ID. 46 The method/notification ID is used to construct the ACPI method names used for 53 by this required ACPI method. The last two characters of the ACPI method name 54 are the method ID of the data block to query. Their single parameter is an 69 characters of the ACPI method name are the method ID of the data block 72 describing the WMI method ID to execute, and the third parameter is a buffer 75 method will return the result of the executed WMI method. 90 the method ID of the data block to enable/disable. [all …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-ap810-ap0-octa-core.dtsi | 20 enable-method = "psci"; 26 enable-method = "psci"; 32 enable-method = "psci"; 38 enable-method = "psci"; 44 enable-method = "psci"; 50 enable-method = "psci"; 56 enable-method = "psci"; 62 enable-method = "psci";
|
/openbmc/linux/drivers/iio/adc/ |
H A D | twl4030-madc.c | 132 u16 method; member 499 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 501 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 520 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 552 method->ctrl); in twl4030_madc_start_conversion() 555 method->ctrl); in twl4030_madc_start_conversion() 613 if (req->method < TWL4030_MADC_RT || req->method > TWL4030_MADC_SW2) { in twl4030_madc_conversion() 622 method = &twl4030_conversion_methods[req->method]; in twl4030_madc_conversion() 633 method->avg); in twl4030_madc_conversion() 637 method->avg); in twl4030_madc_conversion() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | psxface.c | 124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method() 134 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method() 142 info->obj_desc->method.aml_start, in acpi_ps_execute_method() 143 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method() 153 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method() 159 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method() 161 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method() 249 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table() 266 info->obj_desc->method.aml_start, in acpi_ps_execute_table() 267 info->obj_desc->method.aml_length, info, in acpi_ps_execute_table() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | utils.cpp | 71 method.append(interface, propertyName); in getProperty() 73 auto reply = bus.call(method); in getProperty() 104 method.append(interface, propertyName, varValue); in setProperty() 106 auto reply = bus.call(method); in setProperty() 132 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_OBJ_PATH, in getSubtreePaths() local 134 method.append(path, 0, interfaces); in getSubtreePaths() 136 auto reply = bus.call(method); in getSubtreePaths() 157 method.append(path, 0, std::vector{interface}); in getServiceUsingSubTree() 159 auto mapperResponseMsg = bus.call(method); in getServiceUsingSubTree() 206 method.append(intf, state); in getStateValue() [all …]
|
/openbmc/rest-dbus/resources/ |
H A D | style.css | 6 .method, .property { 10 .method-arg-type { 18 #method-call-ui { 25 #method-call-ui th, #method-call-ul td { 29 #method-call-ui th {
|