Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 25 of 45) sorted by relevance

12

/openbmc/dbus-sensors/src/
H A DEntityManagerInterface.cpp52 for (const auto& interfaceName : interfaceNames) in handleInventoryGet() local
54 if (detectorConfig.contains(interfaceName)) in handleInventoryGet()
56 addedCallback(objectPath, interfaceName); in handleInventoryGet()
81 for (const auto& interfaceName : interfaceNames) in handleInventoryAdded() local
83 if (inventoryData.contains(interfaceName)) in handleInventoryAdded()
85 addedCallback(objectPath, interfaceName); in handleInventoryAdded()
112 for (const auto& interfaceName : interfaceNames) in handleInventoryRemoved() local
114 if (std::ranges::find(interfaces, interfaceName) != in handleInventoryRemoved()
117 removedCallback(objectPath, interfaceName); in handleInventoryRemoved()
/openbmc/phosphor-modbus/rtu/
H A Ddevice_manager.cpp50 const std::string& interfaceName) -> sdbusplus::async::task<> in processConfigAdded() argument
53 interfaceName); in processConfigAdded()
54 if (interfaceName == ModbusRTUDetectIntf::interface && ports.size() == 0) in processConfigAdded()
63 interfaceName) != portInterfaces.end()) in processConfigAdded()
65 co_return co_await processPortAdded(objectPath, interfaceName); in processConfigAdded()
68 if (interfaceName == ModbusRTUDetectIntf::interface) in processConfigAdded()
75 interfaceName) != deviceInterfaces.end()) in processConfigAdded()
77 co_return co_await processDeviceAdded(objectPath, interfaceName); in processConfigAdded()
83 const std::string& interfaceName) -> sdbusplus::async::task<> in processPortAdded() argument
86 ctx, objectPath, interfaceName); in processPortAdded()
[all …]
H A Ddevice_manager.hpp43 const std::string& interfaceName)
47 const std::string& interfaceName)
55 const std::string& interfaceName)
59 const std::string& interfaceName)
/openbmc/phosphor-modbus/common/
H A Dentity_manager_interface.cpp60 for (const auto& interfaceName : interfaceNames) in handleInventoryGet() local
62 if (interfaceConfig.contains(interfaceName)) in handleInventoryGet()
64 co_await addedCallback(objectPath, interfaceName); in handleInventoryGet()
89 for (const auto& interfaceName : interfaceNames) in handleInventoryAdded() local
91 if (inventoryData.contains(interfaceName)) in handleInventoryAdded()
93 co_await addedCallback(objectPath, interfaceName); in handleInventoryAdded()
120 for (const auto& interfaceName : interfaceNames) in handleInventoryRemoved() local
122 if (std::ranges::find(interfaces, interfaceName) != in handleInventoryRemoved()
125 co_await removedCallback(objectPath, interfaceName); in handleInventoryRemoved()
/openbmc/phosphor-modbus/rtu/device/
H A Dreservoir_pump_unit.cpp36 const std::string& interfaceName) in getConfig() argument
41 auto res = co_await config::updateBaseConfig(ctx, objectPath, interfaceName, in getConfig()
50 if (interfaceName == deviceInterface) in getConfig()
58 error("Invalid device model {MODEL} for {NAME}", "MODEL", interfaceName, in getConfig()
H A Ddevice_factory.cpp26 const std::string& interfaceName) in getConfig() argument
30 if (rpuInterfaces.find(interfaceName) != rpuInterfaces.end()) in getConfig()
33 interfaceName); in getConfig()
H A Dbase_config.cpp289 static auto getConfigSubTree(Config& config, const std::string& interfaceName, in getConfigSubTree() argument
293 interfaceName + ".FirmwareRegisters"; in getConfigSubTree()
294 std::string sensorRegistersInterface = interfaceName + ".SensorRegisters"; in getConfigSubTree()
295 std::string statusBitsInterface = interfaceName + ".StatusBits"; in getConfigSubTree()
299 if (curInterface == interfaceName) in getConfigSubTree()
320 const std::string& interfaceName, Config& config) in updateBaseConfig() argument
347 getConfigSubTree(config, interfaceName, deviceConfig); in updateBaseConfig()
H A Dreservoir_pump_unit.hpp28 const std::string& interfaceName)
H A Ddevice_factory.hpp42 const std::string& interfaceName)
/openbmc/openpower-debug-collector/dump/
H A Ddump_monitor.cpp114 for (const auto& interfaceName : monitoredInterfaces) in handleDBusSignal() local
116 auto it = interfaces.find(interfaceName); in handleDBusSignal()
120 "DUMP", interfaceName); in handleDBusSignal()
121 initiateDumpCollection(objectPath, interfaceName, it->second); in handleDBusSignal()
131 const std::string interfaceName = "xyz.openbmc_project.Common.Progress"; in updateProgressStatus() local
139 interfaceName, propertyName, path, bus, statusVariant); in updateProgressStatus()
/openbmc/phosphor-bmc-code-mgmt/common/src/
H A Dsoftware_manager.cpp59 const std::string interfaceName = interfacePrefix + ".FirmwareInfo"; in getConfig() local
65 ctx, "Get", interfaceName, "VendorIANA"); in getConfig()
72 ctx, "Get", interfaceName, "CompatibleHardware"); in getConfig()
125 for (std::string& interfaceName : interfaceNames) in initDevices()
129 if (interfaceName == iface) in initDevices()
131 interfaceFound = interfaceName; in initDevices()
/openbmc/dbus-sensors/src/leakdetector/
H A DLeakDetectionManager.hpp36 const std::string& interfaceName) -> void;
41 const std::string& interfaceName) -> void;
/openbmc/phosphor-modbus/rtu/port/
H A Dport_factory.cpp20 const std::string& interfaceName) in getConfig() argument
23 if (interfaceName == USBPortConfigIntf::interface) in getConfig()
H A Dport_factory.hpp38 const std::string& interfaceName)
/openbmc/dbus-sensors/src/cable-monitor/
H A DCableMonitor.hpp33 const std::string& interfaceName) -> void;
38 const std::string& interfaceName) -> void;
/openbmc/telemetry/tests/src/
H A Ddbus_environment.hpp97 const std::string& interfaceName, in getProperty() argument
104 interfaceName, property, in getProperty()
118 const std::string& path, const std::string& interfaceName, in setProperty() argument
125 interfaceName, property, std::move(newValue), in setProperty()
/openbmc/phosphor-led-manager/fault-monitor/
H A Doperational-status-monitor.cpp25 std::string interfaceName{}; in matchHandler() local
27 msg.read(interfaceName, properties); in matchHandler()
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/
H A Dcorstone1000-fvp.conf31 FVP_CONFIG[board.hostbridge.interfaceName] ?= "tap0"
73 FVP_CONFIG[board.virtio_net.hostbridge.interfaceName] ?= "eth1"
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_ethernet_interface.hpp58 HypEthernetIntf::interfaceName(intfName.data(), true); in HypEthInterface()
99 using HypEthernetIntf::interfaceName;
/openbmc/phosphor-networkd/src/
H A Dnetwork_manager.cpp176 if (info.intf.name && *info.intf.name != it->second->interfaceName()) in createInterface()
178 interfaces.erase(it->second->interfaceName()); in createInterface()
474 ObjectPath Manager::vlan(std::string interfaceName, uint32_t id) in vlan() argument
484 auto it = interfaces.find(interfaceName); in vlan()
489 elog<ResourceNotFound>(ResourceErr::RESOURCE(interfaceName.c_str())); in vlan()
541 lldpdConfig << "configure ports " << intf.second->interfaceName() in writeLLDPDConfigurationFile()
546 lldpdConfig << "configure ports " << intf.second->interfaceName() in writeLLDPDConfigurationFile()
H A Dinventory_mac.cpp82 std::string interfaceName = configJson[intfName]; in getfromInventory() local
130 "NET_INTF", interfaceName, "OBJ", object.first); in getfromInventory()
131 if (object.first.ends_with("/" + interfaceName)) in getfromInventory()
142 "NET_INTF", interfaceName); in getfromInventory()
H A Dethernet_interface.cpp99 interfaceName(*info.intf.name, true); in EthernetInterface()
108 EthernetInterfaceIntf::emitLLDP(lldpVal[interfaceName()], true); in EthernetInterface()
220 interfaceName()); in addStaticNeigh()
242 interfaceName()); in addStaticGateway()
512 const auto ifname = interfaceName(); in mtu()
676 auto intfName = stdplus::strCat(interfaceName(), "."sv, idStr); in createVLAN()
780 config.map["Match"].emplace_back()["Name"].emplace_back(interfaceName()); in writeConfigurationFile()
812 vlans.emplace_back(intf->interfaceName()); in writeConfigurationFile()
906 config::pathForIntfConf(manager.get().getConfDir(), interfaceName()); in writeConfigurationFile()
940 auto interface = interfaceName(); in macAddress()
[all …]
/openbmc/entity-manager/src/entity_manager/
H A Dperform_probe.cpp15 bool probeDbus(const std::string& interfaceName, in probeDbus() argument
25 auto it = interfaces.find(interfaceName); in probeDbus()
54 "IFACE", interfaceName); in probeDbus()
/openbmc/openbmc/meta-evb/meta-evb-arm/meta-evb-fvp-base/conf/machine/
H A Dfvp-config.inc7 FVP_CONFIG[bp.hostbridge.interfaceName] = "enp97s0"
9 FVP_CONFIG[bp.virtio_net.hostbridge.interfaceName] = "tap1"
/openbmc/bmcweb/redfish-core/lib/
H A Dmanagers.hpp134 const char* interfaceName = "xyz.openbmc_project.State.BMC"; in doBMCGracefulRestart() local
141 *crow::connections::systemBus, processName, objectPath, interfaceName, in doBMCGracefulRestart()
161 const char* interfaceName = "xyz.openbmc_project.State.BMC"; in doBMCForceRestart() local
168 *crow::connections::systemBus, processName, objectPath, interfaceName, in doBMCForceRestart()
661 for (const auto& interfaceName : interfaces) in getManagerData() local
663 if (interfaceName == in getManagerData()
671 else if (interfaceName == in getManagerData()
676 else if (interfaceName == in getManagerData()

12