Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pci_private.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | |||||
void pci_cfg_save(device_t, struct pci_devinfo *, int); | void pci_cfg_save(device_t, struct pci_devinfo *, int); | ||||
int pci_mapsize(uint64_t testval); | int pci_mapsize(uint64_t testval); | ||||
void pci_read_bar(device_t dev, int reg, pci_addr_t *mapp, | void pci_read_bar(device_t dev, int reg, pci_addr_t *mapp, | ||||
pci_addr_t *testvalp, int *bar64); | pci_addr_t *testvalp, int *bar64); | ||||
struct pci_map *pci_add_bar(device_t dev, int reg, pci_addr_t value, | struct pci_map *pci_add_bar(device_t dev, int reg, pci_addr_t value, | ||||
pci_addr_t size); | pci_addr_t size); | ||||
struct resource *pci_reserve_map(device_t dev, device_t child, int type, | |||||
int *rid, rman_res_t start, rman_res_t end, | |||||
rman_res_t count, u_int num, u_int flags); | |||||
struct resource *pci_alloc_multi_resource(device_t dev, device_t child, | struct resource *pci_alloc_multi_resource(device_t dev, device_t child, | ||||
int type, int *rid, rman_res_t start, rman_res_t end, | int type, int *rid, rman_res_t start, rman_res_t end, | ||||
rman_res_t count, u_long num, u_int flags); | rman_res_t count, u_long num, u_int flags); | ||||
int pci_iov_attach_method(device_t bus, device_t dev, | int pci_iov_attach_method(device_t bus, device_t dev, | ||||
struct nvlist *pf_schema, struct nvlist *vf_schema, | struct nvlist *pf_schema, struct nvlist *vf_schema, | ||||
const char *name); | const char *name); | ||||
int pci_iov_detach_method(device_t bus, device_t dev); | int pci_iov_detach_method(device_t bus, device_t dev); | ||||
Show All 10 Lines |