Searched refs:theta (Results 1 – 6 of 6) sorted by relevance
1331 static int ov7670_sine(int theta) in ov7670_sine() argument1336 if (theta < 0) { in ov7670_sine()1337 theta = -theta; in ov7670_sine()1340 if (theta <= 90) in ov7670_sine()1343 theta -= 90; in ov7670_sine()1351 theta = 90 - theta; in ov7670_cosine()1352 if (theta > 180) in ov7670_cosine()1353 theta -= 360; in ov7670_cosine()1354 else if (theta < -180) in ov7670_cosine()1355 theta += 360; 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()
23035 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local23059 theta = 0; in wlc_phy_gen_load_samples_nphy()23063 tone_buf[t] = cordic_calc_iq(theta); in wlc_phy_gen_load_samples_nphy()23065 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
Completed in 715 milliseconds