Lines Matching refs:busPath
101 static int deleteDevice(std::string_view busPath, uint64_t address,
104 std::filesystem::path deviceDestructor(busPath);
117 static int createDevice(std::string_view busPath, std::string_view parameters,
120 std::filesystem::path deviceConstructor(busPath);
134 static bool deviceIsCreated(std::string_view busPath, uint64_t bus,
138 std::filesystem::path dirPath = busPath;
151 std::string_view name, std::string_view busPath,
167 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir))
170 createDevice(busPath, parameters, constructor);
173 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir))
175 deleteDevice(busPath, address, destructor);
181 [createTimer, name, busPath, parameters, bus, address,
190 return buildDevice(name, busPath, parameters, bus, address,
214 std::string busPath(exportTemplate.busPath);
253 replaceAll(busPath, templateChar + keyPair.key(), subsituteString);
258 createDevice(busPath, parameters, constructor);
262 buildDevice(name, busPath, parameters, *bus, *address, constructor,