/openbmc/openpower-occ-control/test/ |
H A D | error_files_tests.cpp | 49 devicePath = occPath / device; in SetUp() 52 fs::create_directory(devicePath); in SetUp() 55 files[0] = devicePath / error; in SetUp() 56 files[1] = devicePath / errorMem; in SetUp() 57 files[2] = devicePath / errorPower; in SetUp() 58 files[3] = devicePath / errorTemp; in SetUp() 90 fs::path devicePath; member in ErrorFiles 97 Device occDevice(pEvent, devicePath, manager, status in TEST_F()
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | version.cpp | 68 auto devicePath = devices->find(psuInventoryPath); in getVersionInfo() local 69 if (devicePath == devices->end()) in getVersionInfo() 93 return std::make_tuple(*devicePath, type, fileName); in getVersionInfo() 110 const auto [devicePath, type, fileName] = getVersionInfo(psuInventoryPath); in getVersionJson() 114 if (!devicePath.empty() && !fileName.empty()) in getVersionJson() 116 phosphor::pmbus::PMBus pmbus(devicePath); in getVersionJson()
|
H A D | model.cpp | 73 std::string devicePath = *device; in getModelJson() local 74 if (devicePath.empty()) in getModelJson() 105 phosphor::pmbus::PMBus pmbus(devicePath); in getModelJson()
|
H A D | utils.cpp | 198 auto devicePath = data["psuDevices"][psuInventoryPath]; in getDevicePath() local 199 if (devicePath.empty()) in getDevicePath() 203 return devicePath; in getDevicePath()
|
/openbmc/openpower-occ-control/ |
H A D | occ_command.cpp | 56 devicePath(OCC_DEV_PATH + std::to_string((this->path.back() - '0') + 1)), in OccCommand() 64 "PATH", this->path, "DEVICE", devicePath); in OccCommand() 72 devicePath); in openDevice() 73 fd = open(devicePath.c_str(), O_RDWR | O_NONBLOCK); in openDevice() 79 "ERR", openErrno, "PATH", devicePath); in openDevice() 120 "PATH", devicePath); in send()
|
H A D | occ_pass_through.hpp | 87 std::string devicePath; member in open_power::occ::PassThrough
|
H A D | occ_command.hpp | 141 std::string devicePath; member in open_power::occ::OccCommand
|
H A D | occ_pass_through.cpp | 35 devicePath(OCC_DEV_PATH + std::to_string((this->path.back() - '0') + 1)), in PassThrough()
|
/openbmc/phosphor-bmc-code-mgmt/usb/ |
H A D | usb_manager_main.cpp | 26 fs::path devicePath = fs::path{"/dev"} / deviceName; in main() 32 phosphor::usb::USBManager manager(ctx, devicePath, usbPath); in main() 43 phosphor::usb::USBManager manager(bus, event, devicePath, usbPath); in main()
|
H A D | usb_manager.hpp | 32 ctx(ctx), devicePath(devPath), usbPath(usbPath) in USBManager() 59 devicePath(devPath), usbPath(usbPath) in USBManager() 118 const fs::path& devicePath; member in phosphor::usb::USBManager
|
H A D | usb_manager.cpp | 27 auto rc = mount(devicePath.c_str(), usbPath.c_str(), "vfat", 0, NULL); in copyImage()
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | serialize.cpp | 87 std::string devicePath = "/dev/mtd/u-boot-env"; in restoreFromFile() local 89 if (std::filesystem::exists(devicePath) && !devicePath.empty()) in restoreFromFile() 91 std::ifstream input(devicePath.c_str()); in restoreFromFile()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | serialize.cpp | 90 std::string devicePath; in restorePriority() local 98 devicePath = "/dev/" + device.substr(0, device.find(':')); in restorePriority() 103 if (!devicePath.empty()) in restorePriority() 105 std::ifstream input(devicePath.c_str()); in restorePriority()
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | eeprom_device.hpp | 101 auto devicePath = path / address; in unbindDevice() local 102 if (!std::filesystem::exists(devicePath)) in unbindDevice()
|
/openbmc/dbus-sensors/src/psu/ |
H A D | PSUSensorMain.cpp | 359 std::string devicePath = fs::canonical(directory / "device"); in createSensorsCallback() local 362 std::regex_search(devicePath, match, i2cDevRegex); in createSensorsCallback() 365 std::cerr << "Found bad device path " << devicePath << "\n"; in createSensorsCallback()
|
/openbmc/dbus-sensors/src/intel-cpu/ |
H A D | IntelCPUSensorMain.cpp | 433 std::filesystem::path devicePath(newDevice); in exportDevice() local 434 const std::string& dir = devicePath.parent_path().string(); in exportDevice()
|