dxd - dynax driver framework  2747
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
iokit/dxd_usb.h File Reference
#include "dxd_device.h"
#include <IOKit/usb/IOUSBDevice.h>
#include <IOKit/usb/IOUSBInterface.h>
#include "dx_usb.h"
+ Include dependency graph for iokit/dxd_usb.h:

Classes

class  dxd::usb_device
 
class  dxd::usb_device::pipe
 IOKit: USB pipe class. More...
 

Namespaces

 dxd
 dynax driver framework kernel namespace
 
 StandardUSB
 

Macros

#define abort(...)   Abort()
 
#define clearStall   ClearPipeStall
 
#define controlRequest(packet, data, ptr)   ControlRequest(&packet)
 
#define deviceRequest(client, packet, data, ptr)   DeviceRequest(&packet,0,0)
 
#define getDevice   GetDevice
 
#define getEndpointDescriptor   GetEndpointDescriptor
 
#define getFrameNumber   GetBus()->GetFrameNumber
 
#define getFullConfigurationDescriptor   GetFullConfigurationDescriptor
 
#define getSpeed   GetSpeed
 
#define makeDeviceRequestbmRequestType   USBmakebmRequestType
 
#define reset()   ReEnumerateDevice(0)
 
#define selectAlternateSetting(...)   SetAlternateInterface(iokit_usb_device,__VA_ARGS__)
 
#define setConfiguration(...)   SetConfiguration(this,__VA_ARGS__)
 
#define trace_ctrl(...)   {}
 
#define usb_device   DX_CAT(DX_PRODUCT_ID,_dxd_usb_device)
 IOKit: USB device. More...
 

Enumerations

enum  { kUSBHostConnectionSpeedLow =kUSBDeviceSpeedLow, kUSBHostConnectionSpeedFull =kUSBDeviceSpeedFull, kUSBHostConnectionSpeedHigh =kUSBDeviceSpeedHigh }
 
enum  { kEndpointDescriptorTransferTypeIsochronous =kUSBIsoc, kEndpointDescriptorTransferTypeBulk =kUSBBulk, kEndpointDescriptorTransferTypeInterrupt =kUSBInterrupt }
 
enum  { kEndpointDescriptorDirectionIn =kUSBIn, kEndpointDescriptorDirectionOut =kUSBOut }
 

Variables

typedef::IOUSBConfigurationDescriptor StandardUSB::ConfigurationDescriptor
 
typedef::IOUSBDescriptorHeader StandardUSB::Descriptor
 
typedef::IOUSBDeviceDescriptor StandardUSB::DeviceDescriptor
 
typedef::IOUSBDevRequest StandardUSB::DeviceRequest
 
typedef::IOUSBEndpointDescriptor StandardUSB::EndpointDescriptor
 
typedef::IOUSBInterfaceDescriptor StandardUSB::InterfaceDescriptor
 
typedef::IOUSBCompletionWithTimeStamp IOUSBHostCompletion
 
typedef::IOUSBCompletionActionWithTimeStamp IOUSBHostCompletionAction
 
typedef::IOUSBDevice IOUSBHostDevice
 
typedef::IOUSBInterface IOUSBHostInterface
 
typedef::IOUSBLowLatencyIsocCompletion IOUSBHostIsochronousCompletion
 
typedef::IOUSBLowLatencyIsocCompletionAction IOUSBHostIsochronousCompletionAction
 
typedef::IOUSBLowLatencyIsocFrame IOUSBHostIsochronousFrame
 
typedef::IOUSBPipe IOUSBHostPipe
 
typedef::UInt8 tDeviceRequestDirection
 
typedef::UInt8 tDeviceRequestRecipient
 
typedef::UInt8 tDeviceRequestType
 

Macro Definition Documentation

#define abort (   ...)    Abort()
#define clearStall   ClearPipeStall
#define controlRequest (   packet,
  data,
  ptr 
)    ControlRequest(&packet)
#define deviceRequest (   client,
  packet,
  data,
  ptr 
)    DeviceRequest(&packet,0,0)
#define getDevice   GetDevice
#define getEndpointDescriptor   GetEndpointDescriptor
#define getFrameNumber   GetBus()->GetFrameNumber
#define getFullConfigurationDescriptor   GetFullConfigurationDescriptor
#define getSpeed   GetSpeed
#define makeDeviceRequestbmRequestType   USBmakebmRequestType
#define reset ( )    ReEnumerateDevice(0)
#define selectAlternateSetting (   ...)    SetAlternateInterface(iokit_usb_device,__VA_ARGS__)
#define setConfiguration (   ...)    SetConfiguration(this,__VA_ARGS__)
#define trace_ctrl (   ...)    {}
#define usb_device   DX_CAT(DX_PRODUCT_ID,_dxd_usb_device)

IOKit: USB device.

Enumeration Type Documentation

anonymous enum
Enumerator
kUSBHostConnectionSpeedLow 
kUSBHostConnectionSpeedFull 
kUSBHostConnectionSpeedHigh 
anonymous enum
Enumerator
kEndpointDescriptorTransferTypeIsochronous 
kEndpointDescriptorTransferTypeBulk 
kEndpointDescriptorTransferTypeInterrupt 
anonymous enum
Enumerator
kEndpointDescriptorDirectionIn 
kEndpointDescriptorDirectionOut 

Variable Documentation

typedef::IOUSBCompletionWithTimeStamp IOUSBHostCompletion
typedef::IOUSBCompletionActionWithTimeStamp IOUSBHostCompletionAction
typedef::IOUSBDevice IOUSBHostDevice
typedef::IOUSBInterface IOUSBHostInterface
typedef::IOUSBLowLatencyIsocCompletion IOUSBHostIsochronousCompletion
typedef::IOUSBLowLatencyIsocCompletionAction IOUSBHostIsochronousCompletionAction
typedef::IOUSBLowLatencyIsocFrame IOUSBHostIsochronousFrame
typedef::IOUSBPipe IOUSBHostPipe
typedef::UInt8 tDeviceRequestDirection
typedef::UInt8 tDeviceRequestRecipient
typedef::UInt8 tDeviceRequestType

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Jun 23 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.