Searched refs:wait_index (Results 1 – 2 of 2) sorted by relevance
1057 int wait_index = (index + 1) % QI_LENGTH; in qi_check_fault() local1059 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()1076 memcpy(&qi->desc[index], &qi->desc[wait_index], in qi_check_fault()1104 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()1123 int wait_index, index; in qi_submit_sync() local1142 wait_index = (index + 1) % QI_LENGTH; in qi_submit_sync()1144 qi->desc_status[index] = qi->desc_status[wait_index] = QI_IN_USE; in qi_submit_sync()1150 wait_desc.high = virt_to_phys(&qi->desc_status[wait_index]); in qi_submit_sync()1152 hw[wait_index] = wait_desc; in qi_submit_sync()1155 __iommu_flush_cache(iommu, &hw[wait_index], sizeof(struct qi_desc)); in qi_submit_sync()[all …]
1450 int wait_index = 0; in gdth_wait() local1458 __gdth_interrupt(ha, true, &wait_index); in gdth_wait()1459 if (wait_index == index) { in gdth_wait()