Lines Matching refs:taps
62 int taps;
74 int taps;
85 int taps;
92 const int16_t *coeffs, int taps)
94 fir->taps = taps;
95 fir->curr_pos = taps - 1;
98 fir->history = kcalloc(2 * taps, sizeof(int16_t), GFP_KERNEL);
100 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL);
108 memset(fir->history, 0, 2 * fir->taps * sizeof(int16_t));
110 memset(fir->history, 0, fir->taps * sizeof(int16_t));
151 fir->history[fir->curr_pos + fir->taps] = sample;
153 fir->taps);
162 offset1 = fir->taps - offset2;
164 for (i = fir->taps - 1; i >= offset1; i--)
170 fir->curr_pos = fir->taps;
176 const int32_t *coeffs, int taps)
178 fir->taps = taps;
179 fir->curr_pos = taps - 1;
181 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL);
187 memset(fir->history, 0, fir->taps * sizeof(int16_t));
204 offset1 = fir->taps - offset2;
206 for (i = fir->taps - 1; i >= offset1; i--)
211 fir->curr_pos = fir->taps;