Searched refs:rflevel (Results 1 – 1 of 1) sorted by relevance
663 s32 rflevel = stv0900_get_rf_level(internal, &stv0900_rf, in stv0900_read_signal_strength() local666 rflevel = (rflevel + 100) * (65535 / 70); in stv0900_read_signal_strength()667 if (rflevel < 0) in stv0900_read_signal_strength()668 rflevel = 0; in stv0900_read_signal_strength()670 if (rflevel > 65535) in stv0900_read_signal_strength()671 rflevel = 65535; in stv0900_read_signal_strength()673 *strength = rflevel; in stv0900_read_signal_strength()