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
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 Code1004 {1005 while(retry-- && !sw_desc)1006 {1007 spin_unlock_irq(&free_lock);1008 interruptible_sleep_on_timeout(&wait_q, SLEEP_TIME);1009 spin_lock_irq(&free_lock);1010 if(!list_empty(&free_stack))1011 {1012 sw_desc = SW_ENTRY(free_stack.next);1013 list_del(free_stack.next);1014 }1015 spin_unlock_irq(&free_lock);1016 }10171018 sw_desc = sw_head;1019 spin_lock_irq(&free_lock);1020 while(sw_desc)1021 {1022 sw_desc->status = 0;1023 sw_desc->head = NULL;1024 sw_desc->tail = NULL;1025 list_add(&sw_desc->link, &free_stack);1026 sw_desc = (sw_aau_t *) sw_desc->next;1027 } /* end while */1028 spin_unlock_irq(&dma_free_lock);1029 return NULL;1030 } /* end else */10311032 if(sw_prev)1033 {1034 sw_prev->next = (aau_sgl_t *) sw_desc;1035 sw_prev->aau_desc.NDA = sw_desc->aau_phys;1036 }1037 elseWhite Paper 63