Searched refs:sig_ratio (Results 1 – 2 of 2) sorted by relevance
174 int il3945_calc_db_from_ratio(int sig_ratio);
1149 il3945_calc_db_from_ratio(int sig_ratio) in il3945_calc_db_from_ratio() argument1152 if (sig_ratio >= 1000) in il3945_calc_db_from_ratio()1157 if (sig_ratio >= 100) in il3945_calc_db_from_ratio()1158 return 20 + (int)ratio2dB[sig_ratio / 10]; in il3945_calc_db_from_ratio()1161 if (sig_ratio < 1) in il3945_calc_db_from_ratio()1165 return (int)ratio2dB[sig_ratio]; in il3945_calc_db_from_ratio()