Searched refs:valq (Results 1 – 2 of 2) sorted by relevance
207 static inline void diag_add_constellation(struct sm_state *sm, int vali, int valq) in diag_add_constellation() argument217 if (valq > SHRT_MAX) in diag_add_constellation()218 valq = SHRT_MAX; in diag_add_constellation()219 if (valq < SHRT_MIN) in diag_add_constellation()220 valq = SHRT_MIN; in diag_add_constellation()222 sm->diag.data[sm->diag.ptr++] = valq; in diag_add_constellation()
209 short vali, short valq) in demod_psk48_baseband() argument214 st->magq = valq; in demod_psk48_baseband()313 diag_add_constellation(sm, (vali*COS(st->phase)+ valq*SIN(st->phase)) >> 13, in demod_psk48_baseband()314 (valq*COS(st->phase) - vali*SIN(st->phase)) >> 13); in demod_psk48_baseband()