Searched refs:mse (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | or51211.c | 276 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument 278 if (mse == 0) /* No signal */ in calculate_snr() 281 mse = 2*intlog10(mse); in calculate_snr() 282 if (mse > c) { in calculate_snr() 288 return 10*(c - mse); in calculate_snr()
|
D | or51132.c | 454 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument 456 if (mse == 0) /* No signal */ in calculate_snr() 459 mse = 2*intlog10(mse); in calculate_snr() 460 if (mse > c) { in calculate_snr() 466 return 10*(c - mse); in calculate_snr()
|
D | lgdt330x.c | 485 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument 487 if (mse == 0) /* No signal */ in calculate_snr() 490 mse = intlog10(mse); in calculate_snr() 491 if (mse > c) { in calculate_snr() 499 return 10 * (c - mse); in calculate_snr()
|
D | lgdt3305.c | 978 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument 980 if (mse == 0) /* no signal */ in calculate_snr() 983 mse = intlog10(mse); in calculate_snr() 984 if (mse > c) { in calculate_snr() 990 return 10*(c - mse); in calculate_snr()
|
D | au8522_dig.c | 227 static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse, in au8522_mse2snr_lookup() argument 234 if (mse < tab[i].val) { in au8522_mse2snr_lookup()
|
D | lgdt3306a.c | 1529 u32 mse; /* Mean-Square Error */ in lgdt3306a_calculate_snr_x100() local 1533 mse = (read_reg(state, 0x00ec) << 8) | in lgdt3306a_calculate_snr_x100() 1538 if (mse == 0) /* no signal */ in lgdt3306a_calculate_snr_x100() 1541 snr_x100 = log10_x1000((pwr * 10000) / mse) - 3000; in lgdt3306a_calculate_snr_x100() 1542 dbg_info("mse=%u, pwr=%u, snr_x100=%d\n", mse, pwr, snr_x100); in lgdt3306a_calculate_snr_x100()
|