Lines Matching refs:tmp2
214 u16 tmp, tmp2; in lpphy_baseband_rev0_1_init() local
344 tmp2 = (tmp & 0x03E0) >> 5; in lpphy_baseband_rev0_1_init()
345 tmp2 |= tmp2 << 5; in lpphy_baseband_rev0_1_init()
346 b43_phy_write(dev, B43_LPPHY_4C3, tmp2); in lpphy_baseband_rev0_1_init()
348 tmp2 = (tmp & 0x1F00) >> 8; in lpphy_baseband_rev0_1_init()
349 tmp2 |= tmp2 << 5; in lpphy_baseband_rev0_1_init()
350 b43_phy_write(dev, B43_LPPHY_4C4, tmp2); in lpphy_baseband_rev0_1_init()
352 tmp2 = tmp & 0x00FF; in lpphy_baseband_rev0_1_init()
353 tmp2 |= tmp << 8; in lpphy_baseband_rev0_1_init()
354 b43_phy_write(dev, B43_LPPHY_4C5, tmp2); in lpphy_baseband_rev0_1_init()
1713 int prod, ipwr, qpwr, prod_msb, q_msb, tmp1, tmp2, tmp3, tmp4, ret; in lpphy_calc_rx_iq_comp() local
1747 tmp2 = q_msb - 11; in lpphy_calc_rx_iq_comp()
1749 if (tmp2 >= 0) in lpphy_calc_rx_iq_comp()
1750 tmp4 = (qpwr << (31 - q_msb)) / (ipwr >> tmp2); in lpphy_calc_rx_iq_comp()
1752 tmp4 = (qpwr << (31 - q_msb)) / (ipwr << -tmp2); in lpphy_calc_rx_iq_comp()
2416 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in lpphy_b2062_tune() local
2441 tmp2 = lpphy->pdiv * 1000; in lpphy_b2062_tune()
2445 tmp3 = tmp2 * channel2freq_lp(channel); in lpphy_b2062_tune()
2509 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6; in lpphy_b2063_tune() local
2566 tmp2 = ((val3 * 62500) % freqref) << 4; in lpphy_b2063_tune()
2567 while (tmp2 >= freqref) { in lpphy_b2063_tune()
2569 tmp2 -= freqref; in lpphy_b2063_tune()
2574 b43_radio_write(dev, B2063_PLL_JTAG_PLL_SG3, (tmp2 >> 8) & 0xFF); in lpphy_b2063_tune()
2575 b43_radio_write(dev, B2063_PLL_JTAG_PLL_SG4, tmp2 & 0xFF); in lpphy_b2063_tune()