Lines Matching defs:state
5 * Description: IrCOMM layer state machine
80 static int (*state[])(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);
239 * Function ircomm_next_state (self, state)
241 * Switch state
244 void ircomm_next_state(struct ircomm_cb *self, IRCOMM_STATE state)
246 self->state = state;
248 IRDA_DEBUG(4, "%s: next state=%s, service type=%d\n", __func__ ,
249 ircomm_state[self->state], self->service_type);