dxd - dynax driver framework 2.5.0d148
cross platform open source driver development framework
|
IOKit: USB pipe class. More...
#include <dxd_usb.h>
Classes | |
union | isoc_frame |
Public Types | |
enum | direction { in =::kEndpointDescriptorDirectionIn , out =::kEndpointDescriptorDirectionOut } |
enum | type { isoc =::kEndpointDescriptorTransferTypeIsochronous , bulk =::kEndpointDescriptorTransferTypeBulk , interrupt =::kEndpointDescriptorTransferTypeInterrupt , control = ::UsbdPipeTypeControl , isoc =::kEndpointDescriptorTransferTypeIsochronous , bulk =::kEndpointDescriptorTransferTypeBulk , interrupt =::kEndpointDescriptorTransferTypeInterrupt } |
enum | type { isoc =::kEndpointDescriptorTransferTypeIsochronous , bulk =::kEndpointDescriptorTransferTypeBulk , interrupt =::kEndpointDescriptorTransferTypeInterrupt , control = ::UsbdPipeTypeControl , isoc =::kEndpointDescriptorTransferTypeIsochronous , bulk =::kEndpointDescriptorTransferTypeBulk , interrupt =::kEndpointDescriptorTransferTypeInterrupt } |
Public Member Functions | |
os_result | abort () |
IOKit: abort all outstanding requests and waits until all requests have been finalized. | |
os_result | abort () |
WDK pipe abort. | |
os_result | clear () |
os_result | clear () |
WDK pipe stall reset, toggle. | |
direction | direction () const |
direction | direction () const |
os_result | max_frame_size (unsigned int frame_size) |
os_result | max_frame_size (unsigned int frame_size) |
operator::USBD_PIPE_HANDLE () const | |
pipe (::IOUSBHostDevice *, ::IOUSBHostInterface *iokit_usb_interface, unsigned char address) | |
IOKit: USB pipe class constructor. | |
pipe (const ::DEVICE_OBJECT *wdm_target, const ::USBD_INTERFACE_INFORMATION *usbd_interface, unsigned char address) | |
WDK pipe constructor. | |
os_result | read (::IOMemoryDescriptor *memory, uint64_t &sequence, isoc_frame *frame, unsigned int frames) const |
IOKit: USB synchronous irq/bulk read request. | |
os_result | read (::MDL *mdl, uint64_t &sequence, isoc_frame *frame, unsigned int frames) |
os_result | receive (::IOMemoryDescriptor *memory) |
IOKit: USB asynchronous irq/bulk receive request. | |
os_result | receive (::IOMemoryDescriptor *memory, uint64_t &sequence, isoc_frame *frame, unsigned int frames) |
IOKit: USB asynchronous isochronous read request. | |
os_result | receive (::MDL *mdl) |
WDK: USB asynchronous irq/bulk receive request. | |
os_result | receive (::MDL *mdl, uint64_t &sequence, isoc_frame *frame, unsigned int frames) |
os_result | state () const |
IOKit: IOUSBPipe* implicit cast. | |
os_result | transmit (const ::MDL *mdl) |
WDK: USB asynchronous irq/bulk transmit request. | |
os_result | transmit (const ::MDL *mdl, uint64_t &sequence, isoc_frame *frame, unsigned int frames) |
os_result | transmit (const::IOMemoryDescriptor *memory, uint64_t &sequence, isoc_frame *frame, unsigned int frames) |
IOKit: USB asynchronous isochronous write request. | |
type | type () const |
type | type () const |
template<typename data_t > | |
os_result | write (const data_t &data) const |
template<dx::scope scope_t, typename data_t > | |
os_result | write (const data_t &data) const |
template<typename data_t > | |
os_result | write (const data_t &data) const |
os_result | write (const void *data, size_t size) const |
template<dx::scope scope_t> | |
os_result | write (const void *data, size_t size) const |
os_result | write (const void *data, size_t size) const |
os_result | write (const::IOMemoryDescriptor *memory) const |
IOKit: USB synchronous irq/bulk write request. | |
os_result | write (const::MDL *mdl) const |
WDK: USB synchronous isochronous write request. | |
virtual | ~pipe () |
Public Attributes | |
unsigned char | address |
unsigned short | frame_size =1 |
unsigned char | interval =1 |
os_result | status =not_initialized |
USB pipe status. | |
Protected Member Functions | |
virtual void | received (const void *data, size_t size, int64_t timestamp) |
IOKit: virtual callback indicating a read request has been completed. | |
virtual void | received (const void *data, size_t size, int64_t timestamp, isoc_frame *frame, unsigned int frames) |
virtual void | transmitted (void *data, size_t size, int64_t timestamp, isoc_frame *frame, unsigned int frames) |
IOKit: virtual callback indicating a write request has been completed. | |
IOKit: USB pipe class.
enum dxd::usb_device::pipe::type |
|
inline |
IOKit: USB pipe class constructor.
|
inline |
WDK pipe constructor.
iterates thru all endpoints of the interface setting
|
inlinevirtual |
|
inline |
IOKit: abort all outstanding requests and waits until all requests have been finalized.
|
inline |
WDK pipe abort.
|
inline |
|
inline |
WDK pipe stall reset, toggle.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
IOKit: USB synchronous irq/bulk read request.
IOKit: USB synchronous isochronous read request
memory | memory descriptor of the data to be read |
|
inline |
mdl | memory descriptor of the data to be read |
|
inline |
IOKit: USB asynchronous irq/bulk receive request.
memory | memory descriptor of the data to be read |
|
inline |
IOKit: USB asynchronous isochronous read request.
memory | memory descriptor of the data to be read |
|
inline |
WDK: USB asynchronous irq/bulk receive request.
|
inline |
mdl | memory descriptor of the data to be read |
|
inlineprotectedvirtual |
IOKit: virtual callback indicating a read request has been completed.
|
inlineprotectedvirtual |
|
inline |
IOKit: IOUSBPipe* implicit cast.
IOKit: IOUSBPipe* operator
for internal use only
|
inline |
WDK: USB asynchronous irq/bulk transmit request.
|
inline |
mdl | memory descriptor of the data to be written |
|
inline |
IOKit: USB asynchronous isochronous write request.
memory | memory descriptor of the data to be written |
|
inlineprotectedvirtual |
IOKit: virtual callback indicating a write request has been completed.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
IOKit: USB synchronous irq/bulk write request.
memory | memory descriptor of the data to be written |
|
inline |
unsigned char dxd::usb_device::pipe::address |
unsigned short dxd::usb_device::pipe::frame_size =1 |
unsigned char dxd::usb_device::pipe::interval =1 |
os_result dxd::usb_device::pipe::status =not_initialized |
USB pipe status.
WDK pipe status.
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Aug 22 2025 |