Home
last modified time | relevance | path

Searched refs:dds (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/media/dvb-frontends/
Ddib8000.c2702 u32 dds = state->cfg.pll->ifreq & 0x1ffffff; in dib8000_set_dds() local
2710 dds = (1 << 26) - (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()
2712 dds = (abs_offset_khz * unit_khz_dds_val); in dib8000_set_dds()
2715 dds = (1<<26) - dds; in dib8000_set_dds()
2725 dds -= abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()
2727 dds += abs_offset_khz * unit_khz_dds_val; in dib8000_set_dds()
2730 dprintk("setting a DDS frequency offset of %c%dkHz\n", invert ? '-' : ' ', dds / unit_khz_dds_val); in dib8000_set_dds()
2735 dib8000_write_word(state, 27, (u16)(dds >> 16) & 0x1ff); in dib8000_set_dds()
2736 dib8000_write_word(state, 28, (u16)(dds & 0xffff)); in dib8000_set_dds()
Ddib7000p.c813 u32 dds = state->cfg.bw->ifreq & 0x1ffffff; in dib7000p_set_dds() local
829dds -= (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()
834 dib7000p_write_word(state, 21, (u16) (((dds >> 16) & 0x1ff) | (0 << 10) | (invert << 9))); in dib7000p_set_dds()
835 dib7000p_write_word(state, 22, (u16) (dds & 0xffff)); in dib7000p_set_dds()