Lines Matching refs:seq_id
988 iommu->seq_id = find_first_zero_bit(dmar_seq_ids, in dmar_alloc_seq_id()
990 if (iommu->seq_id >= DMAR_UNITS_SUPPORTED) { in dmar_alloc_seq_id()
991 iommu->seq_id = -1; in dmar_alloc_seq_id()
993 set_bit(iommu->seq_id, dmar_seq_ids); in dmar_alloc_seq_id()
994 sprintf(iommu->name, "dmar%d", iommu->seq_id); in dmar_alloc_seq_id()
997 return iommu->seq_id; in dmar_alloc_seq_id()
1002 if (iommu->seq_id >= 0) { in dmar_free_seq_id()
1003 clear_bit(iommu->seq_id, dmar_seq_ids); in dmar_free_seq_id()
1004 iommu->seq_id = -1; in dmar_free_seq_id()
1041 iommu->seq_id); in alloc_iommu()
1047 iommu->seq_id); in alloc_iommu()
1787 irq = dmar_alloc_hwirq(iommu->seq_id, iommu->node, iommu); in dmar_set_interrupt()