Searched refs:sm (Results 1 - 25 of 43) sorted by path

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/
H A DMakefile56 BOOT_TARGETS = vmlinux.sminitrd vmlinux.initrd vmlinux.sm
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/boot/
H A DMakefile54 all: vmlinux.sm
69 vmlinux.sm: $(TOPDIR)/vmlinux addSystemMap
70 ./addSystemMap $(TOPDIR)/System.map $(TOPDIR)/vmlinux vmlinux.sm
79 vmlinux.sminitrd: vmlinux.sm addRamDisk ramdisk.image.gz $(TOPDIR)/System.map
80 ./addRamDisk ramdisk.image.gz $(TOPDIR)/System.map vmlinux.sm vmlinux.sminitrd
117 vmlinux.{sm,initrd} zImage{,.initrd} imagesize.c \
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dswim_iop.c252 struct swimmsg_status *sm; local
265 sm = (struct swimmsg_status *) &msg->message[0];
266 ds = &sm->status;
267 swimiop_status_update(sm->drive_num, ds);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/hamradio/
H A Dhdlcdrv.c476 struct hdlcdrv_state *sm; local
480 sm = (struct hdlcdrv_state *)dev->priv;
482 do_kiss_params(sm, skb->data, skb->len);
486 if (sm->skb)
489 sm->skb = skb;
508 struct hdlcdrv_state *sm; local
512 sm = (struct hdlcdrv_state *)dev->priv;
517 return &sm->stats;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/hamradio/soundmodem/
H A DMakefile14 obj-y := sm.o
H A Dsm.c4 * sm.c -- soundcard radio modem driver.
63 #include "sm.h"
262 void sm_output_status(struct sm_state *sm) argument
267 int ptt = /*hdlcdrv_ptt(&sm->hdrv)*/(sm->dma.ptt_cnt > 0) ^ invert_ptt;
268 int dcd = (!!sm->hdrv.hdlcrx.dcd) ^ invert_dcd;
270 if (sm->hdrv.ptt_out.flags & SP_SER) {
271 outb(dcd | (ptt << 1), UART_MCR(sm->hdrv.ptt_out.seriobase));
272 outb(0x40 & (-ptt), UART_LCR(sm->hdrv.ptt_out.seriobase));
274 if (sm
282 sm_output_open(struct sm_state *sm, const char *ifname) argument
348 sm_output_close(struct sm_state *sm) argument
381 struct sm_state *sm; local
409 struct sm_state *sm; local
431 sethw(struct net_device *dev, struct sm_state *sm, char *mode) argument
463 struct sm_state *sm; local
644 struct sm_state *sm; local
703 struct sm_state *sm = (struct sm_state *)dev->priv; local
[all...]
H A Dsm.h4 * sm.h -- soundcard radio modem driver internal header.
161 static inline void diag_trigger(struct sm_state *sm) argument
163 if (sm->diag.ptr < 0)
164 if (!(sm->diag.flags & SM_DIAGFLAG_DCDGATE) || sm->hdrv.hdlcrx.dcd)
165 sm->diag.ptr = 0;
173 static inline void diag_add(struct sm_state *sm, int valinp, int valdemod) argument
177 if ((sm->diag.mode != SM_DIAGMODE_INPUT &&
178 sm->diag.mode != SM_DIAGMODE_DEMOD) ||
179 sm
192 diag_add_one(struct sm_state *sm, int val) argument
208 diag_add_constellation(struct sm_state *sm, int vali, int valq) argument
333 sm_int_freq(struct sm_state *sm) argument
[all...]
H A Dsm_afsk1200.c28 #include "sm.h"
58 static void modulator_1200_u8(struct sm_state *sm, unsigned char *buf, argument
61 struct mod_state_afsk12 *st = (struct mod_state_afsk12 *)(&sm->m);
66 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
78 static void modulator_1200_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
80 struct mod_state_afsk12 *st = (struct mod_state_afsk12 *)(&sm->m);
85 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
153 static void demodulator_1200_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
155 struct demod_state_afsk12 *st = (struct demod_state_afsk12 *)(&sm->d);
174 hdlcdrv_channelbit(&sm
202 demodulator_1200_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
251 demod_init_1200(struct sm_state *sm) argument
[all...]
H A Dsm_afsk2400_7.c37 #include "sm.h"
65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
67 struct mod_state_afsk24 *st = (struct mod_state_afsk24 *)(&sm->m);
72 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
88 struct mod_state_afsk24 *st = (struct mod_state_afsk24 *)(&sm->m);
93 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
175 struct demod_state_afsk24 *st = (struct demod_state_afsk24 *)(&sm->d);
196 hdlcdrv_channelbit(&sm
224 demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
275 demod_init_2400(struct sm_state *sm) argument
[all...]
H A Dsm_afsk2400_8.c37 #include "sm.h"
65 static void modulator_2400_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
67 struct mod_state_afsk24 *st = (struct mod_state_afsk24 *)(&sm->m);
72 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
86 static void modulator_2400_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
88 struct mod_state_afsk24 *st = (struct mod_state_afsk24 *)(&sm->m);
93 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
173 static void demodulator_2400_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
175 struct demod_state_afsk24 *st = (struct demod_state_afsk24 *)(&sm->d);
196 hdlcdrv_channelbit(&sm
224 demodulator_2400_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
275 demod_init_2400(struct sm_state *sm) argument
[all...]
H A Dsm_afsk2666.c28 #include "sm.h"
69 static void modulator_2666_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
71 struct mod_state_afsk26 *st = (struct mod_state_afsk26 *)(&sm->m);
76 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
93 static void modulator_2666_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
95 struct mod_state_afsk26 *st = (struct mod_state_afsk26 *)(&sm->m);
100 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
182 static void demod_one_sample(struct sm_state *sm, struct demod_state_afsk26 *st, int curval, argument
212 diag_add(sm, curval, val);
224 hdlcdrv_channelbit(&sm
251 demodulator_2666_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
271 demodulator_2666_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
291 demod_init_2666(struct sm_state *sm) argument
[all...]
H A Dsm_fsk9600.c29 #include "sm.h"
67 static void modulator_9600_4_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
69 struct mod_state_fsk96 *st = (struct mod_state_fsk96 *)(&sm->m);
74 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
92 static void modulator_9600_4_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
94 struct mod_state_fsk96 *st = (struct mod_state_fsk96 *)(&sm->m);
99 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
117 static void demodulator_9600_4_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
119 struct demod_state_fsk96 *st = (struct demod_state_fsk96 *)(&sm->d);
135 hdlcdrv_channelbit(&sm
165 demodulator_9600_4_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
213 modulator_9600_5_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
238 modulator_9600_5_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
263 demodulator_9600_5_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
311 demodulator_9600_5_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
359 demod_init_9600(struct sm_state *sm) argument
[all...]
H A Dsm_hapn4800.c39 #include "sm.h"
64 static void modulator_hapn4800_10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
66 struct mod_state_hapn48 *st = (struct mod_state_hapn48 *)(&sm->m);
71 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
87 static void modulator_hapn4800_10_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
89 struct mod_state_hapn48 *st = (struct mod_state_hapn48 *)(&sm->m);
94 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
110 static void modulator_hapn4800_8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
112 struct mod_state_hapn48 *st = (struct mod_state_hapn48 *)(&sm->m);
117 st->shreg = hdlcdrv_getbits(&sm
132 modulator_hapn4800_8_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
154 modulator_hapn4800_pm10_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
177 modulator_hapn4800_pm10_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
200 modulator_hapn4800_pm8_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
222 modulator_hapn4800_pm8_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
244 demodulator_hapn4800_10_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
309 demodulator_hapn4800_10_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
374 demodulator_hapn4800_8_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
439 demodulator_hapn4800_8_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
504 demod_init_hapn4800(struct sm_state *sm) argument
[all...]
H A Dsm_psk4800.c28 #include "sm.h"
94 static void modulator_4800_u8(struct sm_state *sm, unsigned char *buf, unsigned int buflen) argument
96 struct mod_state_psk48 *st = (struct mod_state_psk48 *)(&sm->m);
106 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
131 static void modulator_4800_s16(struct sm_state *sm, short *buf, unsigned int buflen) argument
133 struct mod_state_psk48 *st = (struct mod_state_psk48 *)(&sm->m);
143 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000;
208 static void demod_psk48_baseband(struct sm_state *sm, struct demod_state_psk48 *st, argument
235 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + st->dcd_sum1 +
257 hdlcdrv_channelbit(&sm
280 demodulator_4800_u8(struct sm_state *sm, const unsigned char *buf, unsigned int buflen) argument
315 demodulator_4800_s16(struct sm_state *sm, const short *buf, unsigned int buflen) argument
348 mod_init_4800(struct sm_state *sm) argument
357 demod_init_4800(struct sm_state *sm) argument
[all...]
H A Dsm_sbc.c36 #include "sm.h"
60 #define SCSTATE ((struct sc_state_sbc *)(&sm->hw))
159 static int config_resources(struct net_device *dev, struct sm_state *sm, int fdx) argument
204 switch (sm->hdrv.ptt_out.dma2) {
254 static void setup_dma_dsp(struct net_device *dev, struct sm_state *sm, int send) argument
276 nsamps = dma_setup(sm, send, dev->dma) - 1;
298 struct sm_state *sm = (struct sm_state *)dev->priv; local
301 if (!dev || !sm || sm->hdrv.magic != HDLCDRV_MAGIC)
307 dma_ptr(sm, s
338 sbc_open(struct net_device *dev, struct sm_state *sm) argument
423 sbc_close(struct net_device *dev, struct sm_state *sm) argument
441 sbc_sethw(struct net_device *dev, struct sm_state *sm, char *mode) argument
498 sbc_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, struct hdlcdrv_ioctl *hi, int cmd) argument
593 setup_dma_fdx_dsp(struct net_device *dev, struct sm_state *sm) argument
659 struct sm_state *sm = (struct sm_state *)dev->priv; local
721 sbcfdx_open(struct net_device *dev, struct sm_state *sm) argument
804 sbcfdx_close(struct net_device *dev, struct sm_state *sm) argument
825 sbcfdx_sethw(struct net_device *dev, struct sm_state *sm, char *mode) argument
891 sbcfdx_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, struct hdlcdrv_ioctl *hi, int cmd) argument
[all...]
H A Dsm_wss.c35 #include "sm.h"
58 #define SCSTATE ((struct sc_state_wss *)(&sm->hw))
127 static int wss_set_codec_fmt(struct net_device *dev, struct sm_state *sm, unsigned char fmt, argument
177 static int wss_init_codec(struct net_device *dev, struct sm_state *sm, char fdx, argument
191 printk(KERN_WARNING "sm: WSS card id register not found, "
281 if (wss_set_codec_fmt(dev, sm, SCSTATE->fmt[0], SCSTATE->fmt[0], fdx, 1))
316 static void setup_dma_wss(struct net_device *dev, struct sm_state *sm, int send) argument
336 dma_setup(sm, oldcodecmode & 1, dev->dma);
342 wss_set_codec_fmt(dev, sm, fmt, fmt, 0, 0);
345 wss_set_codec_fmt(dev, sm, fm
359 struct sm_state *sm = (struct sm_state *)dev->priv; local
401 wss_open(struct net_device *dev, struct sm_state *sm) argument
459 wss_close(struct net_device *dev, struct sm_state *sm) argument
477 wss_sethw(struct net_device *dev, struct sm_state *sm, char *mode) argument
575 wss_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, struct hdlcdrv_ioctl *hi, int cmd) argument
640 setup_fdx_dma_wss(struct net_device *dev, struct sm_state *sm) argument
679 struct sm_state *sm = (struct sm_state *)dev->priv; local
756 wssfdx_open(struct net_device *dev, struct sm_state *sm) argument
815 wssfdx_close(struct net_device *dev, struct sm_state *sm) argument
836 wssfdx_sethw(struct net_device *dev, struct sm_state *sm, char *mode) argument
913 wssfdx_ioctl(struct net_device *dev, struct sm_state *sm, struct ifreq *ifr, struct hdlcdrv_ioctl *hi, int cmd) argument
[all...]
H A Dsmdma.h33 #include "sm.h"
55 static inline unsigned int dma_setup(struct sm_state *sm, int send, unsigned int dmanr) argument
61 set_dma_addr(dmanr, virt_to_bus(sm->dma.obuf));
62 set_dma_count(dmanr, sm->dma.ofragsz * NUM_FRAGMENTS);
64 if (sm->dma.o16bit)
65 return sm->dma.ofragsz/2;
66 return sm->dma.ofragsz;
71 set_dma_addr(dmanr, virt_to_bus(sm->dma.ibuf));
72 set_dma_count(dmanr, sm->dma.ifragsz * NUM_FRAGMENTS);
74 if (sm
82 dma_ptr(struct sm_state *sm, int send, unsigned int dmanr, unsigned int *curfrag) argument
123 dma_end_transmit(struct sm_state *sm, unsigned int curfrag) argument
140 dma_transmit(struct sm_state *sm) argument
158 dma_init_transmit(struct sm_state *sm) argument
164 dma_start_transmit(struct sm_state *sm) argument
177 dma_clear_transmit(struct sm_state *sm) argument
185 dma_receive(struct sm_state *sm, unsigned int curfrag) argument
208 dma_init_receive(struct sm_state *sm) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/skfp/
H A Dess.c123 int ess_raf_received_pack(smc,mb,sm,fs)
126 struct smt_header *sm ;
145 if (!(p = (void *) sm_to_para(smc,sm,SMT_P0015))) {
154 if (!(cmd = (struct smt_p_0016 *) sm_to_para(smc,sm,SMT_P0016))) {
162 DB_ESSN(2,"fc %x ft %x\n",sm->smt_class,sm->smt_type) ;
163 DB_ESSN(2,"ver %x tran %lx\n",sm->smt_version,sm->smt_tid) ;
164 DB_ESSN(2,"stn_id %s\n",addr_to_string(&sm->smt_source),0) ;
166 DB_ESSN(2,"infolen %x res %x\n",sm
[all...]
H A Dpmf.c291 struct smt_header *sm ; local
294 sm = smtod(mb,struct smt_header *) ;
295 DB_SMT("SMT: processing PMF frame at %x len %d\n",sm,mb->sm_len) ;
297 dump_smt(smc,sm,"PMF Received") ;
305 if (sm->smt_class == SMT_PMF_GET ||
306 sm->smt_class == SMT_PMF_SET) {
307 reply = smt_build_pmf_response(smc,sm,
308 sm->smt_class == SMT_PMF_SET,local) ;
310 sm = smtod(reply,struct smt_header *) ;
312 dump_smt(smc,sm,"PM
[all...]
H A Dsmt.c165 smc->sm.smt_tid = 0 ;
173 smc->sm.pend[i] = 0 ;
174 smc->sm.please_reconnect = 0 ;
175 smc->sm.uniq_ticks = 0 ;
189 smt_timer_start(smc,&smc->sm.smt_timer, (u_long)1000000L,
209 smc->sm.please_reconnect = reconn_time ;
222 count = ((time - smc->sm.last_tok_time[mac_index]) *
236 smc->sm.last_tok_time[mac_index] = time;
252 if (smc->sm.please_reconnect) {
253 smc->sm
483 struct smt_header *sm ; local
845 struct smt_header *sm ; local
872 struct smt_header *sm ; /* header of offending frame */ local
[all...]
H A Dsmtdef.c103 smc->sm.last_tok_time[i] = smt_boot_time ;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/skfp/h/
H A Dcmtdef.h507 struct smt_header *sm,
686 #define dump_smt(smc,sm,text)
H A Dsba.h102 struct smt_header *sm ; /* points to the rec message */ member in struct:s_sba
H A Dsmc.h443 struct smt_values sm ; /* smt variables */ member in struct:s_smc
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Deata_dma_proc.c79 scsimod *sm; local
109 sm = (scsimod *) (buff + 0x16c);

Completed in 307 milliseconds

12