/linux-6.1.9/lib/math/ |
D | cordic.c | 46 struct cordic_iq cordic_calc_iq(s32 theta) in cordic_calc_iq() argument 58 theta = CORDIC_FIXED(theta); in cordic_calc_iq() 59 signtheta = (theta < 0) ? -1 : 1; in cordic_calc_iq() 60 theta = ((theta + CORDIC_FIXED(180) * signtheta) % CORDIC_FIXED(360)) - in cordic_calc_iq() 63 if (CORDIC_FLOAT(theta) > 90) { in cordic_calc_iq() 64 theta -= CORDIC_FIXED(180); in cordic_calc_iq() 66 } else if (CORDIC_FLOAT(theta) < -90) { in cordic_calc_iq() 67 theta += CORDIC_FIXED(180); in cordic_calc_iq() 72 if (theta > angle) { in cordic_calc_iq()
|
/linux-6.1.9/net/ipv4/ |
D | tcp_illinois.c | 39 static int theta __read_mostly = 5; 40 module_param(theta, int, 0); 41 MODULE_PARM_DESC(theta, "# of fast RTT's before full growth"); 152 if (++ca->rtt_low < theta) in alpha()
|
/linux-6.1.9/drivers/media/i2c/ |
D | ov7670.c | 1335 static int ov7670_sine(int theta) in ov7670_sine() argument 1340 if (theta < 0) { in ov7670_sine() 1341 theta = -theta; in ov7670_sine() 1344 if (theta <= 90) in ov7670_sine() 1345 sine = ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1347 theta -= 90; in ov7670_sine() 1348 sine = 1000 - ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine() 1353 static int ov7670_cosine(int theta) in ov7670_cosine() argument 1355 theta = 90 - theta; in ov7670_cosine() 1356 if (theta > 180) in ov7670_cosine() [all …]
|
/linux-6.1.9/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-6.1.9/include/linux/ |
D | cordic.h | 55 struct cordic_iq cordic_calc_iq(s32 theta);
|
/linux-6.1.9/sound/soc/codecs/ |
D | madera.c | 3647 cfg->theta = (fll->fout - (cfg->n * ratio * fref)) in madera_calc_fll() 3651 cfg->theta = 0; in madera_calc_fll() 3661 cfg->theta >>= 1; in madera_calc_fll() 3706 cfg->n, cfg->theta, cfg->lambda); in madera_calc_fll() 3724 cfg->theta, &change); in madera_write_fll() 3827 if (!sync && ref_cfg->theta == 0) in madera_set_fll_phase_integrator() 4028 cfg.theta = (cfg.theta * (1 << 16)) / cfg.lambda; in madera_enable_fll() 4040 if (!have_sync && cfg.theta == 0) in madera_enable_fll() 4054 if (!have_sync && cfg.theta == 0) in madera_enable_fll() 4425 unsigned int fll_n, min_n, max_n, ratio, theta, lambda; in madera_fllhj_apply() local [all …]
|
D | wm2200.c | 1832 u16 theta; member 1907 fll_div->theta = 0; in fll_factors() 1912 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1918 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 1968 if (factors.theta) { in wm2200_set_fll() 1983 factors.theta); in wm2200_set_fll()
|
D | arizona.c | 2097 unsigned int theta; member 2290 cfg->theta = (target - (cfg->n * ratio * Fref)) in arizona_calc_fll() 2294 cfg->theta = 0; in arizona_calc_fll() 2303 cfg->theta >>= 1; in arizona_calc_fll() 2320 cfg->n, cfg->theta, cfg->lambda); in arizona_calc_fll() 2334 ARIZONA_FLL1_THETA_MASK, cfg->theta); in arizona_apply_fll() 2454 cfg.theta = (cfg.theta * (1 << 16)) / cfg.lambda; in arizona_enable_fll()
|
D | wm8996.c | 1897 u16 theta; member 1982 fll_div->theta = 0; in fll_factors() 1987 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1993 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 2059 if (fll_div.theta || fll_div.lambda) in wm8996_set_fll() 2071 snd_soc_component_write(component, WM8996_FLL_CONTROL_3, fll_div.theta); in wm8996_set_fll()
|
D | wm8962.c | 2781 u16 theta; member 2860 fll_div->theta = 0; in fll_factors() 2865 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 2871 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 2931 if (fll_div.theta) in wm8962_set_fll() 2946 snd_soc_component_write(component, WM8962_FLL_CONTROL_6, fll_div.theta); in wm8962_set_fll()
|
D | wm5100.c | 1660 u16 theta; member 1735 fll_div->theta = 0; in fll_factors() 1740 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1746 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors() 1815 factors.theta); in wm5100_set_fll()
|
D | madera.h | 150 unsigned int theta; member
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3339 s32 theta = 0, rot = 0; in wlc_lcnphy_start_tx_tone() local 3369 theta = 0; in wlc_lcnphy_start_tx_tone() 3373 tone_samp = cordic_calc_iq(theta); in wlc_lcnphy_start_tx_tone() 3375 theta += rot; in wlc_lcnphy_start_tx_tone()
|
D | phy_n.c | 23044 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local 23068 theta = 0; in wlc_phy_gen_load_samples_nphy() 23072 tone_buf[t] = cordic_calc_iq(theta); in wlc_phy_gen_load_samples_nphy() 23074 theta += rot; in wlc_phy_gen_load_samples_nphy()
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 1771 int i, samples = 0, theta = 0; in lpphy_start_tx_tone() local 1789 sample = cordic_calc_iq(CORDIC_FIXED(theta)); in lpphy_start_tx_tone() 1790 theta += rotation; in lpphy_start_tx_tone()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 415 float theta; member
|