Lines Matching refs:history
45 int16_t *history; member
57 int16_t *history; member
68 float *history; member
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
78 return fir->history; in fir16_create()
83 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
88 kfree(fir->history); in fir16_free()
98 fir->history[fir->curr_pos] = sample; in fir16()
104 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16()
106 y += fir->coeffs[i] * fir->history[i + offset2]; in fir16()
119 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir32_create()
120 return fir->history; in fir32_create()
125 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir32_flush()
130 kfree(fir->history); in fir32_free()
140 fir->history[fir->curr_pos] = sample; in fir32()
145 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32()
147 y += fir->coeffs[i] * fir->history[i + offset2]; in fir32()