Lines Matching +full:3 +full:k
20 * 2 * cos(2 * PI * k / N) precalculated for all k
24 /* k << 15 (source: hfc-4s/8s documentation (www.colognechip.de)) */
31 {'1', '2', '3', 'A'},
124 int k, n, i; in dsp_dtmf_goertzel_decode() local
158 for (k = 0; k < NCOEFF; k++) { in dsp_dtmf_goertzel_decode()
165 /* compute |X(k)|**2 */ in dsp_dtmf_goertzel_decode()
166 result[k] = in dsp_dtmf_goertzel_decode()
168 (((cos2pik[k] * sk) >> 15) * sk2) + in dsp_dtmf_goertzel_decode()
184 for (k = 0; k < NCOEFF; k++) { in dsp_dtmf_goertzel_decode()
189 cos2pik_ = cos2pik[k]; in dsp_dtmf_goertzel_decode()
199 /* compute |X(k)|**2 */ in dsp_dtmf_goertzel_decode()
200 result[k] = in dsp_dtmf_goertzel_decode()
202 (((cos2pik[k] * sk) >> 15) * sk2) + in dsp_dtmf_goertzel_decode()
234 printk(KERN_DEBUG "a %3d %3d %3d %3d %3d %3d %3d %3d" in dsp_dtmf_goertzel_decode()
235 " tr:%3d r %3d %3d %3d %3d %3d %3d %3d %3d\n", in dsp_dtmf_goertzel_decode()
237 result[3] / 10000, result[4] / 10000, result[5] / 10000, in dsp_dtmf_goertzel_decode()
240 result[2] / (tresh_100), result[3] / (tresh_100), in dsp_dtmf_goertzel_decode()
248 treshl = tresh >> 3; /* tones which are not on, must be below 9 dB */ in dsp_dtmf_goertzel_decode()
290 /* the tone (or no tone) must remain 3 times without change */ in dsp_dtmf_goertzel_decode()