Lines Matching full:pci
47 #include <dev/pci/pcivar.h>
48 #include <dev/pci/pcireg.h>
49 #include <dev/pci/pcib_private.h>
50 #include <dev/pci/pci_host_generic.h>
98 if (ofw_bus_is_compatible(dev, "cavium,pci-host-thunder-pem")) { in thunder_pem_fdt_probe()
107 thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount, in thunder_pem_fdt_alloc_msi() argument
113 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_alloc_msi()
117 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in thunder_pem_fdt_alloc_msi()
122 thunder_pem_fdt_release_msi(device_t pci, device_t child, int count, int *irqs) in thunder_pem_fdt_release_msi() argument
127 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_release_msi()
131 return (intr_release_msi(pci, child, msi_parent, count, irqs)); in thunder_pem_fdt_release_msi()
135 thunder_pem_fdt_alloc_msix(device_t pci, device_t child, int *irq) in thunder_pem_fdt_alloc_msix() argument
140 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_alloc_msix()
144 return (intr_alloc_msix(pci, child, msi_parent, irq)); in thunder_pem_fdt_alloc_msix()
148 thunder_pem_fdt_release_msix(device_t pci, device_t child, int irq) in thunder_pem_fdt_release_msix() argument
153 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_release_msix()
157 return (intr_release_msix(pci, child, msi_parent, irq)); in thunder_pem_fdt_release_msix()
161 thunder_pem_fdt_map_msi(device_t pci, device_t child, int irq, uint64_t *addr, in thunder_pem_fdt_map_msi() argument
167 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_map_msi()
171 return (intr_map_msi(pci, child, msi_parent, irq, addr, data)); in thunder_pem_fdt_map_msi()