Home
last modified time | relevance | path

Searched refs:FIXP_2PI (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c507 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC)) macro
523 src_phase_step = DIV_ROUND_CLOSEST(FIXP_2PI * BEEP_FREQ, in vivid_sdr_cap_process()
528 FIXP_2PI) >> (31 - FIXP_N); in vivid_sdr_cap_process()
539 dev->sdr_fixp_src_phase %= FIXP_2PI; in vivid_sdr_cap_process()
540 dev->sdr_fixp_mod_phase %= FIXP_2PI; in vivid_sdr_cap_process()
543 dev->sdr_fixp_mod_phase += FIXP_2PI; in vivid_sdr_cap_process()
545 fixp_i = fixp_cos32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()
546 fixp_q = fixp_sin32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()