Searched refs:sm_state (Results 1 - 12 of 12) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/hamradio/soundmodem/
H A Dsm.h46 struct sm_state { struct
116 void (*modulator_u8)(struct sm_state *, unsigned char *, unsigned int);
117 void (*modulator_s16)(struct sm_state *, short *, unsigned int);
118 void (*init)(struct sm_state *);
128 void (*demodulator_u8)(struct sm_state *, const unsigned char *, unsigned int);
129 void (*demodulator_s16)(struct sm_state *, const short *, unsigned int);
130 void (*init)(struct sm_state *);
144 int (*open)(struct net_device *, struct sm_state *);
145 int (*close)(struct net_device *, struct sm_state *);
146 int (*ioctl)(struct net_device *, struct sm_state *, struc
[all...]
H A Dsmdma.h55 static inline unsigned int dma_setup(struct sm_state *sm, int send, unsigned int dmanr)
82 static inline unsigned int dma_ptr(struct sm_state *sm, int send, unsigned int dmanr,
123 static inline int dma_end_transmit(struct sm_state *sm, unsigned int curfrag)
140 static inline void dma_transmit(struct sm_state *sm)
158 static inline void dma_init_transmit(struct sm_state *sm)
164 static inline void dma_start_transmit(struct sm_state *sm)
177 static inline void dma_clear_transmit(struct sm_state *sm)
185 static inline void dma_receive(struct sm_state *sm, unsigned int curfrag)
208 static inline void dma_init_receive(struct sm_state *sm)
H A Dsm_hapn4800.c64 static void modulator_hapn4800_10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
87 static void modulator_hapn4800_10_s16(struct sm_state *sm, short *buf, unsigned int buflen)
110 static void modulator_hapn4800_8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
132 static void modulator_hapn4800_8_s16(struct sm_state *sm, short *buf, unsigned int buflen)
154 static void modulator_hapn4800_pm10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
177 static void modulator_hapn4800_pm10_s16(struct sm_state *sm, short *buf, unsigned int buflen)
200 static void modulator_hapn4800_pm8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
222 static void modulator_hapn4800_pm8_s16(struct sm_state *sm, short *buf, unsigned int buflen)
244 static void demodulator_hapn4800_10_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
309 static void demodulator_hapn4800_10_s16(struct sm_state *s
[all...]
H A Dsm_fsk9600.c67 static void modulator_9600_4_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
92 static void modulator_9600_4_s16(struct sm_state *sm, short *buf, unsigned int buflen)
117 static void demodulator_9600_4_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
165 static void demodulator_9600_4_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
213 static void modulator_9600_5_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
238 static void modulator_9600_5_s16(struct sm_state *sm, short *buf, unsigned int buflen)
263 static void demodulator_9600_5_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
311 static void demodulator_9600_5_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
359 static void demod_init_9600(struct sm_state *sm)
H A Dsm_afsk1200.c58 static void modulator_1200_u8(struct sm_state *sm, unsigned char *buf,
78 static void modulator_1200_s16(struct sm_state *sm, short *buf, unsigned int buflen)
153 static void demodulator_1200_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
202 static void demodulator_1200_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
251 static void demod_init_1200(struct sm_state *sm)
H A Dsm_afsk2666.c69 static void modulator_2666_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
93 static void modulator_2666_s16(struct sm_state *sm, short *buf, unsigned int buflen)
182 static void demod_one_sample(struct sm_state *sm, struct demod_state_afsk26 *st, int curval,
251 static void demodulator_2666_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
271 static void demodulator_2666_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
291 static void demod_init_2666(struct sm_state *sm)
H A Dsm.c262 void sm_output_status(struct sm_state *sm)
282 static void sm_output_open(struct sm_state *sm, const char *ifname)
348 static void sm_output_close(struct sm_state *sm)
381 struct sm_state *sm;
385 ((struct sm_state *)dev->priv)->hdrv.magic != HDLCDRV_MAGIC) {
389 sm = (struct sm_state *)dev->priv;
409 struct sm_state *sm;
413 ((struct sm_state *)dev->priv)->hdrv.magic != HDLCDRV_MAGIC) {
417 sm = (struct sm_state *)dev->priv;
431 static int sethw(struct net_device *dev, struct sm_state *s
[all...]
H A Dsm_wss.c127 static int wss_set_codec_fmt(struct net_device *dev, struct sm_state *sm, unsigned char fmt,
177 static int wss_init_codec(struct net_device *dev, struct sm_state *sm, char fdx,
316 static void setup_dma_wss(struct net_device *dev, struct sm_state *sm, int send)
359 struct sm_state *sm = (struct sm_state *)dev->priv;
401 static int wss_open(struct net_device *dev, struct sm_state *sm)
459 static int wss_close(struct net_device *dev, struct sm_state *sm)
477 static int wss_sethw(struct net_device *dev, struct sm_state *sm, char *mode)
575 static int wss_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr,
640 static void setup_fdx_dma_wss(struct net_device *dev, struct sm_state *s
[all...]
H A Dsm_psk4800.c94 static void modulator_4800_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
131 static void modulator_4800_s16(struct sm_state *sm, short *buf, unsigned int buflen)
208 static void demod_psk48_baseband(struct sm_state *sm, struct demod_state_psk48 *st,
280 static void demodulator_4800_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
315 static void demodulator_4800_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
348 static void mod_init_4800(struct sm_state *sm)
357 static void demod_init_4800(struct sm_state *sm)
H A Dsm_afsk2400_7.c65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen)
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
224 static void demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
275 static void demod_init_2400(struct sm_state *sm)
H A Dsm_afsk2400_8.c65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen)
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen)
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen)
224 static void demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen)
275 static void demod_init_2400(struct sm_state *sm)
H A Dsm_sbc.c159 static int config_resources(struct net_device *dev, struct sm_state *sm, int fdx)
254 static void setup_dma_dsp(struct net_device *dev, struct sm_state *sm, int send)
298 struct sm_state *sm = (struct sm_state *)dev->priv;
338 static int sbc_open(struct net_device *dev, struct sm_state *sm)
423 static int sbc_close(struct net_device *dev, struct sm_state *sm)
441 static int sbc_sethw(struct net_device *dev, struct sm_state *sm, char *mode)
498 static int sbc_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr,
593 static void setup_dma_fdx_dsp(struct net_device *dev, struct sm_state *sm)
659 struct sm_state *s
[all...]

Completed in 101 milliseconds