12.07.2015 Views

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Intel</strong> ® GW80314 I/O <strong>Processor</strong> <strong>DMA</strong> <strong>and</strong> <strong>XOR</strong> <strong>Library</strong><strong>Library</strong> Function PrototypesItemDescriptionOutputPurposeOperationthe number of descriptors returnedReturn Frames completed frames to the channel Free Stack• Get chainHead<strong>DMA</strong><strong>XOR</strong>[4] value for first descriptor in chain• Get chainTail<strong>DMA</strong><strong>XOR</strong>[4] for alst descriptor in chain• Traverse <strong>DMA</strong> channel chain from head to tail, removing descriptors from post queue<strong>and</strong> placing them in free queue.• Adjust chainHead<strong>DMA</strong><strong>XOR</strong>[4]• Return number of descriptors returnedE.2.10void * lib_q_get(XorDma_80314_Type * mgr, enum CHANNELchannel)ItemDescriptionPrototype void * lib_q_get(XorDma_80314_Type * mgr, enum CHANNEL channel)InputOutputPurposeOperationmgr: The XorDma_80314_Type usedchannel: either Channel 0, 1, 2, or 3Return a pointer to the Frame removed from the channel queueRetrieve frame on FIFO sequence from queue.• Get Frame using FIFO• Adjust state of queue to reflect removed frame<strong>APIs</strong> <strong>and</strong> Testbench White Paper 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!