Searched refs:abs_offset_khz (Results 1 – 2 of 2) sorted by relevance
812 u32 abs_offset_khz = abs(offset_khz); in dib7000p_set_dds() local829 …dds -= (abs_offset_khz * unit_khz_dds_val); /* /100 because of /100 on the unit_khz_dds_val line c… in dib7000p_set_dds()831 dds += (abs_offset_khz * unit_khz_dds_val); in dib7000p_set_dds()833 if (abs_offset_khz <= (internal / 2)) { /* Max dds offset is the half of the demod freq */ in dib7000p_set_dds()
2680 u32 abs_offset_khz = abs(offset_khz); in dib8000_set_dds() local2689 dds = (1 << 26) - (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()2691 dds = (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()2704 dds -= abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()2706 dds += abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()2711 if (abs_offset_khz <= (state->cfg.pll->internal / ratio)) { in dib8000_set_dds()