• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/irda/

Lines Matching defs:state

5  * Description:   IrLAP state machine implementation
142 static int (*state[])(struct irlap_cb *self, IRLAP_EVENT event,
181 * Make sure that state is XMIT_P/XMIT_S when calling this function
182 * (and that nobody messed up with the state). - Jean II
230 * Rushes through the state machine without any delay. If state == XMIT
241 IRDA_DEBUG(3, "%s(), event = %s, state = %s\n", __func__,
242 irlap_event[event], irlap_state[self->state]);
244 ret = (*state[self->state])(self, event, skb, info);
249 switch (self->state) {
257 * that will change the state away form XMIT
284 ret = (*state[self->state])(self, SEND_I_CMD,
303 ret = (*state[self->state])(self, DISCONNECT_REQUEST,
319 * NDM (Normal Disconnected Mode) state
342 /* Always switch state before calling upper layers */
416 * Go to reply state until end of discovery to
427 * in QUERY state (see my comment there), except for the
450 * or while we are doing discovery (state query/reply).
453 * This event is not mentioned in the state machines in the
463 ret = (*state[self->state])(self, SEND_UI_FRAME,
472 /* This one *should* not pend in this state, except
478 ret = (*state[self->state])(self,
551 * QUERY state
580 /* Keep state */
587 * occur here but in NDM state (see my comment there).
591 * to change state either. We just pass the info to
627 /* Keep state */
635 /* Always switch state before calling upper layers */
690 /* Always switch state before calling upper layers */
712 /* Keep state */
801 * SETUP state, The local layer has transmitted a SNRM command frame to
827 /* Always switch state before calling upper layers */
880 /* Initiate connection state */
938 * OFFLINE state, not used for now!
1012 * We should switch state to LAP_NRM_P, but
1049 * Make sure state machine does not try to send
1109 * PCLOSE state
1129 /* Always switch state before calling upper layers */
1140 /* Keep state */
1144 /* Always switch state before calling upper layers */
1187 /* Keep state */
1224 /* Keep state, do not move this line */
1234 /* Call higher layer *before* changing state
1240 /* XMIT states are the most dangerous state
1242 * processed directly and may change state.
1251 * Make sure it's always called in XMIT state.
1269 /* Keep state */
1311 /* Keep state, do not move this line */
1329 /* Keep state, do not move this line!*/
1353 /* Keep state, do not move this line */
1397 IRDA_DEBUG(1, "%s: RECV_UI_FRAME: next state %s\n", __func__, irlap_state[self->state]);
1529 /* Keep state */
1533 /* Always switch state before calling upper layers */
1561 /* Call back the LAP state machine to do a proper disconnect */
1644 /* Always switch state before calling upper layers */
1653 /* Initiate connection state */
1679 /* Always switch state before calling upper layers */
1688 * state
1803 * Make sure state machine does not try to send
1837 * NRM_S (Normal Response Mode as Secondary) state, in this state we are
1886 /* Keep state, do not move this line */
1895 * state. (note 1, IrLAP p. 82)
1921 /* Keep the state */
1965 /* Keep state, do not move this line */
1982 /* Keep state, do not move this line */
2004 irlap_next_state(self, LAP_NRM_S); /* Keep state */
2027 /* Keep the state */
2081 /* Keep state */
2145 /* Always switch state before calling upper layers */
2151 /* Always switch state before calling upper layers */
2208 /* Always switch state before calling upper layers */
2223 * shall take us down into default NDM state, like DM_RSP
2230 /* Always switch state before calling upper layers */
2239 /* Always switch state before calling upper layers */