Lines Matching refs:code
44 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index);
49 u_char code ; member
89 evc->evc_code = init->code ; in smt_init_evc()
161 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) in smt_get_evc() argument
167 if (evc->evc_code == code && evc->evc_index == index) in smt_get_evc()
187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument
196 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event()
200 if (code) { in smt_srf_event()
201 DB_SMT("SRF: %s index %d\n",srf_names[code],index) ; in smt_srf_event()
203 if (!(evc = smt_get_evc(smc,code,index))) { in smt_srf_event()
210 if (SMT_IS_CONDITION(code)) { in smt_srf_event()
219 if (SMT_IS_CONDITION(code)) { in smt_srf_event()