Searched refs:theta (Results 1 – 6 of 6) sorted by relevance
1335 static int ov7670_sine(int theta) in ov7670_sine() argument1340 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() argument1355 theta = 90 - theta; in ov7670_cosine()1356 if (theta > 180) in ov7670_cosine()[all …]
422 int x_est[NUM_BIN + 1], Y[NUM_BIN + 1], theta[NUM_BIN + 1]; in create_pa_curve() local442 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()
3339 s32 theta = 0, rot = 0; in wlc_lcnphy_start_tx_tone() local3369 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()
23044 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local23068 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()
1771 int i, samples = 0, theta = 0; in lpphy_start_tx_tone() local1789 sample = cordic_calc_iq(CORDIC_FIXED(theta)); in lpphy_start_tx_tone()1790 theta += rotation; in lpphy_start_tx_tone()
415 float theta; member