10.07.2015 Views

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

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> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong>Low-Level Design Document3.1.6.2.2 static int aau_start(iop310_aau_t *aau, sw_aau_t *aau_chain);Input:Output:aau – pointer to <strong>AAU</strong> device descriptoraau_chain – pointer to <strong>AAU</strong> descriptor chain to be sent to <strong>AAU</strong>Success/Error conditionPurpose: This function starts the <strong>AAU</strong> or appends an <strong>AAU</strong> chain and resumes the operation whena chain is being processed.Operation:• If <strong>AAU</strong> not active— Write <strong>AAU</strong> descriptor address to ANDAR— Set enable accelerator bit in ACR• Else— Link chain to last <strong>AAU</strong> list tail ANDAR— Flush cache for range of tail descriptor ANDAR— If channel no longer active• Set chain resume bit in ACR• Set last descriptor pointer in <strong>AAU</strong> device descriptor3.1.6.2.3 int aau_request(u32 *aau_context);Input:Output:aau_context – pass by reference <strong>AAU</strong> context. Written back by function.success -- OKfailed -- -EINVALPurpose: This function requests an interrupt for the <strong>AAU</strong> from the kernel and returns the <strong>AAU</strong>descriptor to the driver application.Operation:• Register IRQ with kernel• Increment reference count of <strong>AAU</strong>• Return <strong>AAU</strong> device descriptor to user3.1.6.2.4 int aau_suspend(u32 aau_context);Input:Output:aau_context – <strong>AAU</strong> device contextSuccess/Error conditionPurpose: This function suspends the <strong>AAU</strong> operation. It calls aau_stop() to perform theoperation.Operation:• Unset bit in ACR that enables <strong>AAU</strong> operationWhite Paper 19

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

Saved successfully!

Ooh no, something went wrong!