Lines Matching refs:coord
48 struct cordic_iq coord; in cordic_calc_iq() local
54 coord.i = CORDIC_ANGLE_GEN; in cordic_calc_iq()
55 coord.q = 0; in cordic_calc_iq()
73 valtmp = coord.i - (coord.q >> iter); in cordic_calc_iq()
74 coord.q += (coord.i >> iter); in cordic_calc_iq()
77 valtmp = coord.i + (coord.q >> iter); in cordic_calc_iq()
78 coord.q -= (coord.i >> iter); in cordic_calc_iq()
81 coord.i = valtmp; in cordic_calc_iq()
84 coord.i *= signx; in cordic_calc_iq()
85 coord.q *= signx; in cordic_calc_iq()
86 return coord; in cordic_calc_iq()