Searched refs:kIioRootDir (Results 1 – 3 of 3) sorted by relevance
43 DIR *iioDir = opendir(kIioRootDir.c_str()); in findIioEnergyMeterNodes()45 PLOG(ERROR) << "Error opening directory" << kIioRootDir; in findIioEnergyMeterNodes()53 std::string devicePath = kIioRootDir + devTypeDir; in findIioEnergyMeterNodes()
36 constexpr std::string_view kIioRootDir("/sys/bus/iio/devices"); variable152 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kIioRootDir.data()), closedir); in findEnergySourceToWatch()154 PLOG(ERROR) << "Error opening directory" << kIioRootDir; in findEnergySourceToWatch()162 devicePath = StringPrintf("%s/%s", kIioRootDir.data(), devTypeDir.data()); in findEnergySourceToWatch()
53 const std::string kIioRootDir = "/sys/bus/iio/devices/"; variable