Home
last modified time | relevance | path

Searched refs:QI_LENGTH (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/pci/
Ddmar.c842 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
852 int wait_index = (index + 1) % QI_LENGTH; in qi_check_fault()
886 head = ((head >> DMAR_IQ_SHIFT) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
889 tail = ((tail >> DMAR_IQ_SHIFT) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
896 head = (head - 2 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
937 wait_index = (index + 1) % QI_LENGTH; in qi_submit_sync()
952 qi->free_head = (qi->free_head + 2) % QI_LENGTH; in qi_submit_sync()
1103 qi->free_cnt = QI_LENGTH; in __dmar_enable_qi()
1156 qi->desc_status = kmalloc(QI_LENGTH * sizeof(int), GFP_ATOMIC); in dmar_enable_qi()
1165 qi->free_cnt = QI_LENGTH; in dmar_enable_qi()
/linux-2.6.39/include/linux/
Dintel-iommu.h228 #define QI_LENGTH 256 /* queue length */ macro