Lines Matching refs:tmp
375 s32 tmp; in b43legacy_rssi_postprocess() local
380 tmp = in_rssi; in b43legacy_rssi_postprocess()
381 if (tmp > 127) in b43legacy_rssi_postprocess()
382 tmp -= 256; in b43legacy_rssi_postprocess()
383 tmp *= 73; in b43legacy_rssi_postprocess()
384 tmp /= 64; in b43legacy_rssi_postprocess()
386 tmp += 25; in b43legacy_rssi_postprocess()
388 tmp -= 3; in b43legacy_rssi_postprocess()
394 tmp = phy->nrssi_lt[in_rssi]; in b43legacy_rssi_postprocess()
395 tmp = 31 - tmp; in b43legacy_rssi_postprocess()
396 tmp *= -131; in b43legacy_rssi_postprocess()
397 tmp /= 128; in b43legacy_rssi_postprocess()
398 tmp -= 57; in b43legacy_rssi_postprocess()
400 tmp = in_rssi; in b43legacy_rssi_postprocess()
401 tmp = 31 - tmp; in b43legacy_rssi_postprocess()
402 tmp *= -149; in b43legacy_rssi_postprocess()
403 tmp /= 128; in b43legacy_rssi_postprocess()
404 tmp -= 68; in b43legacy_rssi_postprocess()
408 tmp += 25; in b43legacy_rssi_postprocess()
413 tmp = in_rssi - 256; in b43legacy_rssi_postprocess()
415 tmp = in_rssi; in b43legacy_rssi_postprocess()
418 tmp = in_rssi; in b43legacy_rssi_postprocess()
419 tmp -= 11; in b43legacy_rssi_postprocess()
420 tmp *= 103; in b43legacy_rssi_postprocess()
421 tmp /= 64; in b43legacy_rssi_postprocess()
423 tmp -= 109; in b43legacy_rssi_postprocess()
425 tmp -= 83; in b43legacy_rssi_postprocess()
428 return (s8)tmp; in b43legacy_rssi_postprocess()
614 u8 tmp; in b43legacy_handle_hwtxstatus() local
619 tmp = hw->count; in b43legacy_handle_hwtxstatus()
620 status.frame_count = (tmp >> 4); in b43legacy_handle_hwtxstatus()
621 status.rts_count = (tmp & 0x0F); in b43legacy_handle_hwtxstatus()
622 tmp = hw->flags << 1; in b43legacy_handle_hwtxstatus()
623 status.supp_reason = ((tmp & 0x1C) >> 2); in b43legacy_handle_hwtxstatus()
624 status.pm_indicated = !!(tmp & 0x80); in b43legacy_handle_hwtxstatus()
625 status.intermediate = !!(tmp & 0x40); in b43legacy_handle_hwtxstatus()
626 status.for_ampdu = !!(tmp & 0x20); in b43legacy_handle_hwtxstatus()
627 status.acked = !!(tmp & 0x02); in b43legacy_handle_hwtxstatus()