Lines Matching defs:generation
586 // returns the local and remote node ids and the generation for which they are valid
599 // 1. get generation and remote nodeID
601 // 3. get generation again
602 // 4. repeat if the generation has changed
755 UInt32 generation;
759 status = getNodeIDsAndGeneration( &localNodeID, &remoteNodeID, &generation );
791 status = (*fAVCUnit)->AVCCommandInGeneration( fAVCUnit, generation, (UInt8*)&cmd, sizeof(cmd), (UInt8*)&response, &responseLength );
837 status = updateProducerRegister( newVal, generation );
843 fGeneration = generation;
1154 UInt32 generation;
1158 status = getNodeIDsAndGeneration( &localNodeID, &remoteNodeID, &generation );
1163 if( generation == fGeneration )
1165 // we've already connected on this generation, no need to reconnect
1167 // while handling the first one we latched the generation of the second
1198 status = (*fAVCUnit)->AVCCommandInGeneration( fAVCUnit, generation, (UInt8*)&cmd, sizeof(cmd), (UInt8*)&response, &responseLength );
1243 status = updateProducerRegister( newVal, generation );
1252 } // generation if
1259 fGeneration = generation;
1532 IOReturn IOFireWireAVCLibConsumer::updateProducerRegister( UInt32 newVal, UInt32 generation )
1541 status = (*fFWUnit)->CompareSwap( fFWUnit, fService, &fRemotePlugAddress, OSSwapHostToBigInt32(fOutputPlugRegisterBuffer), OSSwapHostToBigInt32(newVal), true, generation );
1558 status = (*fFWUnit)->ReadQuadlet( fFWUnit, fService, &fRemotePlugAddress, &producerRegister, true, generation );