Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/pressure/
Dmpl115.c50 unsigned kpa; in mpl115_comp_pressure() local
74 kpa = pcomp * (115 - 50) / 1023 + (50 << 4); in mpl115_comp_pressure()
75 *val = kpa >> 4; in mpl115_comp_pressure()
76 *val2 = (kpa & 15) * (1000000 >> 4); in mpl115_comp_pressure()