Searched refs:abs_offset_khz (Results 1 – 2 of 2) sorted by relevance
809 u32 abs_offset_khz = abs(offset_khz); in dib7000p_set_dds() local826 …dds -= (abs_offset_khz * unit_khz_dds_val); /* /100 because of /100 on the unit_khz_dds_val line c… in dib7000p_set_dds()828 dds += (abs_offset_khz * unit_khz_dds_val); in dib7000p_set_dds()830 if (abs_offset_khz <= (internal / 2)) { /* Max dds offset is the half of the demod freq */ in dib7000p_set_dds()
2698 u32 abs_offset_khz = abs(offset_khz); in dib8000_set_dds() local2707 dds = (1 << 26) - (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()2709 dds = (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()2722 dds -= abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()2724 dds += abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()2729 if (abs_offset_khz <= (state->cfg.pll->internal / ratio)) { in dib8000_set_dds()