Searched refs:rflevel (Results 1 – 1 of 1) sorted by relevance
643 s32 rflevel = stv0900_get_rf_level(internal, &stv0900_rf, in stv0900_read_signal_strength() local646 rflevel = (rflevel + 100) * (65535 / 70); in stv0900_read_signal_strength()647 if (rflevel < 0) in stv0900_read_signal_strength()648 rflevel = 0; in stv0900_read_signal_strength()650 if (rflevel > 65535) in stv0900_read_signal_strength()651 rflevel = 65535; in stv0900_read_signal_strength()653 *strength = rflevel; in stv0900_read_signal_strength()