Searched refs:QI_LENGTH (Results 1 – 3 of 3) sorted by relevance
1208 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()1260 head = ((head >> qi_shift(iommu)) + QI_LENGTH - 1) % QI_LENGTH; in qi_dump_fault()1315 head = ((head >> shift) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()1318 tail = ((tail >> shift) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()1333 head = (head - 2 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()1415 wait_index = (index + count) % QI_LENGTH; in qi_submit_sync()1419 offset = ((index + i) % QI_LENGTH) << shift; in qi_submit_sync()1421 qi->desc_status[(index + i) % QI_LENGTH] = QI_IN_USE; in qi_submit_sync()1438 qi->free_head = (qi->free_head + count + 1) % QI_LENGTH; in qi_submit_sync()1473 qi->desc_status[(index + i) % QI_LENGTH] = QI_FREE; in qi_submit_sync()[all …]
494 for (index = 0; index < QI_LENGTH; index++) { in invalidation_queue_entry_show()
378 #define QI_LENGTH 256 /* queue length */ macro