/Linux-v4.19/lib/ |
D | cordic.c | 55 struct cordic_iq cordic_calc_iq(s32 theta) in cordic_calc_iq() argument 67 theta = FIXED(theta); in cordic_calc_iq() 68 signtheta = (theta < 0) ? -1 : 1; in cordic_calc_iq() 69 theta = ((theta + FIXED(180) * signtheta) % FIXED(360)) - in cordic_calc_iq() 72 if (FLOAT(theta) > 90) { in cordic_calc_iq() 73 theta -= FIXED(180); in cordic_calc_iq() 75 } else if (FLOAT(theta) < -90) { in cordic_calc_iq() 76 theta += FIXED(180); in cordic_calc_iq() 81 if (theta > angle) { in cordic_calc_iq()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | phy_common.c | 609 struct b43_c32 b43_cordic(int theta) in b43_cordic() argument 622 while (theta > (180 << 16)) in b43_cordic() 623 theta -= (360 << 16); in b43_cordic() 624 while (theta < -(180 << 16)) in b43_cordic() 625 theta += (360 << 16); in b43_cordic() 627 if (theta > (90 << 16)) { in b43_cordic() 628 theta -= (180 << 16); in b43_cordic() 630 } else if (theta < -(90 << 16)) { in b43_cordic() 631 theta += (180 << 16); in b43_cordic() 636 if (theta > angle) { in b43_cordic()
|
D | phy_common.h | 453 struct b43_c32 b43_cordic(int theta);
|
/Linux-v4.19/drivers/media/i2c/ |
D | ov7670.c | 1290 static int ov7670_sine(int theta) in ov7670_sine() argument 1295 if (theta < 0) { in ov7670_sine() 1296 theta = -theta; in ov7670_sine() 1299 if (theta <= 90) in ov7670_sine() 1300 sine = ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1302 theta -= 90; in ov7670_sine() 1303 sine = 1000 - ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1308 static int ov7670_cosine(int theta) in ov7670_cosine() argument 1310 theta = 90 - theta; in ov7670_cosine() 1311 if (theta > 180) in ov7670_cosine() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | tcp_illinois.c | 38 static int theta __read_mostly = 5; 39 module_param(theta, int, 0); 40 MODULE_PARM_DESC(theta, "# of fast RTT's before full growth"); 151 if (++ca->rtt_low < theta) in alpha()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 422 int x_est[NUM_BIN + 1], Y[NUM_BIN + 1], theta[NUM_BIN + 1]; in create_pa_curve() local 442 memset(theta, 0, sizeof(theta)); in create_pa_curve() 485 theta[max_index] = in create_pa_curve() 495 theta_low_bin += theta[i]; in create_pa_curve() 499 theta[i] = theta_low_bin; in create_pa_curve() 502 theta[0] = theta_low_bin; in create_pa_curve() 504 theta[i] -= theta_low_bin; in create_pa_curve() 675 ((theta[i + I] << M) + y_est[i + I]) / y_est[i + I]; in create_pa_curve()
|
/Linux-v4.19/include/linux/ |
D | cordic.h | 46 struct cordic_iq cordic_calc_iq(s32 theta);
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm2200.c | 1843 u16 theta; member 1918 fll_div->theta = 0; in fll_factors() 1923 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1929 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 1979 if (factors.theta) { in wm2200_set_fll() 1994 factors.theta); in wm2200_set_fll()
|
D | arizona.c | 2099 unsigned int theta; member 2292 cfg->theta = (target - (cfg->n * ratio * Fref)) in arizona_calc_fll() 2296 cfg->theta = 0; in arizona_calc_fll() 2305 cfg->theta >>= 1; in arizona_calc_fll() 2322 cfg->n, cfg->theta, cfg->lambda); in arizona_calc_fll() 2336 ARIZONA_FLL1_THETA_MASK, cfg->theta); in arizona_apply_fll() 2456 cfg.theta = (cfg.theta * (1 << 16)) / cfg.lambda; in arizona_enable_fll()
|
D | wm8996.c | 1901 u16 theta; member 1986 fll_div->theta = 0; in fll_factors() 1991 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1997 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 2063 if (fll_div.theta || fll_div.lambda) in wm8996_set_fll() 2075 snd_soc_component_write(component, WM8996_FLL_CONTROL_3, fll_div.theta); in wm8996_set_fll()
|
D | wm8962.c | 2715 u16 theta; member 2794 fll_div->theta = 0; in fll_factors() 2799 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 2805 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 2865 if (fll_div.theta || fll_div.lambda) in wm8962_set_fll() 2880 snd_soc_component_write(component, WM8962_FLL_CONTROL_6, fll_div.theta); in wm8962_set_fll()
|
D | wm5100.c | 1663 u16 theta; member 1738 fll_div->theta = 0; in fll_factors() 1743 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1749 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 1818 factors.theta); in wm5100_set_fll()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 437 float theta; member
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3412 s32 theta = 0, rot = 0; in wlc_lcnphy_start_tx_tone() local 3442 theta = 0; in wlc_lcnphy_start_tx_tone() 3446 tone_samp = cordic_calc_iq(theta); in wlc_lcnphy_start_tx_tone() 3448 theta += rot; in wlc_lcnphy_start_tx_tone()
|
D | phy_n.c | 23060 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local 23084 theta = 0; in wlc_phy_gen_load_samples_nphy() 23088 tone_buf[t] = cordic_calc_iq(theta); in wlc_phy_gen_load_samples_nphy() 23090 theta += rot; in wlc_phy_gen_load_samples_nphy()
|