static int acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, int *irqs) { device_t parent = device_get_parent(bus); return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount, irqs)); }
/* Pass MSI requests up to the nexus. */ static int mptable_hostb_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) { device_t bus; bus = device_get_parent(pcib); return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, irqs)); }
static int thunder_pem_alloc_msi(device_t pci, device_t child, int count, int maxcount, int *irqs) { device_t bus; bus = device_get_parent(pci); return (PCIB_ALLOC_MSI(device_get_parent(bus), child, count, maxcount, irqs)); }
static int legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs, int cpuid) { device_t bus; bus = device_get_parent(pcib); return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, irqs, cpuid)); }