Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm.h46 struct sm_state { struct
116 void (*modulator_u8)(struct sm_state *, unsigned char *, unsigned int); argument
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 *, struct ifreq *,
[all …]
Dsmdma.h55 static inline unsigned int dma_setup(struct sm_state *sm, int send, unsigned int dmanr) in dma_setup()
82 static inline unsigned int dma_ptr(struct sm_state *sm, int send, unsigned int dmanr, in dma_ptr()
123 static inline int dma_end_transmit(struct sm_state *sm, unsigned int curfrag) in dma_end_transmit()
140 static inline void dma_transmit(struct sm_state *sm) in dma_transmit()
158 static inline void dma_init_transmit(struct sm_state *sm) in dma_init_transmit()
164 static inline void dma_start_transmit(struct sm_state *sm) in dma_start_transmit()
177 static inline void dma_clear_transmit(struct sm_state *sm) in dma_clear_transmit()
185 static inline void dma_receive(struct sm_state *sm, unsigned int curfrag) in dma_receive()
208 static inline void dma_init_receive(struct sm_state *sm) in dma_init_receive()
Dsm.c262 void sm_output_status(struct sm_state *sm) in sm_output_status()
282 static void sm_output_open(struct sm_state *sm, const char *ifname) in sm_output_open()
348 static void sm_output_close(struct sm_state *sm) in sm_output_close()
381 struct sm_state *sm; in sm_open()
385 ((struct sm_state *)dev->priv)->hdrv.magic != HDLCDRV_MAGIC) { in sm_open()
389 sm = (struct sm_state *)dev->priv; in sm_open()
409 struct sm_state *sm; in sm_close()
413 ((struct sm_state *)dev->priv)->hdrv.magic != HDLCDRV_MAGIC) { in sm_close()
417 sm = (struct sm_state *)dev->priv; in sm_close()
431 static int sethw(struct net_device *dev, struct sm_state *sm, char *mode) in sethw()
[all …]
Dsm_hapn4800.c64 static void modulator_hapn4800_10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_hapn4800_10_u8()
87 static void modulator_hapn4800_10_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_hapn4800_10_s16()
110 static void modulator_hapn4800_8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_hapn4800_8_u8()
132 static void modulator_hapn4800_8_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_hapn4800_8_s16()
154 static void modulator_hapn4800_pm10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_hapn4800_pm10_u8()
177 static void modulator_hapn4800_pm10_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_hapn4800_pm10_s16()
200 static void modulator_hapn4800_pm8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_hapn4800_pm8_u8()
222 static void modulator_hapn4800_pm8_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_hapn4800_pm8_s16()
244 static void demodulator_hapn4800_10_u8(struct sm_state *sm, const unsigned char *buf, unsigned int … in demodulator_hapn4800_10_u8()
309 static void demodulator_hapn4800_10_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_hapn4800_10_s16()
[all …]
Dsm_fsk9600.c67 static void modulator_9600_4_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_9600_4_u8()
92 static void modulator_9600_4_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_9600_4_s16()
117 static void demodulator_9600_4_u8(struct sm_state *sm, const unsigned char *buf, unsigned int bufle… in demodulator_9600_4_u8()
165 static void demodulator_9600_4_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_9600_4_s16()
213 static void modulator_9600_5_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_9600_5_u8()
238 static void modulator_9600_5_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_9600_5_s16()
263 static void demodulator_9600_5_u8(struct sm_state *sm, const unsigned char *buf, unsigned int bufle… in demodulator_9600_5_u8()
311 static void demodulator_9600_5_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_9600_5_s16()
359 static void demod_init_9600(struct sm_state *sm) in demod_init_9600()
Dsm_sbc.c159 static int config_resources(struct net_device *dev, struct sm_state *sm, int fdx) in config_resources()
254 static void setup_dma_dsp(struct net_device *dev, struct sm_state *sm, int send) in setup_dma_dsp()
298 struct sm_state *sm = (struct sm_state *)dev->priv; in sbc_interrupt()
338 static int sbc_open(struct net_device *dev, struct sm_state *sm) in sbc_open()
423 static int sbc_close(struct net_device *dev, struct sm_state *sm) in sbc_close()
441 static int sbc_sethw(struct net_device *dev, struct sm_state *sm, char *mode) in sbc_sethw()
498 static int sbc_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, in sbc_ioctl()
593 static void setup_dma_fdx_dsp(struct net_device *dev, struct sm_state *sm) in setup_dma_fdx_dsp()
659 struct sm_state *sm = (struct sm_state *)dev->priv; in sbcfdx_interrupt()
721 static int sbcfdx_open(struct net_device *dev, struct sm_state *sm) in sbcfdx_open()
[all …]
Dsm_afsk2666.c69 static void modulator_2666_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_2666_u8()
93 static void modulator_2666_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_2666_s16()
227 static void demod_one_sample(struct sm_state *sm, struct demod_state_afsk26 *st, int curval, in demod_one_sample()
296 static void demodulator_2666_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) in demodulator_2666_u8()
316 static void demodulator_2666_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_2666_s16()
336 static void demod_init_2666(struct sm_state *sm) in demod_init_2666()
Dsm_wss.c127 static int wss_set_codec_fmt(struct net_device *dev, struct sm_state *sm, unsigned char fmt, in wss_set_codec_fmt()
177 static int wss_init_codec(struct net_device *dev, struct sm_state *sm, char fdx, in wss_init_codec()
316 static void setup_dma_wss(struct net_device *dev, struct sm_state *sm, int send) in setup_dma_wss()
359 struct sm_state *sm = (struct sm_state *)dev->priv; in wss_interrupt()
401 static int wss_open(struct net_device *dev, struct sm_state *sm) in wss_open()
459 static int wss_close(struct net_device *dev, struct sm_state *sm) in wss_close()
477 static int wss_sethw(struct net_device *dev, struct sm_state *sm, char *mode) in wss_sethw()
575 static int wss_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, in wss_ioctl()
640 static void setup_fdx_dma_wss(struct net_device *dev, struct sm_state *sm) in setup_fdx_dma_wss()
679 struct sm_state *sm = (struct sm_state *)dev->priv; in wssfdx_interrupt()
[all …]
Dsm_afsk1200.c58 static void modulator_1200_u8(struct sm_state *sm, unsigned char *buf, in modulator_1200_u8()
78 static void modulator_1200_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_1200_s16()
153 static void demodulator_1200_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) in demodulator_1200_u8()
202 static void demodulator_1200_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_1200_s16()
251 static void demod_init_1200(struct sm_state *sm) in demod_init_1200()
Dsm_afsk2400_7.c65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_2400_u8()
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_2400_s16()
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) in demodulator_2400_u8()
224 static void demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_2400_s16()
275 static void demod_init_2400(struct sm_state *sm) in demod_init_2400()
Dsm_afsk2400_8.c65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_2400_u8()
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_2400_s16()
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) in demodulator_2400_u8()
224 static void demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_2400_s16()
275 static void demod_init_2400(struct sm_state *sm) in demod_init_2400()
Dsm_psk4800.c94 static void modulator_4800_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) in modulator_4800_u8()
131 static void modulator_4800_s16(struct sm_state *sm, short *buf, unsigned int buflen) in modulator_4800_s16()
208 static void demod_psk48_baseband(struct sm_state *sm, struct demod_state_psk48 *st, in demod_psk48_baseband()
319 static void demodulator_4800_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) in demodulator_4800_u8()
354 static void demodulator_4800_s16(struct sm_state *sm, const short *buf, unsigned int buflen) in demodulator_4800_s16()
387 static void mod_init_4800(struct sm_state *sm) in mod_init_4800()
396 static void demod_init_4800(struct sm_state *sm) in demod_init_4800()