Lines Matching refs:last_bdf
610 int last_devid, last_bdf = 0; in find_last_devid_acpi() local
623 if (last_devid > last_bdf) in find_last_devid_acpi()
624 last_bdf = last_devid; in find_last_devid_acpi()
630 return last_bdf; in find_last_devid_acpi()
666 pci_seg->last_bdf + 1); in alloc_rlookup_table()
682 pci_seg->last_bdf + 1); in alloc_irq_lookup_table()
700 pci_seg->last_bdf + 1); in alloc_alias_table()
707 for (i = 0; i <= pci_seg->last_bdf; ++i) in alloc_alias_table()
1199 for (devid = 0; devid <= pci_seg->last_bdf; devid++) { in __reuse_device_table()
1506 set_dev_entry_from_acpi_range(iommu, 0, pci_seg->last_bdf, e->flags, 0); in init_iommu_from_acpi()
1725 int last_bdf; in alloc_pci_segment() local
1732 last_bdf = find_last_devid_acpi(ivrs_base, id); in alloc_pci_segment()
1733 if (last_bdf < 0) in alloc_pci_segment()
1740 pci_seg->last_bdf = last_bdf; in alloc_pci_segment()
1741 DUMP_printk("PCI segment : 0x%0x, last bdf : 0x%04x\n", id, last_bdf); in alloc_pci_segment()
1743 max(roundup_pow_of_two((last_bdf + 1) * DEV_TABLE_ENTRY_SIZE), in alloc_pci_segment()
2672 e->devid_end = pci_seg->last_bdf; in init_unity_map_range()
2739 for (devid = 0; devid <= pci_seg->last_bdf; ++devid) { in init_device_table_dma()
2754 for (devid = 0; devid <= pci_seg->last_bdf; ++devid) { in uninit_device_table_dma()
2769 for (devid = 0; devid <= pci_seg->last_bdf; ++devid) in init_device_table()