Lines Matching refs:pha
1216 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()
1242 } else if (pha == 512) { in dib7000p_spur_protect()
1245 } else if (pha < 768) { in dib7000p_spur_protect()
1246 coef_re[k] = -sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()
1247 coef_im[k] = -sine[pha & 0xff]; in dib7000p_spur_protect()
1248 } else if (pha == 768) { in dib7000p_spur_protect()
1252 coef_re[k] = sine[pha & 0xff]; in dib7000p_spur_protect()
1253 coef_im[k] = -sine[256 - (pha & 0xff)]; in dib7000p_spur_protect()