| /openbmc/entity-manager/test/ |
| H A D | test_gpio_presence_state.cpp | 26 std::string deviceName = "device1"; in TEST_F() local 28 DevicePresence device(ctx, gpioNames, gpioValues, deviceName, gpioState, in TEST_F() 31 EXPECT_EQ(device.deviceName, deviceName); in TEST_F() 41 std::string deviceName = "device2"; in TEST_F() local 43 DevicePresence device(ctx, gpioNames, gpioValues, deviceName, gpioState, in TEST_F() 46 EXPECT_EQ(device.deviceName, deviceName); in TEST_F() 56 std::string deviceName = "device3"; in TEST_F() local 58 DevicePresence device(ctx, gpioNames, gpioValues, deviceName, gpioState, in TEST_F() 61 EXPECT_EQ(device.deviceName, deviceName); in TEST_F() 75 std::string deviceName = "device1"; in TEST_F() local [all …]
|
| /openbmc/entity-manager/src/gpio-presence/ |
| H A D | device_presence.cpp | 27 const std::vector<uint64_t>& gpioValues, const std::string& deviceName, in DevicePresence() argument 30 deviceName(deviceName), gpioState(gpioState), ctx(ctx), in DevicePresence() 55 sdbusplus::message::object_path objPath = objPathBase / deviceName; in getObjPath() 87 deviceName); in updateDbusInterfaces() 95 deviceName); in updateDbusInterfaces() 103 DevicePresenceProperties{deviceName, firstCompatible}); in updateDbusInterfaces() 111 deviceName); in updateDbusInterfaces()
|
| H A D | device_presence.hpp | 32 const std::string& deviceName, 46 const std::string deviceName; member in gpio_presence::DevicePresence
|
| /openbmc/dbus-sensors/src/fan/ |
| H A D | PresenceGpio.cpp | 33 const std::string& deviceName, in PresenceGpio() argument 35 deviceType(deviceType), deviceName(deviceName), gpioName(gpioName) in PresenceGpio() 55 logPresent(deviceName); in updateAndTracePresence() 59 logRemoved(deviceName); in updateAndTracePresence() 64 const std::string& deviceType, const std::string& deviceName, in EventPresenceGpio() argument 66 PresenceGpio(deviceType, deviceName, gpioName), gpioFd(io) in EventPresenceGpio() 112 "NAME", self->deviceName, "ERROR_MESSAGE", in monitorPresence() 130 const std::string& deviceType, const std::string& deviceName, in PollingPresenceGpio() argument 132 PresenceGpio(deviceType, deviceName, gpioName), pollTimer(io) in PollingPresenceGpio()
|
| H A D | PresenceGpio.hpp | 15 PresenceGpio(const std::string& deviceType, const std::string& deviceName, 31 std::string deviceName; member in PresenceGpio 36 std::string summary = deviceType + " " + deviceName + " Inserted"; in logPresent() 44 std::string summary = deviceType + " " + deviceName + " Removed"; in logRemoved() 59 const std::string& deviceName, 77 const std::string& deviceName,
|
| H A D | FanMain.cpp | 363 std::string deviceName = in createSensors() local 369 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/usb/ |
| H A D | usb_manager_main.cpp | 11 std::string deviceName{}; in main() local 14 app.add_option("-d,--device", deviceName, in main() 20 if (deviceName.empty()) in main() 26 fs::path devicePath = fs::path{"/dev"} / deviceName; in main() 27 fs::path usbPath = fs::path{"/run/media/usb"} / deviceName; in main()
|
| /openbmc/phosphor-modbus/tests/ |
| H A D | test_inventory.cpp | 37 static constexpr const auto deviceName = "Test1"; member in InventoryTest 56 .name = deviceName, in testInventorySourceCreation() 81 std::format("{} {} {}", deviceName, in testInventorySourceCreation() 100 deviceName, TestIntf::testDeviceAddress, portConfig.name); in TEST_F()
|
| H A D | test_firmware.cpp | 55 std::string deviceName; member in FirmwareTest 66 deviceName = std::format("ResorviorPumpUnit_{}_{}", in FirmwareTest() 69 std::format("{}/{}", SoftwareIntf::namespace_path, deviceName); in FirmwareTest() 85 .name = deviceName, in testFirmwareVersion()
|
| H A D | test_sensors.cpp | 54 std::string deviceName; member in SensorsTest 65 deviceName = std::format("ResorviorPumpUnit_{}_{}", in SensorsTest() 68 fullSensorName = std::format("{}_{}", deviceName, sensorName); in SensorsTest() 97 .name = deviceName, in testSensorCreation()
|
| H A D | test_device_events.cpp | 120 std::string deviceName; member in DeviceEventsTest 138 deviceName = std::format("ResorviorPumpUnit_{}_{}", in DeviceEventsTest() 141 fullSensorName = std::format("{}_{}", deviceName, sensorName); in DeviceEventsTest() 220 .name = deviceName, in testSensorCreation()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/eject/eject/ |
| H A D | eject-2.1.5-spaces.patch | 49 - *deviceName = strdup(s1); 51 + *deviceName = DeMangleMount(strdup(s1)); 60 - *deviceName = strdup(s1); 62 + *deviceName = DeMangleMount(strdup(s1));
|
| /openbmc/phosphor-power/phosphor-power-sequencer/src/ |
| H A D | ucd90320_device.hpp | 63 UCD90xDevice(deviceName, bus, address, powerControlGPIOName, in UCD90320Device() 67 constexpr static std::string deviceName{"UCD90320"}; member in phosphor::power::sequencer::UCD90320Device
|
| H A D | ucd90160_device.hpp | 63 UCD90xDevice(deviceName, bus, address, powerControlGPIOName, in UCD90160Device() 67 constexpr static std::string deviceName{"UCD90160"}; member in phosphor::power::sequencer::UCD90160Device
|
| H A D | gpios_only_device.hpp | 71 BasicDevice(deviceName, 0, 0x00, powerControlGPIOName, in GPIOsOnlyDevice() 117 inline static const std::string deviceName{"gpios_only_device"}; member in phosphor::power::sequencer::GPIOsOnlyDevice
|
| H A D | config_file_parser.cpp | 342 else if (type != GPIOsOnlyDevice::deviceName) in parsePowerSequencer() 369 else if (type != GPIOsOnlyDevice::deviceName) in parsePowerSequencer() 377 if (type == UCD90160Device::deviceName) in parsePowerSequencer() 383 else if (type == UCD90320Device::deviceName) in parsePowerSequencer() 389 else if (type == GPIOsOnlyDevice::deviceName) in parsePowerSequencer()
|
| /openbmc/dbus-sensors/src/ |
| H A D | Utils.hpp | 405 bool getDeviceBusAddr(const std::string& deviceName, T& bus, T& addr) in getDeviceBusAddr() argument 407 auto findHyphen = deviceName.find('-'); in getDeviceBusAddr() 410 lg2::error("found bad device '{NAME}'", "NAME", deviceName); in getDeviceBusAddr() 413 std::string busStr = deviceName.substr(0, findHyphen); in getDeviceBusAddr() 414 std::string addrStr = deviceName.substr(findHyphen + 1); in getDeviceBusAddr() 420 lg2::error("Error finding bus for '{NAME}'", "NAME", deviceName); in getDeviceBusAddr() 426 lg2::error("Error finding addr for '{NAME}'", "NAME", deviceName); in getDeviceBusAddr()
|
| /openbmc/estoraged/src/ |
| H A D | util.cpp | 250 std::filesystem::path deviceName(dirEntry.path().filename()); in findDevice() local 256 deviceFile /= deviceName; in findDevice() 258 std::string luksName = "luks-" + deviceName.string(); in findDevice()
|
| H A D | estoraged.cpp | 70 std::string deviceName = std::filesystem::path(devPath).filename().string(); in EStoraged() local 73 "/xyz/openbmc_project/inventory/storage/" + deviceName; in EStoraged()
|
| /openbmc/dbus-sensors/src/hwmon-temp/ |
| H A D | HwmonTempMain.cpp | 317 std::string deviceName; in createSensors() local 328 deviceName = device.parent_path().stem(); in createSensors() 340 deviceName = device.stem(); in createSensors() 345 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors() 404 "NAME", deviceName); in createSensors()
|
| /openbmc/dbus-sensors/src/psu/ |
| H A D | PSUSensorMain.cpp | 370 std::string deviceName; in createSensorsCallback() local 386 deviceName = matchStr.substr(matchStr.find_last_of('/') + 1); in createSensorsCallback() 390 deviceName = in createSensorsCallback() 397 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensorsCallback() 424 "NAME", deviceName); in createSensorsCallback() 471 lg2::error("failed to find match for '{NAME}'", "NAME", deviceName); in createSensorsCallback() 491 "NAME", deviceName); in createSensorsCallback()
|
| /openbmc/phosphor-power/phosphor-power-sequencer/test/ |
| H A D | gpios_only_device_tests.cpp | 42 EXPECT_EQ(device.getName(), GPIOsOnlyDevice::deviceName); in TEST()
|
| /openbmc/entity-manager/src/entity_manager/ |
| H A D | perform_scan.cpp | 536 std::string deviceName = generateDeviceName( in updateSystemConfiguration() local 539 record["Name"] = deviceName; in updateSystemConfiguration() 541 usedNames.insert(deviceName); in updateSystemConfiguration()
|
| /openbmc/phosphor-webui/app/server-control/controllers/ |
| H A D | virtual-media-controller.js | 28 vmDevice.deviceName = 'Virtual media device';
|
| /openbmc/dbus-sensors/src/intel-cpu/ |
| H A D | IntelCPUSensorMain.cpp | 216 std::string deviceName = *it; in createSensors() local 220 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors()
|