FreeBSD kernel amd64 PCI device code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
static int | pci_hostb_probe (device_t dev) |
static int | pci_hostb_attach (device_t dev) |
static int | pci_hostb_read_ivar (device_t dev, device_t child, int which, uintptr_t *result) |
static int | pci_hostb_write_ivar (device_t dev, device_t child, int which, uintptr_t value) |
static struct resource * | pci_hostb_alloc_resource (device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) |
static int | pci_hostb_release_resource (device_t dev, device_t child, int type, int rid, struct resource *r) |
static uint32_t | pci_hostb_read_config (device_t dev, device_t child, int reg, int width) |
static void | pci_hostb_write_config (device_t dev, device_t child, int reg, uint32_t val, int width) |
static int | pci_hostb_enable_busmaster (device_t dev, device_t child) |
static int | pci_hostb_disable_busmaster (device_t dev, device_t child) |
static int | pci_hostb_enable_io (device_t dev, device_t child, int space) |
static int | pci_hostb_disable_io (device_t dev, device_t child, int space) |
static int | pci_hostb_set_powerstate (device_t dev, device_t child, int state) |
static int | pci_hostb_get_powerstate (device_t dev, device_t child) |
static int | pci_hostb_assign_interrupt (device_t dev, device_t child) |
static int | pci_hostb_find_cap (device_t dev, device_t child, int capability, int *capreg) |
static int | pci_hostb_find_next_cap (device_t dev, device_t child, int capability, int start, int *capreg) |
static int | pci_hostb_find_extcap (device_t dev, device_t child, int capability, int *capreg) |
static int | pci_hostb_find_next_extcap (device_t dev, device_t child, int capability, int start, int *capreg) |
static int | pci_hostb_find_htcap (device_t dev, device_t child, int capability, int *capreg) |
static int | pci_hostb_find_next_htcap (device_t dev, device_t child, int capability, int start, int *capreg) |
DRIVER_MODULE (hostb, pci, pci_hostb_driver, pci_hostb_devclass, 0, 0) | |
Variables | |
static device_method_t | pci_hostb_methods [] |
static driver_t | pci_hostb_driver |
static devclass_t | pci_hostb_devclass |
__FBSDID | ( | "$FreeBSD$" | ) |
DRIVER_MODULE | ( | hostb | , |
pci | , | ||
pci_hostb_driver | , | ||
pci_hostb_devclass | , | ||
0 | , | ||
0 | |||
) |
|
static |
|
static |
Definition at line 191 of file hostb_pci.c.
|
static |
Definition at line 72 of file hostb_pci.c.
|
static |
Definition at line 146 of file hostb_pci.c.
|
static |
Definition at line 164 of file hostb_pci.c.
|
static |
Definition at line 137 of file hostb_pci.c.
|
static |
Definition at line 155 of file hostb_pci.c.
|
static |
Definition at line 200 of file hostb_pci.c.
References capability, capreg, and dev.
|
static |
Definition at line 216 of file hostb_pci.c.
References capability, capreg, and dev.
|
static |
Definition at line 232 of file hostb_pci.c.
References capability, capreg, and dev.
|
static |
Definition at line 208 of file hostb_pci.c.
References capability, capreg, dev, and start.
|
static |
Definition at line 224 of file hostb_pci.c.
References capability, capreg, dev, and start.
|
static |
Definition at line 240 of file hostb_pci.c.
References capability, capreg, dev, and start.
|
static |
Definition at line 182 of file hostb_pci.c.
|
static |
Definition at line 47 of file hostb_pci.c.
References dev, id, PCIC_BRIDGE, and PCIS_BRIDGE_HOST.
|
static |
Definition at line 122 of file hostb_pci.c.
|
static |
Definition at line 90 of file hostb_pci.c.
References dev.
|
static |
Definition at line 112 of file hostb_pci.c.
|
static |
Definition at line 173 of file hostb_pci.c.
|
static |
|
static |
Definition at line 97 of file hostb_pci.c.
|
static |
Definition at line 291 of file hostb_pci.c.
|
static |
Definition at line 285 of file hostb_pci.c.
|
static |
Definition at line 247 of file hostb_pci.c.