Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_n.c23210 wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf, in wlc_phy_loadsampletable_nphy() argument
23224 data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) | in wlc_phy_loadsampletable_nphy()
23225 (((unsigned int)tone_buf[t].q) & 0x3ff); in wlc_phy_loadsampletable_nphy()
23243 struct cordic_iq *tone_buf = NULL; in wlc_phy_gen_load_samples_nphy() local
23258 tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC); in wlc_phy_gen_load_samples_nphy()
23259 if (tone_buf == NULL) in wlc_phy_gen_load_samples_nphy()
23268 tone_buf[t] = cordic_calc_iq(theta); in wlc_phy_gen_load_samples_nphy()
23272 tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val); in wlc_phy_gen_load_samples_nphy()
23273 tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val); in wlc_phy_gen_load_samples_nphy()
23276 wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps); in wlc_phy_gen_load_samples_nphy()
[all …]