Lines Matching refs:seq_id
980 iommu->seq_id = find_first_zero_bit(dmar_seq_ids, in dmar_alloc_seq_id()
982 if (iommu->seq_id >= DMAR_UNITS_SUPPORTED) { in dmar_alloc_seq_id()
983 iommu->seq_id = -1; in dmar_alloc_seq_id()
985 set_bit(iommu->seq_id, dmar_seq_ids); in dmar_alloc_seq_id()
986 sprintf(iommu->name, "dmar%d", iommu->seq_id); in dmar_alloc_seq_id()
989 return iommu->seq_id; in dmar_alloc_seq_id()
994 if (iommu->seq_id >= 0) { in dmar_free_seq_id()
995 clear_bit(iommu->seq_id, dmar_seq_ids); in dmar_free_seq_id()
996 iommu->seq_id = -1; in dmar_free_seq_id()
1033 iommu->seq_id); in alloc_iommu()
1039 iommu->seq_id); in alloc_iommu()
1666 irq = dmar_alloc_hwirq(iommu->seq_id, iommu->node, iommu); in dmar_set_interrupt()