• Home
  • Raw
  • Download

Lines Matching +full:class +full:- +full:d

36 	smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ;  in ev_init()
42 void queue_event(struct s_smc *smc, int class, int event) in queue_event() argument
44 PRINTF("queue class %d event %d\n",class,event) ; in queue_event()
45 smc->q.ev_put->class = class ; in queue_event()
46 smc->q.ev_put->event = event ; in queue_event()
47 if (++smc->q.ev_put == &smc->q.ev_queue[MAX_EVENT]) in queue_event()
48 smc->q.ev_put = smc->q.ev_queue ; in queue_event()
50 if (smc->q.ev_put == smc->q.ev_get) { in queue_event()
60 PRINTF("timer event class %d token %d\n", in timer_event()
76 int class ; in ev_dispatcher() local
78 ev = smc->q.ev_get ; in ev_dispatcher()
79 PRINTF("dispatch get %x put %x\n",ev,smc->q.ev_put) ; in ev_dispatcher()
80 while (ev != smc->q.ev_put) { in ev_dispatcher()
81 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; in ev_dispatcher()
82 switch(class = ev->class) { in ev_dispatcher()
84 ecm(smc,(int)ev->event) ; in ev_dispatcher()
87 cfm(smc,(int)ev->event) ; in ev_dispatcher()
90 rmt(smc,(int)ev->event) ; in ev_dispatcher()
93 smt_event(smc,(int)ev->event) ; in ev_dispatcher()
97 timer_test_event(smc,(int)ev->event) ; in ev_dispatcher()
103 if (class >= EVENT_PCMA && in ev_dispatcher()
104 class < EVENT_PCMA + NUMPHYS) { in ev_dispatcher()
105 pcm(smc,class - EVENT_PCMA,(int)ev->event) ; in ev_dispatcher()
112 if (++ev == &smc->q.ev_queue[MAX_EVENT]) in ev_dispatcher()
113 ev = smc->q.ev_queue ; in ev_dispatcher()
116 smc->q.ev_get = ev; in ev_dispatcher()
131 return smc->mib.fddiSMTCF_State; in smt_online()
149 deb = &smc->debug; in do_smt_flag()
154 deb->d_smt = value ; in do_smt_flag()
156 deb->d_smtf = value ; in do_smt_flag()
158 deb->d_pcm = value ; in do_smt_flag()
160 deb->d_rmt = value ; in do_smt_flag()
162 deb->d_cfm = value ; in do_smt_flag()
164 deb->d_ecm = value ; in do_smt_flag()
165 printf("smt %d\n",deb->d_smt) ; in do_smt_flag()
166 printf("smtf %d\n",deb->d_smtf) ; in do_smt_flag()
167 printf("pcm %d\n",deb->d_pcm) ; in do_smt_flag()
168 printf("rmt %d\n",deb->d_rmt) ; in do_smt_flag()
169 printf("cfm %d\n",deb->d_cfm) ; in do_smt_flag()
170 printf("ecm %d\n",deb->d_ecm) ; in do_smt_flag()