Searched refs:cos_2b (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/staging/winbond/ |
D | phy_calibration.c | 693 s32 cos_b, cos_2b; in _tx_iq_calibration_loop_winbond() local 828 _sin_cos(b_2*2, &sin_2b, &cos_2b); in _tx_iq_calibration_loop_winbond() 830 PHY_DEBUG(("[CAL] ** sin(b)=%d, cos(b)=%d\n", sin_2b, cos_2b)); in _tx_iq_calibration_loop_winbond() 832 if (cos_2b == 0) { in _tx_iq_calibration_loop_winbond() 840 temp1 = (41943040/cos_2b)*cos_b; in _tx_iq_calibration_loop_winbond() 844 temp2 = (41943040/cos_2b)*sin_b*(-1); in _tx_iq_calibration_loop_winbond() 846 temp2 = (41943040*4/cos_2b)*sin_b*(-1); in _tx_iq_calibration_loop_winbond() 1120 s32 cos_b, cos_2b; in _rx_iq_calibration_loop_winbond() local 1234 _sin_cos(b_2*2, &sin_2b, &cos_2b); in _rx_iq_calibration_loop_winbond() 1236 PHY_DEBUG(("[CAL] ** sin(b)=%d, cos(b)=%d\n", sin_2b, cos_2b)); in _rx_iq_calibration_loop_winbond() [all …]
|