|USBA_HCDI_GET_DEVICE_PRIVATE(9F)||Kernel Functions for Drivers||USBA_HCDI_GET_DEVICE_PRIVATE(9F)|
This is a private function that is not part of the stable DDI. It may be removed or changed at any time.
usba_hcdi_get_device_private() function obtains the private data set by a HCD driver. This private data is created by the HCD driver's optional entry point usba_hcdi_device_init(9E) and is removed during the HCD driver's optional entry point usba_hcdi_device_fini(9E). If an HCD driver does not implement these entry points then the value obtained by a call will always be the null pointer,
The framework provides no form of locking of this data and it is up to the HCD driver to use whatever synchronization primitives it requires if needed.
usba_hcdi_get_device_private() function is generally called from the context of a usba_hcdi(9E) entry point, but may be called from user, kernel, or interrupt context.
|May 7, 2016||OmniOS|