Searched refs:log_val (Results 1 – 2 of 2) sorted by relevance
1476 u32 log_val = 0; in log10_x1000() local1488 log_val--; in log10_x1000()1493 log_val++; in log10_x1000()1496 log_val *= 1000; in log10_x1000()1499 return log_val; /* don't need to interpolate */ in log10_x1000()1507 return log_val + log10x_x1000[i - 1]; in log10_x1000()1514 return log_val + log10x_x1000[i - 1] + in log10_x1000()
5157 s32 log_val, gain_mismatch, desired_gain, input_power_offset_db, in wlc_lcnphy_rx_signal_power() local5179 log_val = msb1; in wlc_lcnphy_rx_signal_power()5181 log_val = msb2; in wlc_lcnphy_rx_signal_power()5183 log_val = log_val * 3; in wlc_lcnphy_rx_signal_power()5185 gain_mismatch = (nominal_power_db / 2) - (log_val); in wlc_lcnphy_rx_signal_power()