• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/AppleUSBIrDA-145.2.4/

Lines Matching refs:fState

175     fState = kIrDACommStateStart;
255 if (fState != kIrDACommStateStopped) { // if not already stopped
267 XTRACE(kLogStop1, i, fState);
268 if (fState == kIrDACommStateStopped && // if ircomm is stopped and the irlap link is down
273 check(fState == kIrDACommStateStopped); // this will fail if in broken-beam, just debugging
280 fState = kIrDACommStateStopped; // it's really stopped now, regardless of above
334 XTRACE(kLogWrite, fState, length);
338 if (fState == kIrDACommStateConnected && fIrComm && fGate) {
385 if (fState == kIrDACommStateConnected && fIrComm && fGate) {
459 XTRACE(kLogStateChange, event, fState);
464 switch (fState) {
478 fState = kIrDACommStateConnected;
485 fState = kIrDACommStateIdle; // could listen here, but main timer is about to fire soon
490 fState = kIrDACommStateStopped; // then we're done w/out doing anything
492 fState = kIrDACommStateStopping2; // wait for two callbacks
503 fState = kIrDACommStateConnecting;
508 DebugLog("logic error event=%d, state=%d", event, fState);
512 DebugLog("logic error event=%d, state=%d", event, fState);
516 fState = kIrDACommStateStopped; // then we're done w/out doing anything
530 fState = kIrDACommStateConnected; // we've connected!
534 fState = kIrDACommStateListening;
539 fState = kIrDACommStateStopping2; // wait for two callbacks
549 fState = kIrDACommStateStoppingListen; // Issue a disconnect to abort listen. We'll get two
554 fState = kIrDACommStateConnected;
562 fState = kIrDACommStateStopping2; // wait for two callbacks
580 fState = kIrDACommStateDisconnecting;
584 fState = kIrDACommStateStopping2; // wait for two callbacks
601 fState = kIrDACommStateConnecting; // switch from listen to connect
606 fState = kIrDACommStateStopping; // wait for one more callback
619 DebugLog("logic error event=%d, state=%d", event, fState);
623 fState = kIrDACommStateIdle; // wait for timer before trying to connect again
627 fState = kIrDACommStateStopping; // wait for one callback
636 DebugLog("logic error event=%d, state=%d", event, fState);
640 fState = kIrDACommStateStopping; // should disconnect "real soon" now
644 fState = kIrDACommStateStopping; // normal, listen/connect has aborted
648 DebugLog("logic error event=%d, state=%d", event, fState);
656 DebugLog("logic error event=%d, state=%d", event, fState);
660 DebugLog("logic error event=%d, state=%d", event, fState);
664 fState = kIrDACommStateStopped; // stop completed
670 DebugLog("logic error event=%d, state=%d", event, fState);
676 DebugLog("logic error event=%d, state=%d", event, fState);
692 XTRACE(kLogConnectionStatus, fState, connected);
697 check(fState != kIrDACommStateIdle);
717 XTRACE(kLogTimer, 0x1111, obj->fState);
892 return fState == kIrDACommStateStart;