Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/dvb-frontends/
H A Ddib7000p.c1216 u32 pha; in dib7000p_spur_protect() local
1228 pha = ((f_rel * (k + 1) * 112 * 80 / bw_khz) / 1000) & 0x3ff; in dib7000p_spur_protect()
1230 if (pha == 0) { in dib7000p_spur_protect()
1233 } else if (pha < 256) { in dib7000p_spur_protect()
1234 coef_re[k] = sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
1235 coef_im[k] = sine[pha & 0xff]; in dib7000p_spur_protect()
1236 } else if (pha == 256) { in dib7000p_spur_protect()
1239 } else if (pha < 512) { in dib7000p_spur_protect()
1240 coef_re[k] = -sine[pha & 0xff]; in dib7000p_spur_protect()
1241 coef_im[k] = sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
[all …]