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

/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-sdr-cap.c429 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC)) macro
449 src_phase_step = DIV_ROUND_CLOSEST(FIXP_2PI * BEEP_FREQ, vivid_sdr_cap_process()
454 FIXP_2PI) >> (31 - FIXP_N); vivid_sdr_cap_process()
464 while (dev->sdr_fixp_mod_phase < FIXP_2PI) vivid_sdr_cap_process()
465 dev->sdr_fixp_mod_phase += FIXP_2PI; vivid_sdr_cap_process()
466 while (dev->sdr_fixp_mod_phase > FIXP_2PI) vivid_sdr_cap_process()
467 dev->sdr_fixp_mod_phase -= FIXP_2PI; vivid_sdr_cap_process()
469 while (dev->sdr_fixp_src_phase > FIXP_2PI) vivid_sdr_cap_process()
470 dev->sdr_fixp_src_phase -= FIXP_2PI; vivid_sdr_cap_process()
472 fixp_i = fixp_cos32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); vivid_sdr_cap_process()
473 fixp_q = fixp_sin32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); vivid_sdr_cap_process()

Completed in 56 milliseconds