#include <IOKit/usb/IOUSBHostFamilyDefinitions.h>
IOKit/usb/IOUSBHostFamilyDefinitions.h
@header IOUSBHostFamilyDefinitions.h
@brief Definitions used for the IOUSBHostFamily
!
macroIOUSBHostFamily_IOUSBHostFamilyDefinitions_h
#define IOUSBHostFamily_IOUSBHostFamilyDefinitions_h
macroIOUSBHostFamilyBit
#define IOUSBHostFamilyBit(bit) ((uint32_t)(1) << bit)
macroIOUSBHostFamilyBitRange
#define IOUSBHostFamilyBitRange(start, end) (~(((uint32_t)(1) << start) - 1) & (((uint32_t)(1) << end) | (((uint32_t)(1) << end) - 1)))
macroIOUSBHostFamilyBitRange64
#define IOUSBHostFamilyBitRange64(start, end) (~(((uint64_t)(1) << start) - 1) & (((uint64_t)(1) << end) | (((uint64_t)(1) << end) - 1)))
macroIOUSBHostFamilyBitRangePhase
#define IOUSBHostFamilyBitRangePhase(start, end) (start)
macroiokit_usb_codemask
#define iokit_usb_codemask IOUSBHostFamilyBitRange(0, 11)
macroiokit_usbhost_group
#define iokit_usbhost_group (1 << IOUSBHostFamilyBitRangePhase(12, 13))
macroiokit_usblegacy_group
#define iokit_usblegacy_group (0 << IOUSBHostFamilyBitRangePhase(12, 13))
macroiokit_usbhost_err
#define iokit_usbhost_err(message) ((IOReturn)(iokit_family_err(sub_iokit_usb, iokit_usbhost_group | (message & iokit_usb_codemask))))
macroiokit_usbhost_msg
#define iokit_usbhost_msg(message) ((uint32_t)(iokit_family_msg(sub_iokit_usb, iokit_usbhost_group | (message & iokit_usb_codemask))))
macroiokit_usblegacy_err_msg
#define iokit_usblegacy_err_msg(message) ((uint32_t)(sys_iokit | sub_iokit_usb | message))
macrokUSBHostMessageConfigurationSet
@definedblock IOUSBHostFamily message codes
@discussion Messages passed between USB services using the <code>IOService::message</code> API.
#define kUSBHostMessageConfigurationSet iokit_usbhost_msg(0x00)
0xe0005000 IOUSBHostDevice -> clients upon a setConfiguration call.
macrokUSBHostMessageRenegotiateCurrent
#define kUSBHostMessageRenegotiateCurrent iokit_usbhost_msg(0x01)
0xe0005001 Request clients to renegotiate bus current allocations
macrokUSBHostMessageControllerException
#define kUSBHostMessageControllerException iokit_usbhost_msg(0x02)
0xe0005002 A fatal problem has occurred with an AppleUSBUserHCI controller
macrokUSBHostMessageDeviceIsRequestingClose
#define kUSBHostMessageDeviceIsRequestingClose iokit_usbhost_msg(0x03)
0xe0005003 A new client is attempting to seize ownership of the IOUSBHostDevice service. To honor this request, close the IOUSBHostDevice service.
macrokUSBHostReturnPipeStalled
#define kUSBHostReturnPipeStalled iokit_usbhost_err(0x0)
0xe0005000 Pipe has issued a STALL handshake. Use clearStall to clear this condition.
macrokUSBHostReturnNoPower
#define kUSBHostReturnNoPower iokit_usbhost_err(0x1)
0xe0005001 A setConfiguration call was not able to succeed because all configurations require more power than is available.
macrokUSBHostReturnRedundant
#define kUSBHostReturnRedundant iokit_usbhost_err(0x2)
0xe0005002 A redundant setting was attempted.
enumtIOUSBHostConnectionSpeed
@enum tIOUSBHostConnectionSpeed
@brief Connection speeds reported in kUSBHostMatchingPropertySpeed
@discussion This enumeration matches the default speed ID mappings defined in XHCI 1.0 Table 147.
@constant kIOUSBHostConnectionSpeedNone No device is connected
@constant kIOUSBHostConnectionSpeedFull A full-speed (12 Mb/s) device is connected
@constant kIOUSBHostConnectionSpeedLow A low-speed (1.5 Mb/s) device is connected
@constant kIOUSBHostConnectionSpeedHigh A high-speed (480 Mb/s) device is connected)
@constant kIOUSBHostConnectionSpeedSuper A superspeed (5 Gb/s) device is connected)
@constant kIOUSBHostConnectionSpeedSuperPlus A superspeed (10 Gb/s) device is connected)
@constant kIOUSBHostConnectionSpeedSuperPlusBy2 A superspeed (20 Gb/s) device is connected)
@constant kIOUSBHostConnectionSpeedOther A speed not identified by previous definitions
| kIOUSBHostConnectionSpeedNone | 0 | |
| kIOUSBHostConnectionSpeedFull | 1 | |
| kIOUSBHostConnectionSpeedLow | 2 | |
| kIOUSBHostConnectionSpeedHigh | 3 | |
| kIOUSBHostConnectionSpeedSuper | 4 | |
| kIOUSBHostConnectionSpeedSuperPlus | 5 | |
| kIOUSBHostConnectionSpeedSuperPlusBy2 | 6 | |
| kIOUSBHostConnectionSpeedOther | 7 | |
| kIOUSBHostConnectionSpeedCount | 8 |
enumtIOUSBHostPortType
@brief Port types returned by IOUSBHostDevice::getPortStatus and kUSBHostPortPropertyStatus
@constant kIOUSBHostPortTypeStandard A general-purpose USB port.
@constant kIOUSBHostPortTypeCaptive The attached device cannot be physically disconnected from the port.
@constant kIOUSBHostPortTypeInternal The attached device cannot be physically disconnected from the host machine.
@constant kIOUSBHostPortTypeAccessory The attached device may require authentication before function drivers can access it.
@constant kIOUSBHostPortTypeExpressCard The attached device uses an ExpressCard slot
@constant kIOUSBHostPortTypeC The attached device uses a USB-C port that may be capable of other transports
@constant kIOUSBHostPortTypeUnknown Unhandled port type
| kIOUSBHostPortTypeStandard | 0 | |
| kIOUSBHostPortTypeCaptive | 1 | |
| kIOUSBHostPortTypeInternal | 2 | |
| kIOUSBHostPortTypeAccessory | 3 | |
| kIOUSBHostPortTypeExpressCard | 4 | |
| kIOUSBHostPortTypeC | 5 | |
| kIOUSBHostPortTypeUnknown | 6 |
enumtIOUSBHostPortStatus
@brief Values returned by IOUSBHostDevice::getPortStatus and kUSBHostPortPropertyStatus
@constant kIOUSBHostPortStatusPortTypeMask The mask for bits representing the port type.
@constant kIOUSBHostPortStatusPortTypeStandard A general-purpose USB port.
@constant kIOUSBHostPortStatusPortTypeCaptive The attached device cannot be physically disconnected from the port.
@constant kIOUSBHostPortStatusPortTypeInternal The attached device cannot be physically disconnected from the host machine.
@constant kIOUSBHostPortStatusPortTypeAccessory The attached device may require authentication before function drivers can access it.
@constant kIOUSBHostPortStatusConnectedSpeedMask The mask for bits representing the connection state.
@constant kIOUSBHostPortStatusConnectedSpeedNone The port does not have a connected device.
@constant kIOUSBHostPortStatusConnectedSpeedFull The port has a full-speed device connected.
@constant kIOUSBHostPortStatusConnectedSpeedLow The port has a low-speed device connected.
@constant kIOUSBHostPortStatusConnectedSpeedHigh The port has a high-speed device connected.
@constant kIOUSBHostPortStatusConnectedSpeedSuper The port has a superspeed device connected.
@constant kIOUSBHostPortStatusResetting The port is currently resetting the link.
@constant kIOUSBHostPortStatusEnabled The port is enabled and packets are permitted to reach the device. Not valid unless kIOUSBHostPortStatusConnectedSpeedMask is nonzero.
@constant kIOUSBHostPortStatusSuspended The port is suspended. Not valid unless kIOUSBHostPortStatusConnectedSpeedMask is nonzero.
@constant kIOUSBHostPortStatusOvercurrent The port is in the overcurrent condition.
@constant kIOUSBHostPortStatusTestMode The port is in test mode.
| kIOUSBHostPortStatusPortTypeMask | 15 | |
| kIOUSBHostPortStatusPortTypePhase | 0 | |
| kIOUSBHostPortStatusPortTypeStandard | 0 | |
| kIOUSBHostPortStatusPortTypeCaptive | 1 | |
| kIOUSBHostPortStatusPortTypeInternal | 2 | |
| kIOUSBHostPortStatusPortTypeAccessory | 3 | |
| kIOUSBHostPortStatusPortTypeReserved | 240 | |
| kIOUSBHostPortStatusConnectedSpeedMask | 1792 | |
| kIOUSBHostPortStatusConnectedSpeedPhase | 8 | |
| kIOUSBHostPortStatusConnectedSpeedNone | 0 | |
| kIOUSBHostPortStatusConnectedSpeedFull | 256 | |
| kIOUSBHostPortStatusConnectedSpeedLow | 512 | |
| kIOUSBHostPortStatusConnectedSpeedHigh | 768 | |
| kIOUSBHostPortStatusConnectedSpeedSuper | 1024 | |
| kIOUSBHostPortStatusConnectedSpeedSuperPlus | 1280 | |
| kIOUSBHostPortStatusConnectedSpeedSuperPlusBy2 | 1536 | |
| kIOUSBHostPortStatusConnectedSpeedOther | 1792 | |
| kIOUSBHostPortStatusResetting | 2048 | |
| kIOUSBHostPortStatusEnabled | 4096 | |
| kIOUSBHostPortStatusSuspended | 8192 | |
| kIOUSBHostPortStatusOvercurrent | 16384 | |
| kIOUSBHostPortStatusTestMode | 32768 |
macrokIOUSBTransportDextEntitlement
#define kIOUSBTransportDextEntitlement "com.apple.developer.driverkit.transport.usb"
macrokIOUSBHostVMEntitlement
#define kIOUSBHostVMEntitlement "com.apple.vm.device-access"
macrokIOUSBHostControllerInterfaceEntitlement
#define kIOUSBHostControllerInterfaceEntitlement "com.apple.developer.usb.host-controller-interface"
macrokIOUSBBillboardEntitlement
#define kIOUSBBillboardEntitlement "com.apple.developer.usb.billboard"
macrokIOUSBHostDeviceClassName
#define kIOUSBHostDeviceClassName "IOUSBHostDevice"
macrokIOUSBHostInterfaceClassName
#define kIOUSBHostInterfaceClassName "IOUSBHostInterface"
macroIOUSBHOST_PROPERTY_DEPRECATED
#define IOUSBHOST_PROPERTY_DEPRECATED _Pragma("message \"IORegistry property is deprecated.\"")macrokUSBHostMatchingPropertyVendorID
#define kUSBHostMatchingPropertyVendorID "idVendor"
macrokUSBHostMatchingPropertyProductID
#define kUSBHostMatchingPropertyProductID "idProduct"
macrokUSBHostMatchingPropertyProductIDMask
#define kUSBHostMatchingPropertyProductIDMask "idProductMask"
macrokUSBHostMatchingPropertyProductIDArray
#define kUSBHostMatchingPropertyProductIDArray "idProductArray"
macrokUSBHostMatchingPropertyDeviceClass
#define kUSBHostMatchingPropertyDeviceClass "bDeviceClass"
macrokUSBHostMatchingPropertyDeviceSubClass
#define kUSBHostMatchingPropertyDeviceSubClass "bDeviceSubClass"
macrokUSBHostMatchingPropertyDeviceProtocol
#define kUSBHostMatchingPropertyDeviceProtocol "bDeviceProtocol"
macrokUSBHostMatchingPropertyDeviceReleaseNumber
#define kUSBHostMatchingPropertyDeviceReleaseNumber "bcdDevice"
macrokUSBHostMatchingPropertyDeviceReleaseNumberRange
#define kUSBHostMatchingPropertyDeviceReleaseNumberRange "bcdDeviceRange"
OSArray containing 16-bit integer values. The low and high values (inclusive) are used to determine a range of matching bcdDevice values.
macrokUSBHostMatchingPropertyConfigurationValue
#define kUSBHostMatchingPropertyConfigurationValue "bConfigurationValue"
macrokUSBHostMatchingPropertyInterfaceClass
#define kUSBHostMatchingPropertyInterfaceClass "bInterfaceClass"
macrokUSBHostMatchingPropertyInterfaceSubClass
#define kUSBHostMatchingPropertyInterfaceSubClass "bInterfaceSubClass"
macrokUSBHostMatchingPropertyInterfaceProtocol
#define kUSBHostMatchingPropertyInterfaceProtocol "bInterfaceProtocol"
macrokUSBHostMatchingPropertyInterfaceNumber
#define kUSBHostMatchingPropertyInterfaceNumber "bInterfaceNumber"
macrokUSBHostMatchingPropertySpeed
#define kUSBHostMatchingPropertySpeed "USBSpeed"
macrokUSBHostMatchingPropertyPortType
#define kUSBHostMatchingPropertyPortType "USBPortType"
macrokUSBHostPropertyLocationID
#define kUSBHostPropertyLocationID "locationID"
macrokUSBHostPropertyDebugOptions
#define kUSBHostPropertyDebugOptions "kUSBDebugOptions"
macrokUSBHostPropertyWakePowerSupply
#define kUSBHostPropertyWakePowerSupply "kUSBWakePowerSupply"
macrokUSBHostPropertySleepPowerSupply
#define kUSBHostPropertySleepPowerSupply "kUSBSleepPowerSupply"
macrokUSBHostPropertyWakePortCurrentLimit
#define kUSBHostPropertyWakePortCurrentLimit "kUSBWakePortCurrentLimit"
macrokUSBHostPropertySleepPortCurrentLimit
#define kUSBHostPropertySleepPortCurrentLimit "kUSBSleepPortCurrentLimit"
macrokUSBHostPropertyFailedRemoteWake
#define kUSBHostPropertyFailedRemoteWake "kUSBFailedRemoteWake"
macrokUSBHostPropertyBusCurrentPoolID
#define kUSBHostPropertyBusCurrentPoolID "UsbBusCurrentPoolID"
macrokUSBHostPropertySmcBusCurrentPoolID
#define kUSBHostPropertySmcBusCurrentPoolID "UsbSmcBusCurrentPoolID"
macrokUSBHostPropertyForcePower
#define kUSBHostPropertyForcePower "UsbForcePower"
macrokUSBHostPropertyLinkSpeed
#define kUSBHostPropertyLinkSpeed "UsbLinkSpeed"
macrokUSBHostPropertyForceHardwareException
#define kUSBHostPropertyForceHardwareException "UsbHardwareException"
macrokUSBHostPropertyAllowSoftRetry
#define kUSBHostPropertyAllowSoftRetry "UsbAllowSoftRetry"
macrokUSBHostPropertyExclusiveOwner
#define kUSBHostPropertyExclusiveOwner "UsbExclusiveOwner"
OSString describing the service or process with an exclusive session to the USB service
macrokUSBHostUserClientPropertyEntitlementRequired
#define kUSBHostUserClientPropertyEntitlementRequired "UsbUserClientEntitlementRequired"
OSString, or OSDictionary. OSString - the required entitlemnt, OSDictionary - comprised of key/values below to allow overrides for the entitlement
macrokUSBHostUserClientPropertyEntitlement
#define kUSBHostUserClientPropertyEntitlement "UsbUserClientEntitlement"
OSString, of the required entitlement, part of an OSDictionary
macrokUSBHostUserClientPropertyEntitlementExceptionAllowUnlocked
#define kUSBHostUserClientPropertyEntitlementExceptionAllowUnlocked "UsbUserClientEntitlementExceptionAllowUnlocked"
OSBoolean, true or false to allow access if the system is unlocked. Part of the OSDictionary.
macrokUSBHostUserClientPropertyEnableReset
#define kUSBHostUserClientPropertyEnableReset "UsbUserClientEnableReset"
macrokUSBHostUserClientPropertyEnableDataToggleReset
#define kUSBHostUserClientPropertyEnableDataToggleReset "UsbUserClientEnableDataToggleReset"
macrokUSBHostUserClientPropertyBufferStatistics
#define kUSBHostUserClientPropertyBufferStatistics "UsbUserClientBufferStatistics"
macrokUSBHostUserClientPropertyBufferAllocations
#define kUSBHostUserClientPropertyBufferAllocations "UsbUserClientBufferAllocations"
macrokUSBHostDevicePropertyVendorString
#define kUSBHostDevicePropertyVendorString "kUSBVendorString"
macrokUSBHostDevicePropertySerialNumberString
#define kUSBHostDevicePropertySerialNumberString "kUSBSerialNumberString"
macrokUSBHostDevicePropertyContainerID
#define kUSBHostDevicePropertyContainerID "kUSBContainerID"
macrokUSBHostDevicePropertyFailedRequestedPower
#define kUSBHostDevicePropertyFailedRequestedPower "kUSBFailedRequestedPower"
macrokUSBHostDevicePropertyUSB3Preferred
#define kUSBHostDevicePropertyUSB3Preferred "Usb3LinkPreferred"
macrokUSBHostDevicePropertyUSB3Required
#define kUSBHostDevicePropertyUSB3Required "Usb3LinkRequired"
macrokUSBHostDevicePropertyResumeRecoveryTime
#define kUSBHostDevicePropertyResumeRecoveryTime "kUSBResumeRecoveryTime"
macrokUSBHostDevicePropertyPreferredConfiguration
#define kUSBHostDevicePropertyPreferredConfiguration "kUSBPreferredConfiguration"
macrokUSBHostDevicePropertyPreferredRecoveryConfiguration
#define kUSBHostDevicePropertyPreferredRecoveryConfiguration "kUSBPreferredRecoveryConfiguration"
macrokUSBHostDevicePropertyCurrentConfiguration
#define kUSBHostDevicePropertyCurrentConfiguration "kUSBCurrentConfiguration"
macrokUSBHostDevicePropertyRemoteWakeOverride
#define kUSBHostDevicePropertyRemoteWakeOverride "kUSBRemoteWakeOverride"
macrokUSBHostDevicePropertyConfigurationDescriptorOverride
#define kUSBHostDevicePropertyConfigurationDescriptorOverride "kUSBConfigurationDescriptorOverride"
macrokUSBHostDevicePropertyDeviceDescriptorOverride
#define kUSBHostDevicePropertyDeviceDescriptorOverride "kUSBDeviceDescriptorOverride"
macrokUSBHostDevicePropertyConfigurationCurrentOverride
#define kUSBHostDevicePropertyConfigurationCurrentOverride "kUSBConfigurationCurrentOverride"
macrokUSBHostDevicePropertyResetDurationOverride
#define kUSBHostDevicePropertyResetDurationOverride "kUSBResetDurationOverride"
macrokUSBHostDevicePropertyDesiredChargingCurrent
#define kUSBHostDevicePropertyDesiredChargingCurrent "kUSBDesiredChargingCurrent"
macrokUSBHostDevicePropertyDescriptorOverride
#define kUSBHostDevicePropertyDescriptorOverride "kUSBDescriptorOverride"
macrokUSBHostDescriptorOverrideVendorStringIndex
#define kUSBHostDescriptorOverrideVendorStringIndex "UsbDescriptorOverrideVendorStringIndex"
macrokUSBHostDescriptorOverrideProductStringIndex
#define kUSBHostDescriptorOverrideProductStringIndex "UsbDescriptorOverrideProductStringIndex"
macrokUSBHostDescriptorOverrideSerialNumberStringIndex
#define kUSBHostDescriptorOverrideSerialNumberStringIndex "UsbDescriptorOverrideSerialNumberStringIndex"
macrokUSBHostDevicePropertyDeviceECID
#define kUSBHostDevicePropertyDeviceECID "UsbAppleDeviceECID"
OSNumber with 64-bit device ECID
macrokUSBHostDevicePropertyDeviceUDID
#define kUSBHostDevicePropertyDeviceUDID "UsbAppleDeviceUDID"
OSString with device UDID
macrokUSBHostDevicePropertyEnableLPM
#define kUSBHostDevicePropertyEnableLPM "UsbLinkPowerManagement"
Default kOSBooleanFalse. kOSBooleanTrue if the device allows U1/U2 or L1 link power management
macrokUSBHostDevicePropertyDisablePortLPM
#define kUSBHostDevicePropertyDisablePortLPM "kUSBHostDeviceDisablePortLPM"
Disable port initiated LPM for this device
macrokUSBHostDevicePropertyStreamsSupported
#define kUSBHostDevicePropertyStreamsSupported "UsbStreamsSupported"
Default kOSBooleanTrue. OSBoolean indicating if streaming endpoints are supported.
macrokUSBHostDevicePropertyEnumerationState
#define kUSBHostDevicePropertyEnumerationState "UsbEnumerationState"
OSNumber with IOUSBHostDevice::tEnumerationState. NULL if the device has been registered for matching.
macrokUSBHostDevicePropertySignature
#define kUSBHostDevicePropertySignature "UsbDeviceSignature"
OSData containing identifying information available at enumeration time
macrokUSBHostDevicePropertyTunnel
#define kUSBHostDevicePropertyTunnel "UsbTunnel"
Default kOSBooleanFalse. kOSBooleanTrue if the device is connected via a USB4 tunnel
macrokUSBHostDevicePropertyPowerSinkCapability
#define kUSBHostDevicePropertyPowerSinkCapability "UsbPowerSinkCapability"
OSNumber maximum mA of current the device can sink from Vbus (5V), as directed by the Apple USB Power Capability Vendor Request
macrokUSBHostDevicePropertyPowerSinkAllocation
#define kUSBHostDevicePropertyPowerSinkAllocation "UsbPowerSinkAllocation"
OSNumber mA of current the device is expected to sink from Vbus (5V)
macrokUSBHostDevicePropertyIdlePolicy
#define kUSBHostDevicePropertyIdlePolicy "UsbIdlePolicy"
OSNumber ms before idle or unused device is suspended
macrokUSBHostBillboardDevicePropertyVersion
#define kUSBHostBillboardDevicePropertyVersion "UsbBillboardVersion"
macrokUSBHostBillboardDevicePropertySupportedModes
#define kUSBHostBillboardDevicePropertySupportedModes "UsbBillboardSupportedModes"
macrokUSBHostBillboardDevicePropertyPreferredMode
#define kUSBHostBillboardDevicePropertyPreferredMode "UsbBillboardPreferredMode"
macrokUSBHostBillboardDevicePropertyCurrentMode
#define kUSBHostBillboardDevicePropertyCurrentMode "UsbBillboardCurrentMode"
macrokUSBHostBillboardDevicePropertyModeValueUSB4
#define kUSBHostBillboardDevicePropertyModeValueUSB4 "USB4"
macrokUSBHostBillboardDevicePropertyModeValueThunderbolt
#define kUSBHostBillboardDevicePropertyModeValueThunderbolt "Thunderbolt"
macrokUSBHostBillboardDevicePropertyModeValueDisplayPort
#define kUSBHostBillboardDevicePropertyModeValueDisplayPort "DisplayPort"
macrokUSBHostBillboardDevicePropertyAltModeFailed
#define kUSBHostBillboardDevicePropertyAltModeFailed "UsbBillboardAltModeFailed"
macrokUSBHostBillboardDevicePropertyAltModePowerFailed
#define kUSBHostBillboardDevicePropertyAltModePowerFailed "UsbBillboardAltModePowerFailed"
macrokUSBHostBillboardDevicePropertyNumberOfAlternateModes
#define kUSBHostBillboardDevicePropertyNumberOfAlternateModes IOUSBHOST_PROPERTY_DEPRECATED "bNumberOfAlternateModes"
macrokUSBHostBillboardDevicePropertyPreferredAlternateMode
#define kUSBHostBillboardDevicePropertyPreferredAlternateMode IOUSBHOST_PROPERTY_DEPRECATED "bPreferredAlternateMode"
macrokUSBHostBillboardDevicePropertyVCONNPower
#define kUSBHostBillboardDevicePropertyVCONNPower IOUSBHOST_PROPERTY_DEPRECATED "VCONNPower"
macrokUSBHostBillboardDevicePropertyConfigured
#define kUSBHostBillboardDevicePropertyConfigured IOUSBHOST_PROPERTY_DEPRECATED "bmConfigured"
macrokUSBHostBillboardDevicePropertyAdditionalFailureInfo
#define kUSBHostBillboardDevicePropertyAdditionalFailureInfo IOUSBHOST_PROPERTY_DEPRECATED "bAdditonalFailureInfo"
macrokUSBHostBillboardDevicePropertyBcdVersion
#define kUSBHostBillboardDevicePropertyBcdVersion IOUSBHOST_PROPERTY_DEPRECATED "BcdVersion"
macrokUSBHostBillboardDevicePropertySVID
#define kUSBHostBillboardDevicePropertySVID IOUSBHOST_PROPERTY_DEPRECATED "wSVID"
macrokUSBHostBillboardDevicePropertyAlternateMode
#define kUSBHostBillboardDevicePropertyAlternateMode IOUSBHOST_PROPERTY_DEPRECATED "bAlternateMode"
macrokUSBHostBillboardDevicePropertyAlternateModeStringIndex
#define kUSBHostBillboardDevicePropertyAlternateModeStringIndex IOUSBHOST_PROPERTY_DEPRECATED "iAlternateModeString"
macrokUSBHostBillboardDevicePropertyAlternateModeString
#define kUSBHostBillboardDevicePropertyAlternateModeString IOUSBHOST_PROPERTY_DEPRECATED "AlternateModeString"
macrokUSBHostBillboardDevicePropertyAddtionalInfoURLIndex
#define kUSBHostBillboardDevicePropertyAddtionalInfoURLIndex IOUSBHOST_PROPERTY_DEPRECATED "iAddtionalInfoURL"
macrokUSBHostBillboardDevicePropertyAddtionalInfoURL
#define kUSBHostBillboardDevicePropertyAddtionalInfoURL IOUSBHOST_PROPERTY_DEPRECATED "AddtionalInfoURL"
macrokUSBHostBillboardDevicePropertydwAlternateModeVdo
#define kUSBHostBillboardDevicePropertydwAlternateModeVdo IOUSBHOST_PROPERTY_DEPRECATED "dwAlternateModeVdo"
macrokUSBHostInterfacePropertyAlternateSetting
#define kUSBHostInterfacePropertyAlternateSetting "bAlternateSetting"
macrokUSBHostPortPropertyStatus
#define kUSBHostPortPropertyStatus "port-status"
macrokUSBHostPortPropertyOvercurrent
#define kUSBHostPortPropertyOvercurrent "UsbHostPortOvercurrent"
macrokUSBHostPortPropertyPortNumber
#define kUSBHostPortPropertyPortNumber "port"
macrokUSBHostPortPropertyRemovable
#define kUSBHostPortPropertyRemovable "removable"
macrokUSBHostPortPropertyTestMode
#define kUSBHostPortPropertyTestMode "kUSBTestMode"
macrokUSBHostPortPropertyUsb3ComplianceMode
#define kUSBHostPortPropertyUsb3ComplianceMode "kUSBHostPortPropertyUsb3ComplianceMode"
macrokUSBHostPortPropertySimulateInterrupt
#define kUSBHostPortPropertySimulateInterrupt "kUSBSimulateInterrupt"
macrokUSBHostPortPropertyBusCurrentAllocation
#define kUSBHostPortPropertyBusCurrentAllocation "kUSBBusCurrentAllocation"
macrokUSBHostPortPropertyBusCurrentSleepAllocation
#define kUSBHostPortPropertyBusCurrentSleepAllocation "kUSBBusCurrentSleepAllocation"
macrokUSBHostPortPropertyConnectable
#define kUSBHostPortPropertyConnectable "UsbConnectable"
macrokUSBHostPortPropertyConnectorType
#define kUSBHostPortPropertyConnectorType "UsbConnector"
macrokUSBHostPortPropertyCompanionIndex
#define kUSBHostPortPropertyCompanionIndex "kUSBCompanionIndex"
macrokUSBHostPortPropertyDisconnectInterval
#define kUSBHostPortPropertyDisconnectInterval "kUSBDisconnectInterval"
macrokUSBHostPortPropertyUsbCPortNumber
#define kUSBHostPortPropertyUsbCPortNumber "UsbCPortNumber"
macrokUSBHostPortPropertyCompanionPortNumber
#define kUSBHostPortPropertyCompanionPortNumber "UsbCompanionPortNumber"
OSData key to set/get the port number of the companion port
macrokUSBHostPortPropertyPowerSource
#define kUSBHostPortPropertyPowerSource "UsbPowerSource"
macrokUSBHostPortPropertyUSB3Mode
#define kUSBHostPortPropertyUSB3Mode "Usb3Mode"
macrokUSBHostPortPropertyExternalDeviceResetController
#define kUSBHostPortPropertyExternalDeviceResetController "kUSBHostPortExternalDeviceResetController"
macrokUSBHostPortPropertyExternalDevicePowerController
#define kUSBHostPortPropertyExternalDevicePowerController "kUSBHostPortExternalDevicePowerController"
macrokUSBHostPortPropertyCardReader
#define kUSBHostPortPropertyCardReader "kUSBHostPortPropertyCardReader"
macrokUSBHostPortPropertyCardReaderValidateDescriptors
#define kUSBHostPortPropertyCardReaderValidateDescriptors "kUSBHostPortPropertyCardReaderValidateDescriptors"
macrokUSBHostPortPropertyLinkSpeedLimit
#define kUSBHostPortPropertyLinkSpeedLimit "UsbHostPortLinkSpeedLimit"
OSNumber tIOUSBHostConnectionSpeed limit imposed by the AppleUSBHostPort
macrokUSBHostPortPropertyIOPortServicePath
#define kUSBHostPortPropertyIOPortServicePath "UsbIOPort"
OSString registry path of the IOPort service controlling the USB port's power state
macrokUSBHostPortPropertyProtocolCompanionRevision1
#define kUSBHostPortPropertyProtocolCompanionRevision1 "UsbProtocolCompanion (1.x)"
OSString registry path of the AppleUSBHostPort service managing USB 1.x connections
macrokUSBHostPortPropertyProtocolCompanionRevision2
#define kUSBHostPortPropertyProtocolCompanionRevision2 "UsbProtocolCompanion (2.0)"
OSString registry path of the AppleUSBHostPort service managing USB 2.0 connections
macrokUSBHostPortPropertyProtocolCompanionRevision3
#define kUSBHostPortPropertyProtocolCompanionRevision3 "UsbProtocolCompanion (3.x)"
OSString registry path of the AppleUSBHostPort service managing USB 3.x connections
macrokUSBHostPortPropertyProtocolRevision1
#define kUSBHostPortPropertyProtocolRevision1 "UsbProtocol (1.x)"
OSBoolean true to indicate USB 1.x (low-speed, full-speed) is supported
macrokUSBHostPortPropertyProtocolRevision2
#define kUSBHostPortPropertyProtocolRevision2 "UsbProtocol (2.0)"
OSBoolean true to indicate USB 2.0 (high-speed) is supported
macrokUSBHostPortPropertyProtocolRevision3
#define kUSBHostPortPropertyProtocolRevision3 "UsbProtocol (3.x)"
OSBoolean true to indicate USB 3.x (superspeed, superspeed plus) is supported
macrokUSBHostPortPropertyProtocolRevision4
#define kUSBHostPortPropertyProtocolRevision4 "UsbProtocol (4.0)"
OSBoolean true to indicate USB 4.0 (GenT) is supported
macrokUSBHostPortPropertyUSB2Repeater
#define kUSBHostPortPropertyUSB2Repeater "Usb2Repeater"
OSBoolean true to indicate there is a USB2 repeater in the hardware channel
macrokUSBHostPortPropertyUSB2ExternalRemoteWake
#define kUSBHostPortPropertyUSB2ExternalRemoteWake "Usb2ExternalRemoteWake"
OSBoolean true to indicate port microcontroller is responsible for USB2 remote wake
macrokUSBHostPortPropertyTransportState
#define kUSBHostPortPropertyTransportState "UsbTransportState"
OSString registry path of the IOPortTransportState service associated with the port
macrokUSBHostHubPropertyPowerSupply
#define kUSBHostHubPropertyPowerSupply "kUSBHubPowerSupply"
OSNumber mA available for downstream ports, 0 for bus-powered
macrokUSBHostHubPropertyIdlePolicy
#define kUSBHostHubPropertyIdlePolicy "kUSBHubIdlePolicy"
OSNumber ms to be used as device idle policy
macrokUSBHostHubPropertyStartupDelay
#define kUSBHostHubPropertyStartupDelay "kUSBHubStartupDelay"
OSNumber ms delay before creating downstream ports
macrokUSBHostHubPropertyPortSequenceDelay
#define kUSBHostHubPropertyPortSequenceDelay "kUSBHubPortSequenceDelay"
OSNumber ms delay between port creation
macrokUSBHostHubPropertyHubPowerSupplyType
#define kUSBHostHubPropertyHubPowerSupplyType "kUSBHubPowerSupplyType"
OSNumber for tPowerSupply hub is, 2 for bus-powered, 1 for self
macrokUSBHostControllerPropertyIsochronousRequiresContiguous
#define kUSBHostControllerPropertyIsochronousRequiresContiguous "kUSBIsochronousRequiresContiguous"
macrokUSBHostControllerPropertySleepSupported
#define kUSBHostControllerPropertySleepSupported "kUSBSleepSupported"
macrokUSBHostControllerPropertyRTD3Supported
#define kUSBHostControllerPropertyRTD3Supported "UsbRTD3Supported"
macrokUSBHostControllerPropertyCompanion
#define kUSBHostControllerPropertyCompanion "kUSBCompanion"
OSBoolean false to disable all companion controllers
macrokUSBHostControllerPropertyLowSpeedCompanion
#define kUSBHostControllerPropertyLowSpeedCompanion "kUSBLowSpeedCompanion"
OSBoolean false to disable low-speed companion controller
macrokUSBHostControllerPropertyFullSpeedCompanion
#define kUSBHostControllerPropertyFullSpeedCompanion "kUSBFullSpeedCompanion"
OSBoolean false to disable full-speed companion controller
macrokUSBHostControllerPropertyHighSpeedCompanion
#define kUSBHostControllerPropertyHighSpeedCompanion "kUSBHighSpeedCompanion"
OSBoolean false to disable high-speed companion controller
macrokUSBHostControllerPropertySuperSpeedCompanion
#define kUSBHostControllerPropertySuperSpeedCompanion "kUSBSuperSpeedCompanion"
OSBoolean false to disable superspeed companion controller
macrokUSBHostControllerPropertyProtocolRevision
#define kUSBHostControllerPropertyProtocolRevision "UsbHostControllerProtocolRevision"
OSString containing highest supported USB protocol (e.g. 2.0 or 3.1)
macrokUSBHostControllerPropertyCompanionControllerName
#define kUSBHostControllerPropertyCompanionControllerName "UsbCompanionControllerName"
OSString key to set/get the name of the service, i.e. companion controller dictionary.
macrokUSBHostControllerPropertyPersistFullSpeedIsochronous
#define kUSBHostControllerPropertyPersistFullSpeedIsochronous "UsbHostControllerPersistFullSpeedIsochronous"
OSBoolean true to reduce commands related to full-speed isochronous endpoints
macrokUSBHostControllerPropertyDeferRegisterService
#define kUSBHostControllerPropertyDeferRegisterService "UsbHostControllerDeferRegisterService"
OSBoolean true to defer registerService call by base class during start
macrokUSBHostControllerPropertyControlRequestPolicy
#define kUSBHostControllerPropertyControlRequestPolicy "UsbHostControllerControlRequestPolicy"
OSNumber containing tUSBControlRequestPolicy
macrokUSBHostControllerPropertyPortWakeSourcesPolicy
#define kUSBHostControllerPropertyPortWakeSourcesPolicy "UsbHostControllerPortWakeSourcesPolicy"
OSNumber containing tUSBPortWakeSourcesPolicy
macrokUSBHostControllerPropertySoftRetryPolicy
#define kUSBHostControllerPropertySoftRetryPolicy "UsbHostControllerSoftRetryPolicy"
OSNumber containing tUSBSoftRetryPolicy
macrokUSBHostControllerPropertyStreamPolicy
#define kUSBHostControllerPropertyStreamPolicy "UsbHostControllerStreamPolicy"
OSNumber containing tUSBStreamPolicy
macrokUSBHostControllerPropertyUSB2LPMPolicy
#define kUSBHostControllerPropertyUSB2LPMPolicy "UsbHostControllerUSB2LPMPolicy"
OSNumber containing tUSBLPMPolicy
macrokUSBHostControllerPropertyUSB3LPMPolicy
#define kUSBHostControllerPropertyUSB3LPMPolicy "UsbHostControllerUSB3LPMPolicy"
OSNumber containing tUSBLPMPolicy
macrokUSBHostControllerPropertyUSB4LPMPolicy
#define kUSBHostControllerPropertyUSB4LPMPolicy "UsbHostControllerUSB4LPMPolicy"
OSNumber containing tUSBLPMPolicy
macrokUSBHostControllerPropertyTierLimit
#define kUSBHostControllerPropertyTierLimit "UsbHostControllerTierLimit"
OSNumber containing the number of tiers supported by this controller (See USB 2.0 § 4.1.1)
macrokUSBHostControllerPropertyInterruptRMBS
#define kUSBHostControllerPropertyInterruptRMBS "UsbHostControllerInterruptRMBS"
OSNumber containing the ns value passed to IOPCIDevice::requireMaxBusStall when interrupt endpoints are in use
macrokUSBHostControllerPropertyIsochronousRMBS
#define kUSBHostControllerPropertyIsochronousRMBS "UsbHostControllerIsochronousRMBS"
OSNumber containing the ns value passed to IOPCIDevice::requireMaxBusStall when isochronous endpoints are in use
macrokUSBHostDevicePropertyAddress
for IOUSBLib compatibility
#define kUSBHostDevicePropertyAddress "kUSBAddress"
macrokUSBHostDevicePropertyManufacturerStringIndex
#define kUSBHostDevicePropertyManufacturerStringIndex "iManufacturer"
macrokUSBHostDevicePropertySerialNumberStringIndex
#define kUSBHostDevicePropertySerialNumberStringIndex "iSerialNumber"
macrokUSBHostDevicePropertyProductStringIndex
#define kUSBHostDevicePropertyProductStringIndex "iProduct"
macrokUSBHostDevicePropertyProductString
#define kUSBHostDevicePropertyProductString "kUSBProductString"
macrokUSBHostDevicePropertyNumConfigs
#define kUSBHostDevicePropertyNumConfigs "bNumConfigurations"
macrokUSBHostDevicePropertyMaxPacketSize
#define kUSBHostDevicePropertyMaxPacketSize "bMaxPacketSize0"
macrokUSBHostDevicePropertyStandardVersion
#define kUSBHostDevicePropertyStandardVersion "bcdUSB"
macrokUSBHostInterfacePropertyStringIndex
#define kUSBHostInterfacePropertyStringIndex "iInterface"
macrokUSBHostInterfacePropertyString
#define kUSBHostInterfacePropertyString "kUSBString"
macrokUSBHostInterfacePropertyNumEndpoints
#define kUSBHostInterfacePropertyNumEndpoints "bNumEndpoints"
macrokAppleMaxPortCurrent
Legacy power properties
#define kAppleMaxPortCurrent "AAPL,current-available"
macrokAppleCurrentExtra
#define kAppleCurrentExtra "AAPL,current-extra"
macrokAppleMaxPortCurrentInSleep
#define kAppleMaxPortCurrentInSleep "AAPL,max-port-current-in-sleep"
macrokAppleCurrentExtraInSleep
#define kAppleCurrentExtraInSleep "AAPL,current-extra-in-sleep"
macrokAppleExternalConnectorBitmap
#define kAppleExternalConnectorBitmap "AAPL,ExternalConnectorBitmap"