Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/dvb-frontends/
H A Daf9033.c875 int ret, tmp, power_real; in af9033_read_signal_strength() local
903 power_real = (utmp - 100 - gain_offset) - in af9033_read_signal_strength()
906 if (power_real < -15) in af9033_read_signal_strength()
908 else if ((power_real >= -15) && (power_real < 0)) in af9033_read_signal_strength()
909 tmp = (2 * (power_real + 15)) / 3; in af9033_read_signal_strength()
910 else if ((power_real >= 0) && (power_real < 20)) in af9033_read_signal_strength()
911 tmp = 4 * power_real + 10; in af9033_read_signal_strength()
912 else if ((power_real >= 20) && (power_real < 35)) in af9033_read_signal_strength()
913 tmp = (2 * (power_real - 20)) / 3 + 90; in af9033_read_signal_strength()