Searched refs:busPath (Results 1 – 3 of 3) sorted by relevance
/openbmc/entity-manager/src/ |
H A D | overlay.cpp | 116 static int deleteDevice(const std::string& busPath, uint64_t address, in deleteDevice() argument 119 std::filesystem::path deviceDestructor(busPath); in deleteDevice() 132 static int createDevice(const std::string& busPath, in createDevice() argument 136 std::filesystem::path deviceConstructor(busPath); in createDevice() 150 static bool deviceIsCreated(const std::string& busPath, uint64_t bus, in deviceIsCreated() argument 154 std::filesystem::path dirPath = busPath; in deviceIsCreated() 167 const std::string& name, const std::string& busPath, in buildDevice() argument 179 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir)) in buildDevice() 182 createDevice(busPath, parameters, constructor); in buildDevice() 185 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir)) in buildDevice() [all …]
|
H A D | devices.hpp | 58 parameters(params), busPath(bus), add(constructor), remove(destructor), in ExportTemplate() 61 const char* busPath; member
|
H A D | fru_device.cpp | 1068 fs::path busPath = fs::path("/dev/i2c-" + std::to_string(busNum)); in rescanOneBus() local 1069 if (!fs::exists(busPath)) in rescanOneBus() 1081 i2cBuses.emplace_back(busPath); in rescanOneBus() 1151 for (const auto& busPath : busPaths) in rescanBusses() local 1153 i2cBuses.emplace_back(busPath.second); in rescanBusses()
|