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

/linux-master/drivers/media/dvb-frontends/
H A Ddib7000p.c809 u32 abs_offset_khz = abs(offset_khz); local
826 dds -= (abs_offset_khz * unit_khz_dds_val); /* /100 because of /100 on the unit_khz_dds_val line calc for better accuracy */
828 dds += (abs_offset_khz * unit_khz_dds_val);
830 if (abs_offset_khz <= (internal / 2)) { /* Max dds offset is the half of the demod freq */
H A Ddib8000.c2698 u32 abs_offset_khz = abs(offset_khz); local
2707 dds = (1 << 26) - (abs_offset_khz * unit_khz_dds_val);
2709 dds = (abs_offset_khz * unit_khz_dds_val);
2722 dds -= abs_offset_khz * unit_khz_dds_val;
2724 dds += abs_offset_khz * unit_khz_dds_val;
2729 if (abs_offset_khz <= (state->cfg.pll->internal / ratio)) {

Completed in 104 milliseconds