• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/IOFireWireSBP2-426.4.1/IOFireWireSBP2/

Lines Matching refs:orb

801     // deallocate login orb address space
843 // deallocate reconnect orb address space
886 // deallocate logout orb address space
1690 // orb related or unsolicited
1709 // normal command orb
2664 // send reset notification for each orb
2699 // if we've set aside an orb we have not set its timer yet
2737 // create an orb object
2741 IOFireWireSBP2ORB * orb = new IOFireWireSBP2ORB;
2742 if( orb != NULL && !initORBWithLogin( orb, this ) )
2744 orb->release();
2745 orb = NULL;
2749 addORB( orb );
2752 return orb;
2759 IOReturn IOFireWireSBP2Login::addORB( IOFireWireSBP2ORB * orb )
2763 status = fGate->runAction( staticExecuteAddORB, (void*)orb );
2768 IOReturn IOFireWireSBP2Login::staticExecuteAddORB( OSObject *self, void * orb, void *, void *, void * )
2770 return ((IOFireWireSBP2Login *)self)->executeAddORB( (IOFireWireSBP2ORB*)orb );
2773 IOReturn IOFireWireSBP2Login::executeAddORB( IOFireWireSBP2ORB * orb )
2775 return fORBSet->setObject( orb );
2782 IOReturn IOFireWireSBP2Login::removeORB( IOFireWireSBP2ORB * orb )
2786 status = fGate->runAction( staticExecuteRemoveORB, (void*)orb );
2791 IOReturn IOFireWireSBP2Login::staticExecuteRemoveORB( OSObject *self, void * orb, void *, void *, void * )
2793 return ((IOFireWireSBP2Login *)self)->executeRemoveORB( (IOFireWireSBP2ORB*)orb );
2796 IOReturn IOFireWireSBP2Login::executeRemoveORB( IOFireWireSBP2ORB * orb )
2798 fORBSet->removeObject( orb );
2807 IOReturn IOFireWireSBP2Login::submitORB( IOFireWireSBP2ORB * orb )
2811 status = fGate->runAction( staticExecuteORB, (void*)orb );
2816 IOReturn IOFireWireSBP2Login::staticExecuteORB( OSObject *self, void * orb, void *, void *, void * )
2818 return ((IOFireWireSBP2Login *)self)->executeORB( ( IOFireWireSBP2ORB *)orb );
2821 IOReturn IOFireWireSBP2Login::executeORB( IOFireWireSBP2ORB * orb )
2833 commandFlags = orb->getCommandFlags();
2839 ( commandFlags & kFWSBP2CommandImmediate ) && // and this is an immediate orb
2840 fORBToWrite ) // and we've already got another orb
2849 UInt32 generation = orb->getCommandGeneration();
2863 UInt32 orbFlags = orb->getCommandFlags();
2864 orb->setCommandFlags( orbFlags | kFWSBP2CommandCompleteNotify );
2871 orb->setFetchAgentWriteRetries( 20 );
2872 orb->setFetchAgentWriteRetryInterval( 1000 );
2873 prepareORBForExecution(orb);
2905 // write previous orb
2931 // write this orb
2935 orb->getORBAddress( &orbAddress );
2945 // prepare orb and page table
2948 orb->prepareFastStartPacket( descriptor );
2968 orb->getORBAddress( &orbAddress );
2973 orb->retain();
2974 fLastORB = orb;
2978 fORBToWrite = orb;
2979 // IOLog( "IOFireWireSBP2Login : fetch agent write command busy, putting aside orb 0x%08lx\n", orb );
2983 startORBTimer(orb);
2987 if( isORBAppended( orb ) )
2989 panic( "IOFireWireSBP2Login::executeORB - double appending orb!\n" );
2993 setORBIsAppended( orb, true );
2994 status = appendORBImmediate( orb );
3000 startORBTimer(orb);
3004 if( isORBAppended( orb ) )
3006 panic( "IOFireWireSBP2Login::executeORB - double appending orb!\n" );
3011 setORBIsAppended( orb, true );
3013 status = appendORB( orb );
3020 cancelORBTimer( orb );
3021 setORBIsAppended( orb, false );
3059 IOFireWireSBP2ORB * orb = fORBToWrite;
3131 // check if we have an orb waiting to be appended
3134 fORBToWrite = 0; // no more orb pending a fetch agent write
3139 if( orb && status != kIOFireWireBusReset )
3141 // IOLog( "IOFireWireSBP2Login : fetch agent write command free, submitting orb 0x%08lx\n", orb );
3144 startORBTimer( orb );
3148 if( isORBAppended( orb ) )
3150 panic( "IOFireWireSBP2Login::fetchAgentWriteComplete - double appending orb!\n" );
3154 setORBIsAppended( orb, true );
3155 appendORBImmediate( orb );
3488 IOReturn IOFireWireSBP2Login::appendORBImmediate( IOFireWireSBP2ORB * orb )
3509 IOReturn IOFireWireSBP2Login::appendORB( IOFireWireSBP2ORB * orb )
3512 if( fLastORB != NULL && fLastORB != orb )
3515 orb->getORBAddress( &orb_address );
3521 orb->retain();
3529 fLastORB = orb;
3541 void IOFireWireSBP2Login::sendTimeoutNotification( IOFireWireSBP2ORB * orb )
3543 if( isORBAppended( orb ) )
3545 setORBIsAppended( orb, false );
3562 params.commandObject = orb;
3625 bool IOFireWireSBP2Login::initORBWithLogin( IOFireWireSBP2ORB * orb, IOFireWireSBP2Login * login )
3627 return orb->initWithLogin( login );
3630 void IOFireWireSBP2Login::setNextORBAddress( IOFireWireSBP2ORB * orb, FWAddress address )
3632 orb->setNextORBAddress( address );
3635 void IOFireWireSBP2Login::fetchAgentWriteComplete( IOFireWireSBP2ORB * orb, IOReturn status )
3637 // orb->fetchAgentWriteComplete( status );
3640 bool IOFireWireSBP2Login::isORBTimerSet( IOFireWireSBP2ORB * orb )
3642 return orb->isTimerSet();
3645 void IOFireWireSBP2Login::cancelORBTimer( IOFireWireSBP2ORB * orb )
3647 orb->cancelTimer();
3650 void IOFireWireSBP2Login::startORBTimer( IOFireWireSBP2ORB * orb )
3652 orb->startTimer();
3655 void IOFireWireSBP2Login::prepareORBForExecution( IOFireWireSBP2ORB * orb )
3657 orb->prepareORBForExecution();
3660 bool IOFireWireSBP2Login::isORBAppended( IOFireWireSBP2ORB * orb )
3662 return orb->isAppended();
3665 void IOFireWireSBP2Login::setORBIsAppended( IOFireWireSBP2ORB * orb, bool state )
3667 orb->setIsAppended( state );