Lines Matching refs:parent

115 	IORegistryEntry *           parent;  in IODeviceTreeAlloc()  local
196 parent = MakeReferenceTable((DTEntry)dtTop, freeDT ); in IODeviceTreeAlloc()
198 stack = OSArray::withObjects((const OSObject **) &parent, 1, 10 ); in IODeviceTreeAlloc()
202 parent = (IORegistryEntry *)stack->getObject( stack->getCount() - 1); in IODeviceTreeAlloc()
208 child->attachToParent( parent, gIODTPlane); in IODeviceTreeAlloc()
230 stack->setObject( parent); in IODeviceTreeAlloc()
231 parent = child; in IODeviceTreeAlloc()
245 if ((prop = (OSData *) parent->getProperty( gIODTCompatibleKey))) { in IODeviceTreeAlloc()
246 parent->setName( parent->getName(), gIODTPlane ); in IODeviceTreeAlloc()
247 parent->setName((const char *) prop->getBytesNoCopy()); in IODeviceTreeAlloc()
251 parent->attachToParent( IORegistryEntry::getRegistryRoot(), gIODTPlane); in IODeviceTreeAlloc()
252 parent->release(); in IODeviceTreeAlloc()
286 parent->setProperty("allInts", allInts); in IODeviceTreeAlloc()
287 parent->setProperty("sharedInts", gIODTSharedInterrupts); in IODeviceTreeAlloc()
311 parent->setProperty( gIODTNWInterruptMappingKey, in IODeviceTreeAlloc()
315 return parent; in IODeviceTreeAlloc()
561 IORegistryEntry * parent; in IODTFindInterruptParent() local
572 parent = FindPHandle( phandle ); in IODTFindInterruptParent()
574 parent = regEntry->getParentEntry( gIODTPlane); in IODTFindInterruptParent()
576 parent = NULL; in IODTFindInterruptParent()
579 return parent; in IODTFindInterruptParent()
622 IORegistryEntry *parent = NULL; in IODTMapOneInterrupt() local
632 parent = IODTFindInterruptParent( regEntry, index ); in IODTMapOneInterrupt()
633 IODTGetICellCounts( parent, &icells, &acells ); in IODTMapOneInterrupt()
642 regEntry = parent; in IODTMapOneInterrupt()
658 if (parent && (data = OSDynamicCast( OSData, in IODTMapOneInterrupt()
661 parent = NULL; in IODTMapOneInterrupt()
666 } else if (parent && (data = OSDynamicCast( OSData, in IODTMapOneInterrupt()
720 if (NULL == (parent = FindPHandle( *(map++)))) { in IODTMapOneInterrupt()
724 IODTGetICellCounts( parent, &picells, &pacells ); in IODTMapOneInterrupt()
728 regEntry = parent; in IODTMapOneInterrupt()
734 parent = NULL; in IODTMapOneInterrupt()
738 if (parent) { in IODTMapOneInterrupt()
739 IODTGetICellCounts( parent, &icells, &acells ); in IODTMapOneInterrupt()
740 regEntry = parent; in IODTMapOneInterrupt()
742 } while (parent); in IODTMapOneInterrupt()
792 IORegistryEntry * parent; in IODTMapInterruptsSharing() local
813 if (nw && (parent = regEntry->getParentEntry( gIODTPlane))) { in IODTMapInterruptsSharing()
816 parent->getProperty( gIODTAAPLInterruptsKey)))) { in IODTMapInterruptsSharing()
1224 IORegistryEntry * parent = NULL; in IODTResolveAddressCell() local
1268 parent = regEntry->copyParentEntry( gIODTPlane ); in IODTResolveAddressCell()
1269 IODTGetCellCounts( parent, &sizeCells, &addressCells ); in IODTResolveAddressCell()
1360 regEntry = parent; in IODTResolveAddressCell()
1361 parent = NULL; in IODTResolveAddressCell()
1376 IODeviceMemory * parent ) in IODTResolveAddressing() argument
1413 if (parent) { in IODTResolveAddressing()
1414 range = IODeviceMemory::withSubRange( parent, in IODTResolveAddressing()
1415 phys - parent->getPhysicalSegment(0, NULL, kIOMemoryMapperNone), len ); in IODTResolveAddressing()
1440 IORegistryEntry *parent; in IODTFindSlotName() local
1456 parent = regEntry->copyParentEntry( gIODTPlane ); in IODTFindSlotName()
1457 if (!parent) { in IODTFindSlotName()
1461 data = OSDynamicCast( OSData, parent->getProperty("slot-names")); in IODTFindSlotName()
1495 OSSafeReleaseNULL(parent); in IODTFindSlotName()