Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iommu/
Ddmar.c1152 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1162 int wait_index = (index + 1) % QI_LENGTH; in qi_check_fault()
1194 head = ((head >> DMAR_IQ_SHIFT) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1197 tail = ((tail >> DMAR_IQ_SHIFT) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1204 head = (head - 2 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1245 wait_index = (index + 1) % QI_LENGTH; in qi_submit_sync()
1257 qi->free_head = (qi->free_head + 2) % QI_LENGTH; in qi_submit_sync()
1408 qi->free_cnt = QI_LENGTH; in __dmar_enable_qi()
1461 qi->desc_status = kcalloc(QI_LENGTH, sizeof(int), GFP_ATOMIC); in dmar_enable_qi()
/Linux-v4.19/include/linux/
Dintel-iommu.h246 #define QI_LENGTH 256 /* queue length */ macro