Lines Matching refs:int16_t
56 const int16_t *coeffs;
57 int16_t *history;
69 int16_t *history;
83 static inline const int16_t *fir16_create(struct fir16_state_t *fir, in fir16_create()
84 const int16_t *coeffs, int taps) in fir16_create()
89 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
95 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
103 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) in fir16()
122 return (int16_t) (y >> 15); in fir16()
125 static inline const int16_t *fir32_create(struct fir32_state_t *fir, in fir32_create()
131 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir32_create()
137 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir32_flush()
145 static inline int16_t fir32(struct fir32_state_t *fir, int16_t sample) in fir32()
163 return (int16_t) (y >> 15); in fir32()