Home
last modified time | relevance | path

Searched refs:distance_mm (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/proximity/
H A Dping.c97 u32 time_ns, distance_mm; in ping_read() local
213 distance_mm = time_ns * 232 / 1350800; in ping_read()
215 return distance_mm; in ping_read()
H A Dsrf04.c100 u32 time_ns, distance_mm; in srf04_read() local
188 distance_mm = time_ns * 106 / 617176; in srf04_read()
190 return distance_mm; in srf04_read()