/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | interface.aserver.hpp.mako | 3 #include <sdbusplus/server/interface.hpp> 8 % for h in interface.cpp_includes(): 11 #include <${interface.headerFile()}> 13 namespace sdbusplus::aserver::${interface.cppNamespace()} 20 class ${interface.classname}; 24 struct ${interface.classname} : 27 sdbusplus::async::server_t<Instance, details::${interface.classname}>, 28 details::${interface.classname}<Instance, Server>> 31 ${interface.classname}(Args&&... args) : 34 sdbusplus::async::server_t<Instance, details::${interface.classname}>, [all …]
|
H A D | interface.server.hpp.mako | 9 % for h in interface.cpp_includes(): 12 #include <${interface.headerFile()}> 14 namespace sdbusplus::server::${interface.cppNamespace()} 17 class ${interface.classname} : 18 public sdbusplus::common::${interface.cppNamespacedClass()} 30 ${interface.classname}() = delete; 31 ${interface.classname}(const ${interface.classname}&) = delete; 32 ${interface.classname}& operator=(const ${interface.classname}&) = delete; 33 ${interface.classname}(${interface.classname}&&) = delete; 34 ${interface.classname}& operator=(${interface.classname}&&) = delete; [all …]
|
H A D | interface.server.cpp.mako | 9 #include <${interface.headerFile("server")}> 11 namespace sdbusplus::server::${interface.cppNamespace()} 14 % for m in interface.methods: 15 ${ m.cpp_prototype(loader, interface=interface, ptype='callback-cpp') } 18 % for s in interface.signals: 19 ${ s.cpp_prototype(loader, interface=interface, ptype='callback-cpp') } 22 % for p in interface.properties: 23 ${ p.render(loader, "property.server.cpp.mako", property=p, interface=interface) } 26 % if interface.properties: 27 void ${interface.classname}::setPropertyByName(const std::string& _name, [all …]
|
H A D | interface.client.hpp.mako | 7 % for h in interface.cpp_includes(): 10 #include <${interface.headerFile()}> 12 namespace sdbusplus::client::${interface.cppNamespace()} 19 class ${interface.classname}; 25 * sdbusplus::async::client_t<${interface.classname}>() or 26 * ${interface.classname}() both construct an equivalent instance. 29 struct ${interface.classname} : 31 sdbusplus::async::client_t<details::${interface.classname}>, 32 details::${interface.classname}<Client, Proxy>> 35 ${interface.classname}(Args&&... args) : [all …]
|
H A D | interface.common.hpp.mako | 14 return set(p.cppTypeParam(interface.name) for p in 15 interface.properties); 18 namespace sdbusplus::common::${interface.cppNamespace()} 21 struct ${interface.classname} 23 static constexpr auto interface = "${interface.name}"; 25 % for e in interface.enums: 34 % if interface.properties: 37 % for p in interface.properties: 38 ${p.cppTypeParam(interface.name)} ${p.snake_case}${p.default_value(interface.name)}; 48 % for p in interface.paths: [all …]
|
H A D | property.server.cpp.mako | 1 auto ${interface.classname}::${property.camelCase}() const -> 2 ${property.cppTypeParam(interface.name)} 7 int ${interface.classname}::_callback_get_${property.name}( 8 sd_bus* /*bus*/, const char* /*path*/, const char* /*interface*/, 12 auto o = static_cast<${interface.classname}*>(context); 26 catch(const ${interface.errorNamespacedClass(e)}& e) 38 auto ${interface.classname}::${property.camelCase}(${property.cppTypeParam(interface.name)} value, 40 ${property.cppTypeParam(interface.name)} 47 _${interface.joinedName("_", "interface")}.property_changed("${property.name}"); 54 auto ${interface.classname}::${property.camelCase}(${property.cppTypeParam(interface.name)} val) -> [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | PCIeDevice.interface.yaml | 6 interface. 19 The PCIe interface generation in use by the device. 30 been replaced with PCIeFunction interface. 35 has been replaced with PCIeFunction interface. 40 been replaced with PCIeFunction interface. 45 deprecated, it has been replaced with PCIeFunction interface. 50 been replaced with PCIeFunction interface. 55 has been replaced with PCIeFunction interface. 60 deprecated, it has been replaced with PCIeFunction interface. 65 been replaced with PCIeFunction interface. [all …]
|
/openbmc/sdbusplus/include/sdbusplus/server/ |
H A D | interface.hpp | 18 namespace interface namespace 21 /** @class interface 22 * @brief Provide a C++ holder for dbus interface instances. 24 * Wraps sd_bus_add_object_vtable so that the interface is registered 28 * implementation of a class representing a dbus interface, which will be 31 * inheritance, which might be a natural option. Instead, a dbus interface 32 * implementation should 'has-a' server::interface with a name sufficiently 35 struct interface final : private sdbusplus::bus::details::bus_friend struct 45 interface() = delete; 46 interface(const interface&) = delete; [all …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
H A D | 0009-fix-cmake-dependency-race.patch | 8 /a/builder/mnt/build-oe/tmp-glibc/work/raspberrypi2-oe-linux-gnueabi/userland/git-r5/git/interface/… 9 fatal error: interface/vmcs_host/wayland-dispmanx-server-protocol.h: No 12 interface/khronos/CMakeFiles/EGL_static.dir/build.make:773: recipe for 13 target 'interface/khronos/CMakeFiles/EGL_static.dir/ext/egl_wayland.c.o' 16 [interface/khronos/CMakeFiles/EGL_static.dir/ext/egl_wayland.c.o] Error 1 22 interface/vcos/pthreads/CMakeLists.txt | 8 ++++++++ 23 interface/vmcs_host/CMakeLists.txt | 8 -------- 24 interface/vmcs_host/vc_vchi_dispmanx.h | 2 +- 27 diff --git a/interface/vcos/pthreads/CMakeLists.txt b/interface/vcos/pthreads/CMakeLists.txt 29 --- a/interface/vcos/pthreads/CMakeLists.txt [all …]
|
/openbmc/phosphor-fan-presence/ |
H A D | sdbusplus.hpp | 49 const std::string& interface, const std::string& method) : in DBusMethodError() argument 51 interface, method)), in DBusMethodError() 52 busName(busName), path(path), interface(interface), method(method) in DBusMethodError() 57 const std::string interface; member in phosphor::fan::util::DBusMethodError 70 DBusServiceError(const std::string& path, const std::string& interface) : in DBusServiceError() argument 72 std::format("DBus service lookup failed: {} {}", path, interface)), in DBusServiceError() 73 path(path), interface(interface) in DBusServiceError() 77 const std::string interface; member in phosphor::fan::util::DBusServiceError 89 const std::string& path, const std::string& interface, in DBusPropertyError() argument 91 DBusError(msg + std::format(": {} {} {} {}", busName, path, interface, in DBusPropertyError() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-net.c | 29 static void virtio_net_cleanup(QVirtioNet *interface) in virtio_net_cleanup() argument 33 for (i = 0; i < interface->n_queues; i++) { in virtio_net_cleanup() 34 qvirtqueue_cleanup(interface->vdev->bus, interface->queues[i], alloc); in virtio_net_cleanup() 36 g_free(interface->queues); in virtio_net_cleanup() 39 static void virtio_net_setup(QVirtioNet *interface) in virtio_net_setup() argument 41 QVirtioDevice *vdev = interface->vdev; in virtio_net_setup() 52 interface->n_queues = qvirtio_config_readw(vdev, 8) * 2; in virtio_net_setup() 54 interface->n_queues = 2; in virtio_net_setup() 56 interface->n_queues++; /* Account for the ctrl queue */ in virtio_net_setup() 58 interface->queues = g_new(QVirtQueue *, interface->n_queues); in virtio_net_setup() [all …]
|
H A D | virtio-iommu.c | 25 const char *interface) in qvirtio_iommu_get_driver() argument 27 if (!g_strcmp0(interface, "virtio-iommu")) { in qvirtio_iommu_get_driver() 30 if (!g_strcmp0(interface, "virtio")) { in qvirtio_iommu_get_driver() 34 fprintf(stderr, "%s not present in virtio-iommu-device\n", interface); in qvirtio_iommu_get_driver() 38 static void virtio_iommu_cleanup(QVirtioIOMMU *interface) in virtio_iommu_cleanup() argument 40 qvirtqueue_cleanup(interface->vdev->bus, interface->vq, alloc); in virtio_iommu_cleanup() 43 static void virtio_iommu_setup(QVirtioIOMMU *interface) in virtio_iommu_setup() argument 45 QVirtioDevice *vdev = interface->vdev; in virtio_iommu_setup() 54 interface->vq = qvirtqueue_setup(interface->vdev, alloc, 0); in virtio_iommu_setup() 55 qvirtio_set_driver_ok(interface->vdev); in virtio_iommu_setup() [all …]
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | network-controller.js | 21 $scope.interface = {}; 33 $scope.interface = $scope.network.interfaces[interfaceId]; 34 // Copy the interface so we know later if changes were made to the page 35 $scope.oldInterface = JSON.parse(JSON.stringify($scope.interface)); 41 $scope.interface.Nameservers.push(''); 45 $scope.interface.Nameservers.splice(index, 1); 49 $scope.interface.ipv4.values.push( 56 if ($scope.interface.ipv4.values[index].id) { 57 $scope.ipv4sToDelete.push($scope.interface.ipv4.values[index]); 59 $scope.interface.ipv4.values.splice(index, 1); [all …]
|
/openbmc/phosphor-inventory-manager/test/ |
H A D | interface_ops_test.cpp | 117 Interface i; in TEST() 118 sdbusplus::SdBusMock interface; in TEST() local 123 auto b = sdbusplus::get_mocked_new(&interface); in TEST() 134 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST() 135 sdbusplus::SdBusMock interface; in TEST() local 140 auto b = sdbusplus::get_mocked_new(&interface); in TEST() 151 Interface i; in TEST() 152 sdbusplus::SdBusMock interface; in TEST() local 157 auto b = sdbusplus::get_mocked_new(&interface); in TEST() 168 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | EthernetInterface.v1_12_4.json | 55 "description": "DHCPv4 configuration for this interface.", 73 … "description": "An indication of whether DHCP v4 is enabled on this Ethernet interface.", 74 …scription": "This property shall indicate whether DHCP v4 is enabled for this Ethernet interface.", 91 "description": "DHCPv4 fallback address method for this interface.", 97 … "description": "An indication of whether this interface uses DHCP v4-supplied DNS servers.", 98 …"longDescription": "This property shall indicate whether the interface uses DHCP v4-supplied DNS s… 107 … "description": "An indication of whether this interface uses a DHCP v4-supplied domain name.", 108 …"longDescription": "This property shall indicate whether the interface uses a DHCP v4-supplied dom… 117 … "description": "An indication of whether this interface uses a DHCP v4-supplied gateway.", 118 …"longDescription": "This property shall indicate whether the interface uses a DHCP v4-supplied gat… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | EthernetInterface.v1_12_4.json | 55 "description": "DHCPv4 configuration for this interface.", 73 … "description": "An indication of whether DHCP v4 is enabled on this Ethernet interface.", 74 …scription": "This property shall indicate whether DHCP v4 is enabled for this Ethernet interface.", 91 "description": "DHCPv4 fallback address method for this interface.", 97 … "description": "An indication of whether this interface uses DHCP v4-supplied DNS servers.", 98 …"longDescription": "This property shall indicate whether the interface uses DHCP v4-supplied DNS s… 107 … "description": "An indication of whether this interface uses a DHCP v4-supplied domain name.", 108 …"longDescription": "This property shall indicate whether the interface uses a DHCP v4-supplied dom… 117 … "description": "An indication of whether this interface uses a DHCP v4-supplied gateway.", 118 …"longDescription": "This property shall indicate whether the interface uses a DHCP v4-supplied gat… [all …]
|
/openbmc/openbmc-test-automation/lib/external_intf/ |
H A D | vmi_utils.robot | 41 ... ${interface}=${ethernet_interface} 48 # interface VMI interface (eg. eth0 or eth1). 52 ${resp}= Redfish.Patch /redfish/v1/Systems/hypervisor/EthernetInterfaces/${interface} 61 ... Verify VMI Network Interface Details ${ip} Static ${gateway} ${netmask} ${interface} 63 Verify VMI Network Interface Details 64 [Documentation] Verify VMI network interface details. 66 ... ${interface}=${ethernet_interface} ${valid_status_code}=${HTTP_OK} 73 # interface VMI interface (eg. eth0 or eth1). 76 ${vmi_ip}= Get VMI Network Interface Details ${interface} ${valid_status_code} 85 ... ${interface}=${ethernet_interface} [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Fuji/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 83 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 112 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 141 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 170 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 201 "interface": "xyz.openbmc_project.Inventory.Item", string [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 83 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 112 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 141 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 170 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 201 "interface": "xyz.openbmc_project.Inventory.Item", string [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 57 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 62 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 92 "interface": "xyz.openbmc_project.Inventory.Item", string 97 "interface": "org.open_power.OCC.Status", string 102 "interface": "xyz.openbmc_project.Sensor.Value", string [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge4U/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 57 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 62 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 92 "interface": "xyz.openbmc_project.Inventory.Item", string 97 "interface": "org.open_power.OCC.Status", string 102 "interface": "xyz.openbmc_project.Sensor.Value", string [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 82 "interface": "xyz.openbmc_project.Inventory.Item", string 87 "interface": "org.open_power.OCC.Status", string 92 "interface": "xyz.openbmc_project.Sensor.Value", string 97 "interface": "xyz.openbmc_project.Sensor.Value", string 102 "interface": "xyz.openbmc_project.Sensor.Value", string [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge1S4U/ |
H A D | events.json | 8 "interface": "xyz.openbmc_project.Inventory.Item", string 37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", string 82 "interface": "xyz.openbmc_project.Inventory.Item", string 87 "interface": "org.open_power.OCC.Status", string 92 "interface": "xyz.openbmc_project.Sensor.Value", string 97 "interface": "xyz.openbmc_project.Sensor.Value", string 102 "interface": "xyz.openbmc_project.Sensor.Value", string [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | method.py | 19 def cpp_prototype(self, loader, interface, ptype): argument 24 interface=interface, 29 def cpp_includes(self, interface): argument 30 return interface.error_includes(self.errors) + interface.enum_includes( 34 def returns_as_list(self, interface, full=False): argument 36 [r.cppTypeParam(interface.name, full=full) for r in self.returns] 39 def cpp_return_type(self, interface): argument 43 return self.returns[0].cppTypeParam(interface.name) 45 return "std::tuple<" + self.returns_as_list(interface) + ">" 47 def parameter(self, interface, p, defaultValue=False, ref=""): argument [all …]
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | openbmc_intf.xml | 2 <interface name="org.openbmc.Hwmon"> 6 </interface> 7 <interface name="org.openbmc.Fan"> 24 </interface> 25 <interface name="org.openbmc.SensorValue"> 48 </interface> 49 <interface name="org.openbmc.SensorThreshold"> 63 </interface> 64 <interface name="org.openbmc.SensorI2c"> 67 </interface> [all …]
|