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,
72 const int16_t *coeffs, int taps)
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL);
83 memset(fir->history, 0, fir->taps * sizeof(int16_t));
91 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample)
110 return (int16_t) (y >> 15);
113 static inline const int16_t *fir32_create(struct fir32_state_t *fir,
119 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL);
125 memset(fir->history, 0, fir->taps * sizeof(int16_t));
133 static inline int16_t fir32(struct fir32_state_t *fir, int16_t sample)
151 return (int16_t) (y >> 15);