Lines Matching refs:path
49 fs::path ioChannelsPath{iochanneldir}; in findPhandleMatch()
73 auto path = ofInst.path(); in findPhandleMatch() local
74 if ("phandle" != path.filename()) in findPhandleMatch()
78 std::ifstream pHandleFile(path); in findPhandleMatch()
86 return path; in findPhandleMatch()
97 fs::path devPath{instancePath}; in findCalloutPath()
110 fs::path p{devPath}; in findCalloutPath()
122 fs::path ofDevPath{devPath}; in findCalloutPath()
149 p = iioDev.path(); in findCalloutPath()
185 auto fullOfPath = fs::path(ofRoot) / fs::path(ofNode).relative_path(); in findHwmonFromOFPath()
189 auto path = hwmonInst.path(); in findHwmonFromOFPath() local
190 path /= "of_node"; in findHwmonFromOFPath()
194 path = fs::canonical(path); in findHwmonFromOFPath()
204 if (path == fullOfPath) in findHwmonFromOFPath()
206 return hwmonInst.path(); in findHwmonFromOFPath()
211 auto matchpath = findPhandleMatch(path, fullOfPath); in findHwmonFromOFPath()
214 return hwmonInst.path(); in findHwmonFromOFPath()
223 fs::path p{"/sys"}; in findHwmonFromDevPath()
224 p /= fs::path(devPath).relative_path(); in findHwmonFromDevPath()
233 std::string path = p; in findHwmonFromDevPath() local
234 while ((pos = path.find("--")) != std::string::npos) in findHwmonFromDevPath()
236 path.replace(pos, 2, ":"); in findHwmonFromDevPath()
239 auto dir_iter = fs::directory_iterator(path); in findHwmonFromDevPath()
242 return (d.path().filename().string().find("hwmon") != in findHwmonFromDevPath()
247 return hwmonInst->path(); in findHwmonFromDevPath()