Home
last modified time | relevance | path

Searched refs:CORDIC_FLOAT (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/lib/math/
H A Dcordic.c63 if (CORDIC_FLOAT(theta) > 90) { in cordic_calc_iq()
66 } else if (CORDIC_FLOAT(theta) < -90) { in cordic_calc_iq()
/openbmc/linux/include/linux/
H A Dcordic.h26 #define CORDIC_FLOAT(X) (((X) >= 0) \ macro
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1791 buf[i] = CORDIC_FLOAT((sample.i * max) & 0xFF) << 8; in lpphy_start_tx_tone()
1792 buf[i] |= CORDIC_FLOAT((sample.q * max) & 0xFF); in lpphy_start_tx_tone()
H A Dphy_n.c1563 samples[i].q = CORDIC_FLOAT(samples[i].q * max); in b43_nphy_gen_load_samples()
1564 samples[i].i = CORDIC_FLOAT(samples[i].i * max); in b43_nphy_gen_load_samples()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c3377 i_samp = (u16)(CORDIC_FLOAT(tone_samp.i * max_val) & 0x3ff); in wlc_lcnphy_start_tx_tone()
3378 q_samp = (u16)(CORDIC_FLOAT(tone_samp.q * max_val) & 0x3ff); in wlc_lcnphy_start_tx_tone()
H A Dphy_n.c23076 tone_buf[t].q = (s32)CORDIC_FLOAT(tone_buf[t].q * max_val); in wlc_phy_gen_load_samples_nphy()
23077 tone_buf[t].i = (s32)CORDIC_FLOAT(tone_buf[t].i * max_val); in wlc_phy_gen_load_samples_nphy()