Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pci_private.h
Show All 28 Lines | |||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
* | * | ||||
*/ | */ | ||||
#ifndef _PCI_PRIVATE_H_ | #ifndef _PCI_PRIVATE_H_ | ||||
#define _PCI_PRIVATE_H_ | #define _PCI_PRIVATE_H_ | ||||
#include <sys/locator.h> | |||||
/* | /* | ||||
* Export definitions of the pci bus so that we can more easily share | * Export definitions of the pci bus so that we can more easily share | ||||
* it with "subclass" buses. | * it with "subclass" buses. | ||||
*/ | */ | ||||
DECLARE_CLASS(pci_driver); | DECLARE_CLASS(pci_driver); | ||||
struct pci_softc { | struct pci_softc { | ||||
bus_dma_tag_t sc_dma_tag; | bus_dma_tag_t sc_dma_tag; | ||||
▲ Show 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
void pci_print_verbose(struct pci_devinfo *dinfo); | void pci_print_verbose(struct pci_devinfo *dinfo); | ||||
int pci_freecfg(struct pci_devinfo *dinfo); | int pci_freecfg(struct pci_devinfo *dinfo); | ||||
void pci_child_deleted(device_t dev, device_t child); | void pci_child_deleted(device_t dev, device_t child); | ||||
void pci_child_detached(device_t dev, device_t child); | void pci_child_detached(device_t dev, device_t child); | ||||
int pci_child_location_method(device_t cbdev, device_t child, | int pci_child_location_method(device_t cbdev, device_t child, | ||||
struct sbuf *sb); | struct sbuf *sb); | ||||
int pci_child_pnpinfo_method(device_t cbdev, device_t child, | int pci_child_pnpinfo_method(device_t cbdev, device_t child, | ||||
struct sbuf *sb); | struct sbuf *sb); | ||||
int pci_get_device_path_method(device_t dev, device_t child, | int pci_locator_uefi(const locator_t *loc, device_t child, | ||||
const char *locator, struct sbuf *sb); | struct sbuf *sb); | ||||
int pci_assign_interrupt_method(device_t dev, device_t child); | int pci_assign_interrupt_method(device_t dev, device_t child); | ||||
int pci_resume(device_t dev); | int pci_resume(device_t dev); | ||||
int pci_resume_child(device_t dev, device_t child); | int pci_resume_child(device_t dev, device_t child); | ||||
int pci_suspend_child(device_t dev, device_t child); | int pci_suspend_child(device_t dev, device_t child); | ||||
bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev); | bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev); | ||||
void pci_child_added_method(device_t dev, device_t child); | void pci_child_added_method(device_t dev, device_t child); | ||||
/** Restore the config register state. The state must be previously | /** Restore the config register state. The state must be previously | ||||
Show All 39 Lines |