FreeBSD kernel amd64 PCI device code
pci_host_generic_fdt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  generic_pcie_fdt_softc
 

Functions

 DECLARE_CLASS (generic_pcie_fdt_driver)
 
struct resource * pci_host_generic_alloc_resource (device_t, device_t, int, int *, rman_res_t, rman_res_t, rman_res_t, u_int)
 
int pci_host_generic_setup_fdt (device_t)
 
int pci_host_generic_attach (device_t)
 
int generic_pcie_get_id (device_t, device_t, enum pci_id_type, uintptr_t *)
 

Function Documentation

◆ DECLARE_CLASS()

DECLARE_CLASS ( generic_pcie_fdt_driver  )

◆ generic_pcie_get_id()

int generic_pcie_get_id ( device_t  pci,
device_t  child,
enum  pci_id_type,
uintptr_t *  id 
)

Definition at line 380 of file pci_host_generic_fdt.c.

References child, pci, PCI_ID_MSI, pcib_get_id, rid, and type.

◆ pci_host_generic_alloc_resource()

struct resource * pci_host_generic_alloc_resource ( device_t  ,
device_t  ,
int  ,
int *  ,
rman_res_t  ,
rman_res_t  ,
rman_res_t  ,
u_int   
)

◆ pci_host_generic_attach()

int pci_host_generic_attach ( device_t  dev)

Definition at line 167 of file pci_host_generic_fdt.c.

References dev, and pci_host_generic_setup_fdt().

Here is the call graph for this function:

◆ pci_host_generic_setup_fdt()