Lines Matching defs:dds
2699 u32 dds = state->cfg.pll->ifreq & 0x1ffffff;
2707 dds = (1 << 26) - (abs_offset_khz * unit_khz_dds_val);
2709 dds = (abs_offset_khz * unit_khz_dds_val);
2712 dds = (1<<26) - dds;
2722 dds -= abs_offset_khz * unit_khz_dds_val;
2724 dds += abs_offset_khz * unit_khz_dds_val;
2727 dprintk("setting a DDS frequency offset of %c%dkHz\n", invert ? '-' : ' ', dds / unit_khz_dds_val);
2730 /* Max dds offset is the half of the demod freq */
2732 dib8000_write_word(state, 27, (u16)(dds >> 16) & 0x1ff);
2733 dib8000_write_word(state, 28, (u16)(dds & 0xffff));
2768 /* apply dds offset now */