Searched refs:IODMACommand (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IODMACommand.h | 35 /**************************** class IODMACommand ***************************/ 38 @class IODMACommand 40 @discussion The IODMACommand is supersedes the IOMemoryCursor and greatly enhances the functionality and power of it. The command can be specified to output 64 bit physical addresses and also allows driver writers bypass mapping hardware or get addresses suitable for non-snooped DMA. 42 The command is designed to be very easily subclassable. Most driver writers need to associate some DMA operations with their memory descriptor and usually use a C structure for that purpose. This structure is often kept in a linked list. This IODMACommand has built it <kern/queue.h> linkage and can be derived and 'public:' variables added, giving the developer a structure that can associate a memory descriptor with a particular dma command but will also allow the developer to generate that command and keep the state necessary for tracking it. 46 The IODMACommand can be used in a 'weak-linked' manner. To do this you must avoid using any static member functions. Use the, much slower but safe, weakWithSpecification function. On success a dma command instance will be returned. This instance can then be used to clone as many commands as is needed. Remember deriving from this class can not be done weakly, that is no weak subclassing! 49 class IODMACommand : public IOCommand class in inherits:IOCommand 51 OSDeclareDefaultStructors(IODMACommand); 107 typedef bool (*SegmentFunction)(IODMACommand *target, 117 static bool OutputHost32(IODMACommand *target, 123 #define kIODMACommandOutputHost32 (IODMACommand [all...] |
H A D | IODMAEventSource.h | 33 #include <IOKit/IODMACommand.h> 46 typedef void (*Action)(OSObject *owner, IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount); 50 virtual void completeDMACommand(IODMACommand *dmaCommand); 51 virtual void notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount); 60 virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0); 63 virtual IOReturn queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false);
|
H A D | IODMAController.h | 32 #include <IOKit/IODMACommand.h> 51 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction, 54 virtual void completeDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand); 55 virtual void notifyDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount); 56 virtual IOReturn queryDMACommand(UInt32 dmaIndex, IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false) = 0;
|
H A D | IOMapper.h | 58 #include <IOKit/IODMACommand.h> 129 virtual ppnum_t iovmAllocDMACommand(IODMACommand * command, IOItemCount pageCount); 130 virtual void iovmFreeDMACommand(IODMACommand * command, ppnum_t addr, IOItemCount pageCount);
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IODMACommand.cpp | 37 #include <IOKit/IODMACommand.h> 85 /**************************** class IODMACommand ***************************/ 89 OSDefineMetaClassAndStructors(IODMACommand, IOCommand); 91 OSMetaClassDefineReservedUsed(IODMACommand, 0); 92 OSMetaClassDefineReservedUsed(IODMACommand, 1); 93 OSMetaClassDefineReservedUsed(IODMACommand, 2); 94 OSMetaClassDefineReservedUnused(IODMACommand, 3); 95 OSMetaClassDefineReservedUnused(IODMACommand, 4); 96 OSMetaClassDefineReservedUnused(IODMACommand, 5); 97 OSMetaClassDefineReservedUnused(IODMACommand, [all...] |
H A D | IODMAEventSource.cpp | 84 IOReturn IODMAEventSource::startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount, IOByteCount byteOffset) 114 IOReturn IODMAEventSource::queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle) 134 IODMACommand *dmaCommand = NULL; 140 queue_remove_first(&dmaCommandsCompleted, dmaCommand, IODMACommand *, fCommandChain); 154 void IODMAEventSource::completeDMACommand(IODMACommand *dmaCommand) 158 queue_enter(&dmaCommandsCompleted, dmaCommand, IODMACommand *, fCommandChain); 168 void IODMAEventSource::notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount)
|
H A D | IODMAController.cpp | 89 void IODMAController::completeDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand) 94 void IODMAController::notifyDMACommand(IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount)
|
H A D | IOMapper.cpp | 30 #include <IOKit/IODMACommand.h> 170 ppnum_t IOMapper::iovmAllocDMACommand(IODMACommand * command, IOItemCount pageCount) 175 void IOMapper::iovmFreeDMACommand(IODMACommand * command,
|
H A D | IOMemoryDescriptor.cpp | 43 #include <IOKit/IODMACommand.h> 1422 panic("IOGMD: not wired for the IODMACommand"); 1768 if (params) panic("class %s does not support IODMACommand::kIterateOnly", getMetaClass()->getClassName());
|
Completed in 91 milliseconds