Lines Matching refs:noise
1427 u8 noise[4]; in handle_irq_noise() local
1446 *((__le32 *)noise) = cpu_to_le32(b43_jssi_read(dev)); in handle_irq_noise()
1447 if (noise[0] == 0x7F || noise[1] == 0x7F || in handle_irq_noise()
1448 noise[2] == 0x7F || noise[3] == 0x7F) in handle_irq_noise()
1454 noise[0] = clamp_val(noise[0], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise()
1455 noise[1] = clamp_val(noise[1], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise()
1456 noise[2] = clamp_val(noise[2], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise()
1457 noise[3] = clamp_val(noise[3], 0, ARRAY_SIZE(phy->nrssi_lt) - 1); in handle_irq_noise()
1458 dev->noisecalc.samples[i][0] = phy->nrssi_lt[noise[0]]; in handle_irq_noise()
1459 dev->noisecalc.samples[i][1] = phy->nrssi_lt[noise[1]]; in handle_irq_noise()
1460 dev->noisecalc.samples[i][2] = phy->nrssi_lt[noise[2]]; in handle_irq_noise()
1461 dev->noisecalc.samples[i][3] = phy->nrssi_lt[noise[3]]; in handle_irq_noise()
5200 survey->noise = dev->stats.link_noise; in b43_op_get_survey()