|
dxd - dynax driver framework 2.6.0d205
cross platform open source driver development framework
|
WDK: FireWire device. More...
#include <dxd_fw.h>
Classes | |
| class | address |
| IOKit: FireWire address space. More... | |
| class | phy |
| IOKit: FireWire physical address space. More... | |
Public Types | |
| enum | host_property_key { wwuid =::kConfigNodeUniqueIdKey , wwuid =::kConfigNodeUniqueIdKey } |
| IOKit: IOFireWireUnit* implicit cast. More... | |
| enum | host_property_key { wwuid =::kConfigNodeUniqueIdKey , wwuid =::kConfigNodeUniqueIdKey } |
Public Member Functions | |
| fw (::WDFDEVICE_INIT *wdf_device_init, const::GUID &guid) | |
| template<> | |
| os_result | host_property (host_property_key key, uint64_t &value) |
| template<> | |
| os_result | host_property (host_property_key key, uint64_t &value) |
| template<typename value_t> | |
| os_result | host_property (host_property_key, value_t &value) |
| template<typename value_t> | |
| os_result | host_property (host_property_key, value_t &value) |
| template<endian endian_t> | |
| os_result | lock_compare_swap (unsigned int src, unsigned int compare, uint64_t space, int64_t timeout=msec) |
| submit a synchrous FW lock request | |
| template<endian endian_t> | |
| os_result | lock_compare_swap (unsigned int src, unsigned int compare, uint64_t space, int64_t timeout=msec) |
| WDK: submit a synchrous FW lock_compare_swap request. | |
| operator const ::HANDLE () const | |
| operator::IOFireWireUnit * () const | |
| IOKit: IOFireWireUnit* implicit cast. | |
| OSDeclareDefaultStructors (fw) | |
| template<typename type_t> | |
| os_result | query (const ::UNICODE_STRING &key, type_t &value) |
| template<typename key_t, typename type_t> | |
| os_result | query (key_t *key, type_t &value) |
| template<endian endian_t> | |
| os_result | read32 (unsigned int &dst, uint64_t space, int64_t timeout=msec) |
| template<endian endian_t> | |
| os_result | read32 (unsigned int &dst, uint64_t space, int64_t timeout=msec) |
| template<dx::scope scope_t, endian endian_t> | |
| os_result | read32 (unsigned int *dst, size_t size32, uint64_t space, int64_t timeout=msec) |
| template<dx::scope scope_t, endian endian_t> | |
| os_result | read32 (unsigned int *dst, size_t size32, uint64_t space, int64_t timeout=msec) |
| os_result | remove () |
| os_result | set (const ::UNICODE_STRING &key, const ::GUID &value) |
| os_result | set (const ::UNICODE_STRING &key, const ::UNICODE_STRING &value) |
| os_result | set (const ::UNICODE_STRING &key, const char *value) |
| os_result | set (const ::UNICODE_STRING &key, const wchar_t *value) |
| os_result | set (const ::UNICODE_STRING &key, unsigned int value) |
| template<typename key_t, typename type_t> | |
| os_result | set (key_t *key, const type_t &value) |
| template<typename type_t> | |
| unsigned long | type () |
| template<dx::scope scope_t, endian endian_t> | |
| os_result | write32 (const unsigned int *src, size_t size32, uint64_t space, int64_t timeout=msec) |
| template<dx::scope scope_t, endian endian_t> | |
| os_result | write32 (const unsigned int *src, size_t size32, uint64_t space, int64_t timeout=msec) |
| template<endian endian_t> | |
| os_result | write32 (unsigned int src, uint64_t space, int64_t timeout=msec) |
| template<endian endian_t> | |
| os_result | write32 (unsigned int src, uint64_t space, int64_t timeout=msec) |
Public Attributes | |
| os_result | status = not_initialized |
Protected Member Functions | |
| virtual os_result | busreset () |
| WDK: virtual bus reset indication. | |
| virtual os_result | launch () |
| WDK: Main driver entry. | |
| os_result | launch () override |
| IOKit: Main driver entry. | |
| virtual os_result | sleep () |
| WDK: firewire device deinitialization virtual method. | |
| virtual os_result | wake () |
| WDK: firewire device PNP wake virtual method. | |
WDK: FireWire device.
IOKit: FireWire device.
|
inline |
Registers PNP capabilities
|
inlineprotectedvirtual |
WDK: virtual bus reset indication.
| os_result dxd::fw::host_property | ( | host_property_key | key, |
| uint64_t & | value ) |
Checks for valid fw unit object,
|
inline |
| os_result dxd::fw::host_property | ( | host_property_key | , |
| value_t & | value ) |
| os_result dxd::fw::host_property | ( | host_property_key | , |
| value_t & | value ) |
|
inlineprotectedvirtual |
WDK: Main driver entry.
Creates the underlaying WDK IO target and
obtains the current generation count (workaround for device access during launch)
|
inlineoverrideprotected |
IOKit: Main driver entry.
launch() is one of the dynax driver frameword-supplied routines that is called after this driver is loaded. It is responsible for initializing the driver.
creates a bus reset timer event source and
attaches the timer event to workloop.
|
inline |
submit a synchrous FW lock request
Checks for valid fw unit object,
| endian_t | indicates the endianism of the firewire device |
|
inline |
WDK: submit a synchrous FW lock_compare_swap request.
constructs the appropriate irb and submits it to the lower device
| endian_t | indicates the endianism of the firewire device |
|
inlineinherited |
|
inline |
IOKit: IOFireWireUnit* implicit cast.
| dxd::fw::OSDeclareDefaultStructors | ( | fw | ) |
|
inlineinherited |
|
inlineinherited |
|
inline |
Checks for valid fw unit object,
| endian_t | indicates the endianism of the firewire device |
|
inline |
creates a memory object from kernel stack,
checks the kernel buffer memory object,
constructs the appropriate irb and submits it to the lower device
and swaps the returned data.
| endian_t | indicates the endianism of the firewire device |
| os_result dxd::fw::read32 | ( | unsigned int * | dst, |
| size_t | size32, | ||
| uint64_t | space, | ||
| int64_t | timeout = msec ) |
| endian_t | indicates the origin of the pointer indicates the endianism of the firewire device |
| os_result dxd::fw::read32 | ( | unsigned int * | dst, |
| size_t | size32, | ||
| uint64_t | space, | ||
| int64_t | timeout = msec ) |
| endian_t | indicates the origin of the destination pointer indicates the endianism of the firewire device |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedvirtual |
WDK: firewire device deinitialization virtual method.
Deregisters the bus reset notification handler.
|
inherited |
|
inlineprotectedvirtual |
WDK: firewire device PNP wake virtual method.
Obtains the current generation count and
registers the bus reset notification handler.
| os_result dxd::fw::write32 | ( | const unsigned int * | src, |
| size_t | size32, | ||
| uint64_t | space, | ||
| int64_t | timeout = msec ) |
| endian_t | indicates the origin of the pointer indicates the endianism of the firewire device |
| os_result dxd::fw::write32 | ( | const unsigned int * | src, |
| size_t | size32, | ||
| uint64_t | space, | ||
| int64_t | timeout = msec ) |
| endian_t | indicates the origin of the pointer indicates the endianism of the firewire device |
|
inline |
Checks for valid fw unit object,
| endian_t | indicates the endianism of the firewire device |
|
inline |
create a memory object from kernel stack location
check kernel buffer memory object
swap value
constructs the appropriate irb and submits it to the lower device
| endian_t | indicates the endianism of the firewire device |
|
inherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |