----------------------------------------------------------------------- * * PCI MSI interface */
| 530 | * PCI MSI interface |
| 531 | */ |
| 532 | static int |
| 533 | tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount, |
| 534 | int *irqs) |
| 535 | { |
| 536 | phandle_t msi_parent; |
| 537 | |
| 538 | /* XXXX ofw_bus_msimap() don't works for Tegra DT. |
| 539 | ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), &msi_parent, |
| 540 | NULL); |
| 541 | */ |
| 542 | msi_parent = OF_xref_from_node(ofw_bus_get_node(pci)); |
| 543 | return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, |
| 544 | irqs)); |
| 545 | } |
| 546 | |
| 547 | static int |
| 548 | tegra_pcib_release_msi(device_t pci, device_t child, int count, int *irqs) |
nothing calls this directly
no test coverage detected