table of contents
PCI_BUS_ALLOC_RESOUR(9) | Hardware Interfaces | PCI_BUS_ALLOC_RESOUR(9) |
NAME¶
pci_bus_alloc_resource - allocate a resource from a parent bus
SYNOPSIS¶
int pci_bus_alloc_resource(struct pci_bus * bus, struct resource * res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf) (void *, const struct resource *, resource_size_t, resource_size_t), void * alignf_data);
ARGUMENTS¶
bus
res
size
align
min
type_mask
alignf
alignf_data
DESCRIPTION¶
Given the PCI bus a device resides on, the size, minimum address, alignment and type, try to find an acceptable resource allocation for a specific device resource.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |