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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong>Example Calling Source Codelist->aau_desc->DAR = (u32)dest;list->aau_desc->BC = 1024;/* see iop310-aau.h for more DCR commands */list->aau_desc->DC = <strong>AAU</strong>_DCR_WRITE | <strong>AAU</strong>_DCR_BLKCTRL_1_DF;if(!list->next){list->aau_desc->DC = <strong>AAU</strong>_DCR_IE;break;}list = list->next;}printk("test- Queueing buffer for <strong>AAU</strong> operation\n");err = aau_queue_buffer(aau, head);if(err >= 0){printk("<strong>AAU</strong> Queue Buffer is done...\n");}else{printk("<strong>AAU</strong> Queue Buffer failed...: %d\n", err);}#if 1printk("freeing the <strong>AAU</strong>\n");aau_return_buffer(aau, head->list);aau_free(aau);kfree(src);kfree(dest);kfree((void *)head);#endifWhite Paper 71