Lines Matching refs:int16_t
44 const int16_t *coeffs;
45 int16_t *history;
57 int16_t *history;
71 static inline const int16_t *fir16_create(struct fir16_state_t *fir, in fir16_create()
72 const int16_t *coeffs, int taps) in fir16_create()
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
83 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
91 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) in fir16()
110 return (int16_t) (y >> 15); in fir16()
113 static inline const int16_t *fir32_create(struct fir32_state_t *fir, in fir32_create()
119 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir32_create()
125 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir32_flush()
133 static inline int16_t fir32(struct fir32_state_t *fir, int16_t sample) in fir32()
151 return (int16_t) (y >> 15); in fir32()