Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/bus_if.m
Show First 20 Lines • Show All 699 Lines • ▼ Show 20 Lines | |||||
* @param _child the child device | * @param _child the child device | ||||
* @param _domain a pointer to the bus's domain handle identifier | * @param _domain a pointer to the bus's domain handle identifier | ||||
*/ | */ | ||||
METHOD int get_domain { | METHOD int get_domain { | ||||
device_t _dev; | device_t _dev; | ||||
device_t _child; | device_t _child; | ||||
int *_domain; | int *_domain; | ||||
} DEFAULT bus_generic_get_domain; | } DEFAULT bus_generic_get_domain; | ||||
METHOD int alloc_msi { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int _count; | |||||
int *_irqs; | |||||
}; | |||||
METHOD int alloc_msix { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int *_irq; | |||||
}; | |||||
METHOD int map_msi { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int _irq; | |||||
uint64_t *_addr; | |||||
uint32_t *_data; | |||||
}; | |||||
METHOD int map_msix { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int _irq; | |||||
uint64_t *_addr; | |||||
uint32_t *_data; | |||||
}; | |||||
METHOD int release_msi { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int _count; | |||||
int *_irqs; | |||||
}; | |||||
METHOD int release_msix { | |||||
device_t _dev; | |||||
device_t _child; | |||||
int _irq; | |||||
}; |