Lines Matching refs:OSData
98 const OSData * gIODTAssociatedServiceKey;
122 OSData * prop; in IODeviceTreeAlloc()
145 …gIODTAssociatedServiceKey = OSData::withBytesNoCopy((void *) kIODTAssociatedServiceKey, sizeof(k… in IODeviceTreeAlloc()
245 if ((prop = (OSData *) parent->getProperty( gIODTCompatibleKey))) { in IODeviceTreeAlloc()
323 OSData *propObj; in IODTGetLoaderInfo()
333 propObj = OSDynamicCast( OSData, chosen->getProperty(key)); in IODTGetLoaderInfo()
382 OSData *defaultObj; in IODTGetDefault()
390 defaultObj = OSDynamicCast( OSData, defaults->getProperty(key)); in IODTGetDefault()
426 OSData *data; in MakeReferenceTable()
455 data = OSData::withBytes(prop, propSize); in MakeReferenceTable()
461 data = OSData::withBytesNoCopy((void**)(uintptr_t)prop, propSize); in MakeReferenceTable()
509 OSData * data; in AddPHandle()
512 && (data = OSDynamicCast( OSData, regEntry->getProperty( gIODTPHandleKey )))) { in AddPHandle()
522 OSData *data; in FindPHandle()
526 for (i = 0; (data = (OSData *)gIODTPHandles->getObject( i )); i++) { in FindPHandle()
542 OSData * data; in GetUInt32()
549 result = ((data = OSDynamicCast(OSData, obj)) && (sizeof(UInt32) == data->getLength())); in GetUInt32()
563 OSData * data; in IODTFindInterruptParent()
566 if ((data = OSDynamicCast( OSData, regEntry->getProperty( gIODTInterruptParentKey ))) in IODTFindInterruptParent()
619 LIBKERN_RETURNS_RETAINED OSData ** spec, in IODTMapOneInterrupt()
623 OSData *data; in IODTMapOneInterrupt()
636 data = OSDynamicCast( OSData, regEntry->getProperty( "reg" )); in IODTMapOneInterrupt()
658 if (parent && (data = OSDynamicCast( OSData, in IODTMapOneInterrupt()
662 *spec = OSData::withBytesNoCopy((void *) intSpec, in IODTMapOneInterrupt()
666 } else if (parent && (data = OSDynamicCast( OSData, in IODTMapOneInterrupt()
671 data = OSDynamicCast( OSData, regEntry->getProperty( "interrupt-map-mask" )); in IODTMapOneInterrupt()
793 OSData * local; in IODTMapInterruptsSharing()
794 OSData * local2; in IODTMapInterruptsSharing()
798 OSData * map = NULL; in IODTMapInterruptsSharing()
807 nw = (NULL == (local = OSDynamicCast( OSData, in IODTMapInterruptsSharing()
809 if (nw && (NULL == (local = OSDynamicCast( OSData, in IODTMapInterruptsSharing()
815 if ((local2 = OSDynamicCast( OSData, in IODTMapInterruptsSharing()
842 map = OSData::withData( local, mapped->getCount() * sizeof(UInt32), in IODTMapInterruptsSharing()
921 OSData *data; in CompareKey()
936 if ((data = OSDynamicCast( OSData, prop ))) { in CompareKey()
1226 OSData * prop; in IODTResolveAddressCell()
1260 prop = OSDynamicCast( OSData, regEntry->getProperty( gIODTRangeKey )); in IODTResolveAddressCell()
1379 OSData *addressProperty; in IODTResolveAddressing()
1390 addressProperty = (OSData *) regEntry->getProperty( addressPropertyName ); in IODTResolveAddressing()
1437 OSData *
1441 OSData *data; in IODTFindSlotName()
1442 OSData *ret = NULL; in IODTFindSlotName()
1450 data = (OSData *) regEntry->getProperty("AAPL,slot-name"); in IODTFindSlotName()
1461 data = OSDynamicCast( OSData, parent->getProperty("slot-names")); in IODTFindSlotName()
1482 data = OSData::withBytesNoCopy(names, nlen); in IODTFindSlotName()