@@ -34,7 +34,7 @@ void fir_reset(struct fir_state_32x16 *fir)
3434 * reset so omitting setting also fir->delay to NULL.
3535 */
3636}
37- EXPORT_SYMBOL (fir_reset );
37+ LL_EXTENSION_SYMBOL (fir_reset );
3838
3939int fir_delay_size (struct sof_fir_coef_data * config )
4040{
@@ -51,7 +51,7 @@ int fir_delay_size(struct sof_fir_coef_data *config)
5151 */
5252 return (config -> length + 4 ) * sizeof (int32_t );
5353}
54- EXPORT_SYMBOL (fir_delay_size );
54+ LL_EXTENSION_SYMBOL (fir_delay_size );
5555
5656int fir_init_coef (struct fir_state_32x16 * fir ,
5757 struct sof_fir_coef_data * config )
@@ -63,14 +63,14 @@ int fir_init_coef(struct fir_state_32x16 *fir,
6363 fir -> coef = ASSUME_ALIGNED (& config -> coef [0 ], 4 );
6464 return 0 ;
6565}
66- EXPORT_SYMBOL (fir_init_coef );
66+ LL_EXTENSION_SYMBOL (fir_init_coef );
6767
6868void fir_init_delay (struct fir_state_32x16 * fir , int32_t * * data )
6969{
7070 fir -> delay = * data ;
7171 * data += fir -> length ; /* Point to next delay line start */
7272}
73- EXPORT_SYMBOL (fir_init_delay );
73+ LL_EXTENSION_SYMBOL (fir_init_delay );
7474
7575int32_t fir_32x16 (struct fir_state_32x16 * fir , int32_t x )
7676{
@@ -118,6 +118,7 @@ int32_t fir_32x16(struct fir_state_32x16 *fir, int32_t x)
118118 /* Q2.46 -> Q2.31, saturate to Q1.31 */
119119 return sat_int32 (y >> shift );
120120}
121+ LL_EXTENSION_SYMBOL (fir_32x16 );
121122
122123void fir_32x16_2x (struct fir_state_32x16 * fir , int32_t x0 , int32_t x1 , int32_t * y0 , int32_t * y1 )
123124{
@@ -184,5 +185,24 @@ void fir_32x16_2x(struct fir_state_32x16 *fir, int32_t x0, int32_t x1, int32_t *
184185 * y0 = sat_int32 (a0 >> shift );
185186 * y1 = sat_int32 (a1 >> shift );
186187}
188+ LL_EXTENSION_SYMBOL (fir_32x16_2x );
189+
190+ #if CONFIG_MATH_FIR_MODULE
191+ /* modular: llext dynamic link */
192+
193+ #include <module/module/api_ver.h>
194+ #include <module/module/llext.h>
195+ #include <rimage/sof/user/manifest.h>
196+
197+ /* 93446e12-1864-4e04-afe0-3b1d778ffb79 */
198+ #define UUID_FIR 0x12, 0x6e, 0x44, 0x93, 0x64, 0x18, 0x04, 0x4e, \
199+ 0xaf, 0xe0, 0x3b, 0x1d, 0x77, 0x8f, 0xfb, 0x79
200+
201+ static const struct sof_man_module_manifest mod_manifest __section (".module" ) __used =
202+ SOF_LLEXT_AUX_MANIFEST ("FIR" , NULL , UUID_FIR );
203+
204+ SOF_LLEXT_BUILDINFO ;
205+
206+ #endif
187207
188208#endif
0 commit comments