26 #ifndef __NAMEREGISTRY__
30 #ifndef __CODEFRAGMENTS__
55 #if PRAGMA_STRUCT_ALIGN
56 #pragma options align = mac68k
57 #elif PRAGMA_STRUCT_PACKPUSH
59 #elif PRAGMA_STRUCT_PACK
72 kUSBAddressRequest = 16,
73 kUSBReturnOnException = 32,
74 kUSBNo5SecTimeout = 64,
76 kUSBNoDataTimeout = 256,
77 kUSBDebugAwareFlag = 512,
78 kUSBResetDescriptorCache = 1024,
79 kUSBHighSpeedFlag = 2048,
80 kUSBDevZeroDetatch = 4096,
81 kUSBLowSpeedFlag = 8192,
82 kUSBTaskTimeSetAddressFlag = 16384
88 kUSBHubPortResetRequest = 1,
89 kUSBHubPortSuspendRequest = 2,
90 kUSBHubPortStatusRequest = 3
95 kVendorID_AppleComputer = 0x05AC
100 typedef SInt32 USBReference;
101 typedef USBReference USBDeviceRef;
102 typedef USBDeviceRef *USBDeviceRefPtr;
103 typedef USBReference USBInterfaceRef;
104 typedef USBReference USBPipeRef;
105 typedef USBReference USBBusRef;
106 typedef UInt32 USBPipeState;
107 typedef UInt32 USBCount;
108 typedef UInt32 USBFlags;
109 typedef UInt8 USBRequest;
110 typedef UInt8 USBDirection;
111 typedef UInt8 USBRqRecipient;
112 typedef UInt8 USBRqType;
113 typedef UInt16 USBRqIndex;
114 typedef UInt16 USBRqValue;
134 kUSBMaxIsocFrameReqCount =
170 USBCompletion usbCompletion;
173 USBReference usbReference;
176 USBCount usbReqCount;
177 USBCount usbActCount;
196 #if !defined(OLDUSBNAMES)
197 #define OLDUSBNAMES 0
201 #define usbBMRequestType usb.cntl.BMRequestType
202 #define usbBRequest usb.cntl.BRequest
203 #define usbWValue usb.cntl.WValue
204 #define usbWIndex usb.cntl.WIndex
208 USBDirection usbDirection;
210 USBRqRecipient usbRecipient;
211 USBRequest usbRequest;
218 kUSBCurrentPBVersion = 0x0100,
219 kUSBIsocPBVersion = 0x0109,
220 kUSBCurrentHubPB = kUSBIsocPBVersion
223 #define kUSBNoCallBack ((USBCompletion)-1L)
225 typedef UInt8 bcdUSB;
265 kUSBRqClearFeature = 1,
267 kUSBRqSetFeature = 3,
269 kUSBRqSetAddress = 5,
270 kUSBRqGetDescriptor = 6,
271 kUSBRqSetDescriptor = 7,
274 kUSBRqGetInterface = 10,
275 kUSBRqSetInterface = 11,
286 kUSBInterfaceDesc = 4,
287 kUSBEndpointDesc = 5,
289 kUSBReportDesc = 0x22,
290 kUSBPhysicalDesc = 0x23,
298 kUSBFeatureDeviceRemoteWakeup = 1,
299 kUSBFeatureEndpointStall = 0
315 kUSB100mAAvailable = 50,
316 kUSB500mAAvailable = 250,
318 kUSBAtrBusPowered = 0x80,
319 kUSBAtrSelfPowered = 0x40,
320 kUSBAtrRemoteWakeup = 0x20
330 #define USB_CONSTANT16(x) ((((x) >> 8) & 0x0ff) | ((x & 0xff) << 8))
333 kUSBDeviceDescriptorLength = 0x12,
334 kUSBInterfaceDescriptorLength = 0x09,
335 kUSBConfigDescriptorLength = 0x09
344 UInt8 deviceSubClass;
360 UInt8 descriptorType;
367 UInt8 descriptorType;
371 UInt8 configStrIndex;
380 UInt8 descriptorType;
381 UInt8 interfaceNumber;
382 UInt8 alternateSetting;
384 UInt8 interfaceClass;
385 UInt8 interfaceSubClass;
386 UInt8 interfaceProtocol;
387 UInt8 interfaceStrIndex;
394 UInt8 descriptorType;
395 UInt8 endpointAddress;
397 UInt16 maxPacketSize;
407 UInt8 hidCountryCode;
408 UInt8 hidNumDescriptors;
409 UInt8 hidDescriptorType;
410 UInt8 hidDescriptorLengthLo;
412 UInt8 hidDescriptorLengthHi;
418 UInt8 hidDescriptorType;
419 UInt8 hidDescriptorLengthLo;
421 UInt8 hidDescriptorLengthHi;
428 UInt16 portChangeFlags;
434 #if CALL_NOT_IN_CARBON
916 USBReference hubRef, UInt32 busPowerAvailable);
939 USBReference hubRef, UInt32
port,
940 UInt32 busPowerAvailable);
1031 UInt32 reserved2, UInt32 powerStatus,
1032 UInt32 busPowerAvailable, UInt32 busPowerNeeded);
1038 kUSBDevicePower_PowerOK = 0,
1039 kUSBDevicePower_BusPowerInsufficient = 1,
1040 kUSBDevicePower_BusPowerNotAllFeatures = 2,
1041 kUSBDevicePower_SelfPowerInsufficient = 3,
1042 kUSBDevicePower_SelfPowerNotAllFeatures = 4,
1043 kUSBDevicePower_HubPortOk = 5,
1044 kUSBDevicePower_HubPortOverCurrent = 6,
1045 kUSBDevicePower_BusPoweredHubOnLowPowerPort = 7,
1046 kUSBDevicePower_BusPoweredHubToBusPoweredHub = 8,
1047 kUSBDevicePower_Reserved3 = 9,
1048 kUSBDevicePower_Reserved4 = 10
1052 #if CALL_NOT_IN_CARBON
1121 typedef UInt32 USBLocationID;
1124 kUSBLocationNibbleFormat =
1145 kUSBStatusLevelFatal = 1,
1146 kUSBStatusLevelError = 2,
1147 kUSBStatusLevelClient = 3,
1148 kUSBStatusLevelGeneral = 4,
1149 kUSBStatusLevelVerbose = 5
1153 typedef UInt8 USBNotificationType;
1156 kNotifyAddDevice = 0x00,
1157 kNotifyRemoveDevice = 0x01,
1158 kNotifyAddInterface = 0x02,
1159 kNotifyRemoveInterface = 0x03,
1160 kNotifyGetDeviceDescriptor = 0x04,
1161 kNotifyGetInterfaceDescriptor = 0x05,
1162 kNotifyGetNextDeviceByClass = 0x06,
1163 kNotifyGetDriverConnectionID = 0x07,
1164 kNotifyInstallDeviceNotification = 0x08,
1165 kNotifyRemoveDeviceNotification = 0x09,
1166 kNotifyDeviceRefToBusRef = 0x0A,
1167 kNotifyDriverNotify = 0x0C,
1168 kNotifyParentNotify = 0x0D,
1169 kNotifyAnyEvent = 0xFF,
1170 kNotifyPowerState = 0x17,
1171 kNotifyStatus = 0x18,
1172 kNotifyFatalError = 0x19,
1173 kNotifyStatusLevel = 0x20
1176 typedef USBNotificationType USBDriverMessage;
1184 kUSBAnyClass = 0xFFFF,
1185 kUSBAnySubClass = 0xFFFF,
1186 kUSBAnyProtocol = 0xFFFF,
1187 kUSBAnyVendor = 0xFFFF,
1188 kUSBAnyProduct = 0xFFFF
1193 USBNotificationType notification;
1195 USBDeviceRef *deviceRef;
1196 UInt32 busPowerAvailable;
1208 ExpertNotificationProcPtr pExpertNotify);
1210 typedef CALLBACK_API_C(
void, USBDeviceNotificationCallbackProcPtr)(
void *
pb);
1216 USBNotificationType usbDeviceNotification;
1218 USBDeviceRef usbDeviceRef;
1226 USBDeviceNotificationCallbackProcPtr callback;
1234 typedef CALLBACK_API_C(
void, USBDriverNotificationCallbackPtr)(OSStatus status,
1237 #if CALL_NOT_IN_CARBON
1259 UInt16 theClass, UInt16 theSubClass,
1260 UInt16 theProtocol);
1341 USBDriverNotificationCallbackPtr callback);
1400 typedef CALLBACK_API_C(
void, HIDInterruptProcPtr)(UInt32 refcon,
void *theData);
1402 HIDNotificationProcPtr)(UInt32 refcon, UInt32 reportSize,
1404 USBReference theInterfaceRef);
1407 HIDInterruptProcPtr pInterruptProc, UInt32 refcon);
1412 USBHIDControlDeviceProcPtr)(UInt32 theControlSelector,
1413 void *theControlData);
1416 USBHIDGetDeviceInfoProcPtr)(UInt32 theInfoSelector,
1419 typedef CALLBACK_API_C(OSStatus, USBHIDEnterPolledModeProcPtr)(void);
1421 typedef CALLBACK_API_C(OSStatus, USBHIDExitPolledModeProcPtr)(void);
1423 typedef CALLBACK_API_C(OSStatus, USBHIDInstallNotificationProcPtr)(
1424 HIDNotificationProcPtr pNotificationProc, UInt32 refcon);
1427 kHIDStandardDispatchVersion = 0,
1428 kHIDReservedDispatchVersion = 1,
1429 kHIDNotificationDispatchVersion = 2,
1430 kHIDCurrentDispatchVersion = 2
1435 UInt32 hidDispatchVersion;
1436 USBHIDInstallInterruptProcPtr pUSBHIDInstallInterrupt;
1437 USBHIDPollDeviceProcPtr pUSBHIDPollDevice;
1438 USBHIDControlDeviceProcPtr pUSBHIDControlDevice;
1439 USBHIDGetDeviceInfoProcPtr pUSBHIDGetDeviceInfo;
1440 USBHIDEnterPolledModeProcPtr pUSBHIDEnterPolledMode;
1441 USBHIDExitPolledModeProcPtr pUSBHIDExitPolledMode;
1442 USBHIDInstallNotificationProcPtr pUSBHIDInstallNotification;
1448 UInt32 hidDispatchVersion;
1449 USBHIDInstallInterruptProcPtr pUSBHIDInstallInterrupt;
1450 USBHIDPollDeviceProcPtr pUSBHIDPollDevice;
1451 USBHIDControlDeviceProcPtr pUSBHIDControlDevice;
1452 USBHIDGetDeviceInfoProcPtr pUSBHIDGetDeviceInfo;
1453 USBHIDEnterPolledModeProcPtr pUSBHIDEnterPolledMode;
1454 USBHIDExitPolledModeProcPtr pUSBHIDExitPolledMode;
1459 #if CALL_NOT_IN_CARBON
1553 kHIDRqGetReport = 1,
1555 kHIDRqGetProtocol = 3,
1556 kHIDRqSetReport = 9,
1558 kHIDRqSetProtocol = 11
1563 kHIDRtInputReport = 1,
1564 kHIDRtOutputReport = 2,
1565 kHIDRtFeatureReport = 3
1570 kHIDBootProtocolValue = 0,
1571 kHIDReportProtocolValue = 1
1576 kHIDKeyboardInterfaceProtocol = 1,
1577 kHIDMouseInterfaceProtocol = 2
1582 kHIDSetLEDStateByBits = 1,
1583 kHIDSetLEDStateByBitMask = 1,
1584 kHIDSetLEDStateByIDNumber = 2,
1585 kHIDRemoveInterruptHandler = 3,
1586 kHIDEnableDemoMode = 4,
1587 kHIDDisableDemoMode = 5,
1588 kHIDRemoveNotification = 0x1000
1593 kHIDGetLEDStateByBits = 1,
1594 kHIDGetLEDStateByBitMask = 1,
1595 kHIDGetLEDStateByIDNumber = 2,
1596 kHIDGetDeviceCountryCode = 3,
1597 kHIDGetDeviceUnitsPerInch = 4,
1598 kHIDGetInterruptHandler = 5,
1599 kHIDGetCurrentKeys = 6,
1600 kHIDGetInterruptRefcon = 7,
1601 kHIDGetVendorID = 8,
1602 kHIDGetProductID = 9
1616 kNumLockLEDMask = 1 << kNumLockLED,
1617 kCapsLockLEDMask = 1 << kCapsLockLED,
1618 kScrollLockLEDMask = 1 << kScrollLockLED,
1619 kComposeLEDMask = 1 << kComposeLED,
1620 kKanaLEDMask = 1 << kKanaLED
1625 kUSBCapsLockKey = 0x39,
1626 kUSBNumLockKey = 0x53,
1627 kUSBScrollLockKey = 0x47
1641 UInt16 usbkeycode[32];
1652 #if CALL_NOT_IN_CARBON
1668 kUSBCompositeClass = 0,
1672 kUSBDisplayClass = 4,
1673 kUSBPrintingClass = 7,
1674 kUSBMassStorageClass = 8,
1677 kUSBVendorSpecificClass = 0xFF
1682 kUSBCompositeSubClass = 0,
1683 kUSBHubSubClass = 1,
1684 kUSBPrinterSubclass = 1,
1685 kUSBVendorSpecificSubClass = 0xFF
1690 kUSBHIDInterfaceClass = 0x03
1695 kUSBNoInterfaceSubClass = 0x00,
1696 kUSBBootInterfaceSubClass = 0x01
1701 kUSBNoInterfaceProtocol = 0x00,
1702 kUSBKeyboardInterfaceProtocol = 0x01,
1703 kUSBMouseInterfaceProtocol = 0x02,
1704 kUSBVendorSpecificProtocol = 0xFF
1709 kUSBPrinterUnidirectionalProtocol = 0x01,
1710 kUSBPrinterBidirectionalProtocol = 0x02
1715 kServiceCategoryUSB = FOUR_CHAR_CODE(
'usb ')
1720 kUSBDriverFileType = FOUR_CHAR_CODE(
'ndrv'),
1721 kUSBDriverRsrcType = FOUR_CHAR_CODE(
'usbd'),
1722 kUSBShimRsrcType = FOUR_CHAR_CODE(
'usbs')
1727 kTheUSBDriverDescriptionSignature = FOUR_CHAR_CODE(
'usbd')
1732 kInitialUSBDriverDescriptor = 0
1735 typedef UInt32 USBDriverDescVersion;
1737 typedef UInt32 USBDriverLoadingOptions;
1740 kUSBDoNotMatchGenericDevice =
1742 kUSBDoNotMatchInterface =
1744 kUSBProtocolMustMatch =
1746 kUSBInterfaceMatchOnly =
1752 kClassDriverPluginVersion = 0x00001100
1758 UInt16 usbProductID;
1759 UInt16 usbDeviceReleaseNumber;
1760 UInt16 usbDeviceProtocol;
1766 UInt8 usbConfigValue;
1767 UInt8 usbInterfaceNum;
1768 UInt8 usbInterfaceClass;
1769 UInt8 usbInterfaceSubClass;
1770 UInt8 usbInterfaceProtocol;
1777 UInt8 usbDriverClass;
1778 UInt8 usbDriverSubClass;
1785 OSType usbDriverDescSignature;
1786 USBDriverDescVersion
1787 usbDriverDescVersion;
1791 USBDriverLoadingOptions
1792 usbDriverLoadingOptions;
1801 USBDValidateHWProcPtr)(USBDeviceRef device,
1809 UInt32 busPowerAvailable);
1811 typedef CALLBACK_API_C(OSStatus, USBDInitializeInterfaceProcPtr)(
1816 USBDFinalizeProcPtr)(USBDeviceRef device,
1818 typedef UInt32 USBDriverNotification;
1821 kNotifySystemSleepRequest = 0x00000001,
1822 kNotifySystemSleepDemand = 0x00000002,
1823 kNotifySystemSleepWakeUp = 0x00000003,
1824 kNotifySystemSleepRevoke = 0x00000004,
1825 kNotifyHubEnumQuery = 0x00000006,
1826 kNotifyChildMessage = 0x00000007,
1827 kNotifyExpertTerminating = 0x00000008,
1828 kNotifyDriverBeingRemoved = 0x0000000B,
1829 kNotifyAllowROMDriverRemoval = 0x0000000E
1837 USBDriverNotification notification,
void *pointer, UInt32 refcon);
1840 UInt32 pluginVersion;
1841 USBDValidateHWProcPtr validateHWProc;
1842 USBDInitializeDeviceProcPtr
1843 initializeDeviceProc;
1844 USBDInitializeInterfaceProcPtr
1845 initializeInterfaceProc;
1847 USBDFinalizeProcPtr finalizeProc;
1848 USBDDriverNotifyProcPtr
1857 kTheUSBShimDescriptionSignature = FOUR_CHAR_CODE(
'usbs')
1860 typedef UInt32 USBShimDescVersion;
1863 kCurrentUSBShimDescVers = 0x0100
1867 typedef UInt32 USBShimLoadingOptions;
1870 kUSBRegisterShimAsSharedLibrary =
1876 OSType usbShimDescSignature;
1877 USBShimDescVersion usbShimDescVersion;
1878 USBShimLoadingOptions usbDriverLoadingOptions;
1887 kUSBHubDescriptorType = 0x29
1893 kUSBHubLocalPowerChangeFeature = 0,
1894 kUSBHubOverCurrentChangeFeature = 1,
1895 kUSBHubPortConnectionFeature = 0,
1896 kUSBHubPortEnableFeature = 1,
1897 kUSBHubPortSuspendFeature = 2,
1898 kUSBHubPortOverCurrentFeature = 3,
1899 kUSBHubPortResetFeature = 4,
1900 kUSBHubPortPowerFeature = 8,
1901 kUSBHubPortLowSpeedFeature = 9,
1902 kUSBHubPortConnectionChangeFeature = 16,
1903 kUSBHubPortEnableChangeFeature = 17,
1904 kUSBHubPortSuspendChangeFeature = 18,
1905 kUSBHubPortOverCurrentChangeFeature = 19,
1906 kUSBHubPortResetChangeFeature = 20
1911 kHubPortConnection = 1,
1912 kHubPortEnabled = 2,
1913 kHubPortSuspend = 4,
1914 kHubPortOverCurrent = 8,
1915 kHubPortBeingReset = 16,
1916 kHubPortPower = 0x0100,
1917 kHubPortLowSpeed = 0x0200,
1918 kHubPortHighSpeed = 0x0400,
1919 kHubPortTestMode = 0x0800,
1920 kHubPortPortIndicator = 0x1000
1933 kHubLocalPowerStatus = 1,
1934 kHubOverCurrentIndicator = 2,
1935 kHubLocalPowerStatusChange = 1,
1936 kHubOverCurrentIndicatorChange = 2
1954 UInt16 characteristics;
1955 UInt8 powerOnToGood;
1959 UInt8 removablePortFlags[8];
1960 UInt8 pwrCtlPortFlags[8];
1964 #if PRAGMA_STRUCT_ALIGN
1965 #pragma options align = reset
1966 #elif PRAGMA_STRUCT_PACKPUSH
1968 #elif PRAGMA_STRUCT_PACK
1972 #ifdef PRAGMA_IMPORT_OFF
1975 #pragma import reset
Public Code Fragment Manager Interfaces.
Device Manager Interfaces.
Basic Macintosh data types.
unsigned char * StringPtr
Definition: MacTypes.h:477
UInt32 USBToHostLong(UInt32 value)
OSStatus USBControlRequest(USBPB *pb)
OSStatus USBDelay(USBPB *pb)
OSStatus USBHIDInstallInterrupt(HIDInterruptProcPtr HIDInterruptFunction, UInt32 refcon)
OSStatus USBGetFrameNumberImmediate(USBPB *pb)
OSStatus USBExpertStatus(USBDeviceRef ref, void *pointer, UInt32 value)
OSStatus USBIsocWrite(USBPB *pb)
UInt32 HostToUSBLong(UInt32 value)
OSStatus USBHubAddDevice(USBPB *pb)
OSStatus USBHIDInstallNotification(HIDNotificationProcPtr HIDNotificationFunction, UInt32 refcon)
OSStatus USBResumeDeviceByReference(USBReference refIn)
OSStatus USBExpertStatusLevel(UInt32 level, USBDeviceRef ref, StringPtr status, UInt32 value)
OSStatus USBHIDExitPolledMode(void)
UInt32 USBGetVersion(void)
OSStatus USBDeviceRequest(USBPB *pb)
void USBInstallDeviceNotification(USBDeviceNotificationParameterBlock *pb)
OSStatus USBHubDeviceRemoved(USBPB *pb)
OSStatus USBResetDevice(USBPB *pb)
OSStatus USBSAbortQueuesByReference(USBReference ref)
OSStatus USBIntWrite(USBPB *pb)
OSStatus USBHIDGetDeviceInfo(UInt32 theInfoSelector, void *theInfo)
void USBExpertSetStatusLevel(UInt32 level)
OSStatus USBExpertNotifyParent(USBReference reference, void *pointer)
OSStatus USBSetPipeIdleByReference(USBPipeRef ref)
OSStatus USBExpertSetDevicePowerStatus(USBDeviceRef ref, UInt32 reserved1, UInt32 reserved2, UInt32 powerStatus, UInt32 busPowerAvailable, UInt32 busPowerNeeded)
OSStatus USBHubSetAddress(USBPB *pb)
OSStatus USBExpertNotify(void *note)
OSStatus USBIsocRead(USBPB *pb)
OSStatus USBGetFullConfigurationDescriptor(USBPB *pb)
OSStatus USBHIDControlDevice(UInt32 theControlSelector, void *theControlData)
OSStatus USBPortStatus(USBPB *pb)
OSStatus USBFindNextPipe(USBPB *pb)
UInt16 USBManagerWildcard
Definition: USB.h:1181
OSStatus USBAllocMem(USBPB *pb)
UInt16 USBToHostWord(UInt16 value)
UInt8 USBMakeBMRequestType(UInt8 direction, UInt8 reqtype, UInt8 recipient)
OSStatus USBSetPipeActiveByReference(USBPipeRef ref)
OSStatus USBGetDriverConnectionID(USBDeviceRef *deviceRef, CFragConnectionID *connID)
OSStatus USBExpertInstallInterfaceDriver(USBDeviceRef ref, USBDeviceDescriptorPtr desc, USBInterfaceDescriptorPtr interfacePtr, USBReference hubRef, UInt32 busPowerAvailable)
UInt32 USBExpertGetStatusLevel(void)
OSStatus USBGetPipeStatusByReference(USBReference ref, USBPipeState *state)
OSStatus USBConfigureInterface(USBPB *pb)
OSStatus USBGetDeviceDescriptor(USBDeviceRef *deviceRef, USBDeviceDescriptor *deviceDescriptor, UInt32 size)
OSStatus USBReferenceToRegEntry(RegEntryID *parentEntry, USBDeviceRef parentDeviceRef)
OSStatus USBResetPipeByReference(USBReference ref)
OSStatus USBExpertRemoveDeviceDriver(USBDeviceRef ref)
OSStatus USBHIDEnterPolledMode(void)
OSStatus USBFindNextEndpointDescriptorImmediate(USBPB *pb)
OSStatus USBSetPipePolicy(USBPB *pb)
OSStatus USBHubConfigurePipeZero(USBPB *pb)
OSStatus USBGetStringDescriptor(USBPB *pb)
OSStatus USBSetConfiguration(USBPB *pb)
OSStatus USBDisposeInterfaceRef(USBPB *pb)
OSStatus USBAddDriverForFSSpec(USBReference reference, FSSpec *fileSpec)
OSStatus USBDriverNotify(USBReference reference, USBDriverMessage mesg, UInt32 refcon, USBDriverNotificationCallbackPtr callback)
typedef CALLBACK_API_C(OSStatus, USBDValidateHWProcPtr)(USBDeviceRef device
OSStatus USBAbortPipeByReference(USBReference ref)
OSStatus USBGetConfigurationDescriptor(USBPB *pb)
OSStatus USBBulkRead(USBPB *pb)
OSStatus USBRemoveDeviceNotification(UInt32 token)
OSStatus USBExpertRemoveInterfaceDriver(USBDeviceRef ref)
OSStatus USBFindNextAssociatedDescriptor(USBPB *pb)
OSStatus USBGetInterfaceDescriptor(USBInterfaceRef *interfaceRef, USBInterfaceDescriptor *interfaceDescriptor, UInt32 size)
OSStatus USBExpertFatalError(USBDeviceRef ref, OSStatus status, void *pointer, UInt32 value)
OSStatus USBIntRead(USBPB *pb)
OSStatus USBFindNextInterfaceDescriptorImmediate(USBPB *pb)
OSStatus USBFindNextInterface(USBPB *pb)
OSStatus USBSuspendDevice(USBPB *pb)
void HIDNotification(UInt32 devicetype, UInt8 NewHIDData[], UInt8 OldHIDData[])
OSStatus USBClearPipeStallByReference(USBPipeRef ref)
UInt16 HostToUSBWord(UInt16 value)
OSStatus USBConfigureADBShim(UInt32 inCommandID, void *arg1, void *arg2)
OSStatus USBGetBandwidthAvailableByReference(USBReference ref, UInt32 *avail)
OSStatus USBDeallocMem(USBPB *pb)
OSStatus USBBulkWrite(USBPB *pb)
OSStatus USBHIDPollDevice(void)
OSStatus USBClosePipeByReference(USBPipeRef ref)
void StartCompoundClassDriver(USBDeviceRef device, UInt16 classID, UInt16 subClass)
OSStatus USBAddShimFromDisk(FSSpec *shimFilePtr)
OSStatus USBExpertInstallDeviceDriver(USBDeviceRef ref, USBDeviceDescriptorPtr desc, USBReference hubRef, UInt32 port, UInt32 busPowerAvailable)
OSStatus USBGetNextDeviceByClass(USBDeviceRef *deviceRef, CFragConnectionID *connID, UInt16 theClass, UInt16 theSubClass, UInt16 theProtocol)
OSStatus USBNewInterfaceRef(USBPB *pb)
OSStatus USBOpenDevice(USBPB *pb)
OSStatus USBDeviceRefToBusRef(USBDeviceRef *deviceRef, USBBusRef *busRef)
Definition: MacTypes.h:638
Definition: PPCToolbox.h:168
Definition: NameRegistry.h:62