Home
last modified time | relevance | path

Searched refs:theta (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/lib/math/
H A Dcordic.c43 * theta: angle in degrees for which i/q coordinate is to be calculated
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) < in cordic_calc_iq()
[all...]
/kernel/linux/linux-6.6/lib/math/
H A Dcordic.c43 * theta: angle in degrees for which i/q coordinate is to be calculated
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) < in cordic_calc_iq()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_illinois.c39 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()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_illinois.c39 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c422 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()
491 * Find average theta of first 5 bin and all of those to same value. 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[ in create_pa_curve()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c422 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()
491 * Find average theta of first 5 bin and all of those to same value. 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[ in create_pa_curve()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov7670.c1309 * carefully limited to -180 <= theta <= 180.
1319 static int ov7670_sine(int theta) in ov7670_sine() argument
1324 if (theta < 0) { in ov7670_sine()
1325 theta = -theta; in ov7670_sine()
1328 if (theta <= 90) in ov7670_sine()
1329 sine = ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine()
1331 theta -= 90; in ov7670_sine()
1332 sine = 1000 - ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine()
1337 static int ov7670_cosine(int theta) in ov7670_cosine() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov7670.c1324 * carefully limited to -180 <= theta <= 180.
1334 static int ov7670_sine(int theta) in ov7670_sine() argument
1339 if (theta < 0) { in ov7670_sine()
1340 theta = -theta; in ov7670_sine()
1343 if (theta <= 90) in ov7670_sine()
1344 sine = ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine()
1346 theta -= 90; in ov7670_sine()
1347 sine = 1000 - ov7670_sin_table[theta/SIN_STEP]; in ov7670_sine()
1352 static int ov7670_cosine(int theta) in ov7670_cosine() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dcordic.h44 * @theta: angle in degrees for which i/q coordinate is to be calculated.
51 * values are scaled by 2^16 for precision. The range for theta is
55 struct cordic_iq cordic_calc_iq(s32 theta);
/kernel/linux/linux-6.6/include/linux/
H A Dcordic.h44 * @theta: angle in degrees for which i/q coordinate is to be calculated.
51 * values are scaled by 2^16 for precision. The range for theta is
55 struct cordic_iq cordic_calc_iq(s32 theta);
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmadera.c3647 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 in madera_enable_fll()
4425 unsigned int fll_n, min_n, max_n, ratio, theta, lambda; madera_fllhj_apply() local
[all...]
H A Darizona.c2096 unsigned int theta; member
2289 cfg->theta = (target - (cfg->n * ratio * Fref)) in arizona_calc_fll()
2293 cfg->theta = 0; in arizona_calc_fll()
2302 cfg->theta >>= 1; in arizona_calc_fll()
2319 cfg->n, cfg->theta, cfg->lambda); in arizona_calc_fll()
2333 ARIZONA_FLL1_THETA_MASK, cfg->theta); in arizona_apply_fll()
2453 cfg.theta = (cfg.theta * (1 << 16)) / cfg.lambda; in arizona_enable_fll()
H A Dwm2200.c1840 u16 theta; member
1915 fll_div->theta = 0; in fll_factors()
1920 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1926 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors()
1976 if (factors.theta) { in wm2200_set_fll()
1991 factors.theta); in wm2200_set_fll()
H A Dwm5100.c1660 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()
H A Dwm8962.c2765 u16 theta; member
2844 fll_div->theta = 0; in fll_factors()
2849 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
2855 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors()
2915 if (fll_div.theta) in wm8962_set_fll()
2930 snd_soc_component_write(component, WM8962_FLL_CONTROL_6, fll_div.theta); in wm8962_set_fll()
H A Dwm8996.c1897 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()
H A Dmadera.h150 unsigned int theta; member
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmadera.c3647 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 in madera_enable_fll()
4425 unsigned int fll_n, min_n, max_n, ratio, theta, lambda; madera_fllhj_apply() local
[all...]
H A Darizona.c2097 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()
H A Dwm2200.c1827 u16 theta; member
1902 fll_div->theta = 0; in fll_factors()
1907 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1913 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors()
1963 if (factors.theta) { in wm2200_set_fll()
1978 factors.theta); in wm2200_set_fll()
H A Dwm5100.c1660 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()
H A Dwm8996.c1897 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()
H A Dwm8962.c2786 u16 theta; member
2865 fll_div->theta = 0; in fll_factors()
2870 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
2876 fll_div->n, fll_div->theta, fll_div->lambda); in fll_factors()
2940 if (fll_div.theta) in wm8962_set_fll()
2955 snd_soc_component_write(component, WM8962_FLL_CONTROL_6, fll_div.theta); in wm8962_set_fll()
H A Dmadera.h150 unsigned int theta; member
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_cmd.h473 float theta; member

Completed in 51 milliseconds

12