Lines Matching refs:event

43 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
45 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
47 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
49 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
80 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event,
90 * Function ircomm_state_idle (self, event, skb)
95 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
100 switch (event) {
111 IRDA_DEBUG(4, "%s(), unknown event: %s\n", __func__ ,
112 ircomm_event[event]);
119 * Function ircomm_state_waiti (self, event, skb)
124 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
129 switch (event) {
141 IRDA_DEBUG(0, "%s(), unknown event: %s\n", __func__ ,
142 ircomm_event[event]);
149 * Function ircomm_state_waitr (self, event, skb)
154 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
159 switch (event) {
174 IRDA_DEBUG(0, "%s(), unknown event = %s\n", __func__ ,
175 ircomm_event[event]);
182 * Function ircomm_state_conn (self, event, skb)
187 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
192 switch (event) {
216 IRDA_DEBUG(0, "%s(), unknown event = %s\n", __func__ ,
217 ircomm_event[event]);
224 * Function ircomm_do_event (self, event, skb)
226 * Process event
229 int ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event,
232 IRDA_DEBUG(4, "%s: state=%s, event=%s\n", __func__ ,
233 ircomm_state[self->state], ircomm_event[event]);
235 return (*state[self->state])(self, event, skb, info);