Lines Matching refs:pha
1203 u32 pha; in dib7000p_spur_protect() local
1215 pha = ((f_rel * (k + 1) * 112 * 80 / bw_khz) / 1000) & 0x3ff; in dib7000p_spur_protect()
1217 if (pha == 0) { in dib7000p_spur_protect()
1220 } else if (pha < 256) { in dib7000p_spur_protect()
1221 coef_re[k] = sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
1222 coef_im[k] = sine[pha & 0xff]; in dib7000p_spur_protect()
1223 } else if (pha == 256) { in dib7000p_spur_protect()
1226 } else if (pha < 512) { in dib7000p_spur_protect()
1227 coef_re[k] = -sine[pha & 0xff]; in dib7000p_spur_protect()
1228 coef_im[k] = sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
1229 } else if (pha == 512) { in dib7000p_spur_protect()
1232 } else if (pha < 768) { in dib7000p_spur_protect()
1233 coef_re[k] = -sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
1234 coef_im[k] = -sine[pha & 0xff]; in dib7000p_spur_protect()
1235 } else if (pha == 768) { in dib7000p_spur_protect()
1239 coef_re[k] = sine[pha & 0xff]; in dib7000p_spur_protect()
1240 coef_im[k] = -sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()