1PCI_BUS_ALLOC_RESOUR(9)       Hardware Interfaces      PCI_BUS_ALLOC_RESOUR(9)
2
3
4

NAME

6       pci_bus_alloc_resource - allocate a resource from a parent bus
7

SYNOPSIS

9       int pci_bus_alloc_resource(struct pci_bus * bus, struct resource * res,
10                                  resource_size_t size, resource_size_t align,
11                                  resource_size_t min, unsigned int type_mask,
12                                  void (*alignf) (void *, struct resource *, resource_size_t, resource_size_t),
13                                  void * alignf_data);
14

ARGUMENTS

16       bus
17           PCI bus
18
19       res
20           resource to allocate
21
22       size
23           size of resource to allocate
24
25       align
26           alignment of resource to allocate
27
28       min
29           minimum /proc/iomem address to allocate
30
31       type_mask
32           IORESOURCE_* type flags
33
34       alignf
35           resource alignment function
36
37       alignf_data
38           data argument for resource alignment function
39

DESCRIPTION

41       Given the PCI bus a device resides on, the size, minimum address,
42       alignment and type, try to find an acceptable resource allocation for a
43       specific device resource.
44
46Kernel Hackers Manual 2.6.         June 2019           PCI_BUS_ALLOC_RESOUR(9)
Impressum