Lines Matching full:hwmon
41 // with iio-hwmon nodes with a single sensor. Typically in findPhandleMatch()
43 // single iio-hwmon node so it would be nice to add support in findPhandleMatch()
47 // with multiple iio-hwmon nodes - one for each sensor. in findPhandleMatch()
87 // Follow the hwmon instance (/sys/class/hwmon/hwmon<N>) in findCalloutPath()
101 // See if the device is backed by the iio-hwmon driver. in findCalloutPath()
108 // Not backed by iio-hwmon. The device pointed to in findCalloutPath()
113 // Find the DT path to the iio-hwmon platform device. in findCalloutPath()
166 static constexpr auto hwmonRoot = "/sys/class/hwmon"; in findHwmonFromOFPath()
181 // realpath may encounter ENOENT (Hwmon in findHwmonFromOFPath()
192 // Try to find HWMON instance via phandle values. in findHwmonFromOFPath()
208 p /= "hwmon"; in findHwmonFromDevPath()
225 return (d.path().filename().string().find("hwmon") != in findHwmonFromDevPath()
236 "Unable to find hwmon directory from the dev path: {}\n", in findHwmonFromDevPath()