PCI_BUS_ALLOC_RESOURCE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

pci_bus_alloc_resource - allocate a resource from a parent bus  

SYNOPSIS

"SYNOPSIS"

int pci_bus_alloc_resource (struct pci_bus * bus, struct resource * res, unsigned long size, unsigned long align, unsigned long min, unsigned int type_mask, void (*alignf) void *, struct resource *, unsigned long, unsigned long, void * alignf_data);  

ARGUMENTS

bus
PCI bus
res
resource to allocate
size
size of resource to allocate
align
alignment of resource to allocate
min
minimum /proc/iomem address to allocate
type_mask
IORESOURCE_* type flags
alignf
resource alignment function
alignf_data
data argument for resource alignment function
 

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:21 GMT, October 06, 2005