Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iommu/intel/
Ddmar.c1180 qi->free_tail = (qi->free_tail + 1) % QI_LENGTH; in reclaim_free_desc()
1232 head = ((head >> qi_shift(iommu)) + QI_LENGTH - 1) % QI_LENGTH; in qi_dump_fault()
1285 head = ((head >> shift) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1288 tail = ((tail >> shift) - 1 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1296 head = (head - 2 + QI_LENGTH) % QI_LENGTH; in qi_check_fault()
1365 wait_index = (index + count) % QI_LENGTH; in qi_submit_sync()
1369 offset = ((index + i) % QI_LENGTH) << shift; in qi_submit_sync()
1371 qi->desc_status[(index + i) % QI_LENGTH] = QI_IN_USE; in qi_submit_sync()
1388 qi->free_head = (qi->free_head + count + 1) % QI_LENGTH; in qi_submit_sync()
1415 qi->desc_status[(index + i) % QI_LENGTH] = QI_DONE; in qi_submit_sync()
[all …]
Ddebugfs.c408 for (index = 0; index < QI_LENGTH; index++) { in invalidation_queue_entry_show()
Diommu.h325 #define QI_LENGTH 256 /* queue length */ macro