Home
last modified time | relevance | path

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

/linux/drivers/iio/chemical/
A Dsgp40.c165 u16 ticks16; in sgp40_measure_resistance_raw() local
173 ticks16 = (u16)clamp(ticks, 0u, 65535u); /* clamp between 0 .. 100 %rH */ in sgp40_measure_resistance_raw()
174 tg.rht_ticks = cpu_to_be16(ticks16); in sgp40_measure_resistance_raw()
178 ticks16 = (u16)clamp(ticks, 0u, 65535u); /* clamp between -45 .. +130 °C */ in sgp40_measure_resistance_raw()
179 tg.temp_ticks = cpu_to_be16(ticks16); in sgp40_measure_resistance_raw()

Completed in 3 milliseconds