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><strong>AAU</strong> Source Code392 /* */393 /* Returns: N/A */394 /* */395 /* Notes/Assumptions: */396 /* */397 /* History: Dave Jiang 07/18/01 Initial Creation */398 /*=======================================================================*/399 void aau_resume(u32 aau_context)400 {401 iop310_aau_t *aau = (iop310_aau_t *) aau_context;402 u32 status;403404 status = *(IOP310_<strong>AAU</strong>ASR);405406 /* if it's already active */407 if(status & <strong>AAU</strong>_ASR_ACTIVE)408 {409 DPRINTK("Accelerator already active\n");410 return;411 }412 else if(status & <strong>AAU</strong>_ASR_ERROR_MASK)413 {414 printk("<strong>80310</strong> <strong>AAU</strong> in error state! Cannot resume\n");415 return;416 }417 else418 {419 *(IOP310_<strong>AAU</strong>ACR) |= <strong>AAU</strong>_ACR_ENABLE;420 }421 }422423 /*=======================================================================*/424 /* Procedure: aau_queue_buffer() */425 /* */White Paper 45

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

Saved successfully!

Ooh no, something went wrong!