Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pcib_private.h
Context not available. | |||||
int pcib_host_res_free(device_t pcib, | int pcib_host_res_free(device_t pcib, | ||||
struct pcib_host_resources *hr); | struct pcib_host_resources *hr); | ||||
int pcib_host_res_decodes(struct pcib_host_resources *hr, int type, | int pcib_host_res_decodes(struct pcib_host_resources *hr, int type, | ||||
u_long start, u_long end, u_int flags); | rman_res_t start, rman_res_t end, u_int flags); | ||||
struct resource *pcib_host_res_alloc(struct pcib_host_resources *hr, | struct resource *pcib_host_res_alloc(struct pcib_host_resources *hr, | ||||
device_t dev, int type, int *rid, u_long start, u_long end, | device_t dev, int type, int *rid, rman_res_t start, | ||||
u_long count, u_int flags); | rman_res_t end, rman_res_t count, u_int flags); | ||||
int pcib_host_res_adjust(struct pcib_host_resources *hr, | int pcib_host_res_adjust(struct pcib_host_resources *hr, | ||||
device_t dev, int type, struct resource *r, u_long start, | device_t dev, int type, struct resource *r, rman_res_t start, | ||||
u_long end); | rman_res_t end); | ||||
#endif | #endif | ||||
/* | /* | ||||
Context not available. | |||||
int slot, int func, uint8_t *busnum); | int slot, int func, uint8_t *busnum); | ||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
struct resource *pci_domain_alloc_bus(int domain, device_t dev, int *rid, | struct resource *pci_domain_alloc_bus(int domain, device_t dev, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags); | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | ||||
int pci_domain_adjust_bus(int domain, device_t dev, | int pci_domain_adjust_bus(int domain, device_t dev, | ||||
struct resource *r, u_long start, u_long end); | struct resource *r, rman_res_t start, rman_res_t end); | ||||
int pci_domain_release_bus(int domain, device_t dev, int rid, | int pci_domain_release_bus(int domain, device_t dev, int rid, | ||||
struct resource *r); | struct resource *r); | ||||
struct resource *pcib_alloc_subbus(struct pcib_secbus *bus, device_t child, | struct resource *pcib_alloc_subbus(struct pcib_secbus *bus, device_t child, | ||||
int *rid, u_long start, u_long end, u_long count, | int *rid, rman_res_t start, rman_res_t end, rman_res_t count, | ||||
u_int flags); | u_int flags); | ||||
void pcib_setup_secbus(device_t dev, struct pcib_secbus *bus, | void pcib_setup_secbus(device_t dev, struct pcib_secbus *bus, | ||||
int min_count); | int min_count); | ||||
Context not available. | |||||
int pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result); | int pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result); | ||||
int pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value); | int pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value); | ||||
struct resource *pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, | struct resource *pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags); | rman_res_t start, rman_res_t end, | ||||
rman_res_t count, u_int flags); | |||||
#ifdef NEW_PCIB | #ifdef NEW_PCIB | ||||
int pcib_adjust_resource(device_t bus, device_t child, int type, | int pcib_adjust_resource(device_t bus, device_t child, int type, | ||||
struct resource *r, u_long start, u_long end); | struct resource *r, rman_res_t start, rman_res_t end); | ||||
int pcib_release_resource(device_t dev, device_t child, int type, int rid, | int pcib_release_resource(device_t dev, device_t child, int type, int rid, | ||||
struct resource *r); | struct resource *r); | ||||
#endif | #endif | ||||
Context not available. |