Changeset View
Changeset View
Standalone View
Standalone View
head/sys/kern/bus_if.m
Show First 20 Lines • Show All 241 Lines • ▼ Show 20 Lines | |||||
* activated immediately, the caller is responsible for calling | * activated immediately, the caller is responsible for calling | ||||
* BUS_ACTIVATE_RESOURCE() when it actually uses the resource. | * BUS_ACTIVATE_RESOURCE() when it actually uses the resource. | ||||
* | * | ||||
* @param _dev the parent device of @p _child | * @param _dev the parent device of @p _child | ||||
* @param _child the device which is requesting an allocation | * @param _child the device which is requesting an allocation | ||||
* @param _type the type of resource to allocate | * @param _type the type of resource to allocate | ||||
* @param _rid a pointer to the resource identifier | * @param _rid a pointer to the resource identifier | ||||
* @param _start hint at the start of the resource range - pass | * @param _start hint at the start of the resource range - pass | ||||
* @c 0UL for any start address | * @c 0 for any start address | ||||
* @param _end hint at the end of the resource range - pass | * @param _end hint at the end of the resource range - pass | ||||
* @c ~0UL for any end address | * @c ~0 for any end address | ||||
* @param _count hint at the size of range required - pass @c 1 | * @param _count hint at the size of range required - pass @c 1 | ||||
* for any size | * for any size | ||||
* @param _flags any extra flags to control the resource | * @param _flags any extra flags to control the resource | ||||
* allocation - see @c RF_XXX flags in | * allocation - see @c RF_XXX flags in | ||||
* <sys/rman.h> for details | * <sys/rman.h> for details | ||||
* | * | ||||
* @returns the resource which was allocated or @c NULL if no | * @returns the resource which was allocated or @c NULL if no | ||||
* resource could be allocated | * resource could be allocated | ||||
▲ Show 20 Lines • Show All 460 Lines • Show Last 20 Lines |