Lines Matching refs:theta
43 * theta: angle in degrees for which i/q coordinate is to be calculated
46 struct cordic_iq cordic_calc_iq(s32 theta)
58 theta = CORDIC_FIXED(theta);
59 signtheta = (theta < 0) ? -1 : 1;
60 theta = ((theta + CORDIC_FIXED(180) * signtheta) % CORDIC_FIXED(360)) -
63 if (CORDIC_FLOAT(theta) > 90) {
64 theta -= CORDIC_FIXED(180);
66 } else if (CORDIC_FLOAT(theta) < -90) {
67 theta += CORDIC_FIXED(180);
72 if (theta > angle) {