Home
last modified time | relevance | path

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

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