Lines Matching defs: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,
164 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir))
167 createDevice(busPath, parameters, constructor);
170 if (!deviceIsCreated(busPath, bus, address, hasHWMonDir))
172 deleteDevice(busPath, address, destructor);
178 [createTimer, name, busPath, parameters, bus, address,
187 return buildDevice(name, busPath, parameters, bus, address,
211 std::string busPath(exportTemplate.busPath);
250 replaceAll(busPath, templateChar + keyPair.key(), subsituteString);
255 createDevice(busPath, parameters, constructor);
259 buildDevice(name, busPath, parameters, *bus, *address, constructor,