1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __mISDNdsp_H__ 3 #define __mISDNdsp_H__ 4 5 struct mISDN_dsp_element_arg { 6 char *name; 7 char *def; 8 char *desc; 9 }; 10 11 struct mISDN_dsp_element { 12 char *name; 13 void *(*new)(const char *arg); 14 void (*free)(void *p); 15 void (*process_tx)(void *p, unsigne 16 void (*process_rx)(void *p, unsigne 17 unsigned int txlen); 18 int num_args; 19 struct mISDN_dsp_element_arg 20 *args; 21 }; 22 23 extern int mISDN_dsp_element_register(struct 24 extern void mISDN_dsp_element_unregister(struc 25 26 struct dsp_features { 27 int hfc_id; /* unique id to identi 28 int hfc_dtmf; /* set if HFCmulti c 29 int hfc_conf; /* set if HFCmulti c 30 int hfc_loops; /* set if card supp 31 int hfc_echocanhw; /* set if card 32 int pcm_id; /* unique id to identi 33 int pcm_slots; /* number of slots 34 int pcm_banks; /* number of IO ban 35 int unclocked; /* data is not cloc 36 int unordered; /* data is unordere 37 }; 38 39 #endif 40 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.