Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/iommu/iommu.h
Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | int iommu_gas_map(struct iommu_domain *domain, | ||||
const struct bus_dma_tag_common *common, iommu_gaddr_t size, int offset, | const struct bus_dma_tag_common *common, iommu_gaddr_t size, int offset, | ||||
u_int eflags, u_int flags, vm_page_t *ma, struct iommu_map_entry **res); | u_int eflags, u_int flags, vm_page_t *ma, struct iommu_map_entry **res); | ||||
void iommu_gas_free_region(struct iommu_domain *domain, | void iommu_gas_free_region(struct iommu_domain *domain, | ||||
struct iommu_map_entry *entry); | struct iommu_map_entry *entry); | ||||
int iommu_gas_map_region(struct iommu_domain *domain, | int iommu_gas_map_region(struct iommu_domain *domain, | ||||
struct iommu_map_entry *entry, u_int eflags, u_int flags, vm_page_t *ma); | struct iommu_map_entry *entry, u_int eflags, u_int flags, vm_page_t *ma); | ||||
int iommu_gas_reserve_region(struct iommu_domain *domain, iommu_gaddr_t start, | int iommu_gas_reserve_region(struct iommu_domain *domain, iommu_gaddr_t start, | ||||
iommu_gaddr_t end, struct iommu_map_entry **entry0); | iommu_gaddr_t end, struct iommu_map_entry **entry0); | ||||
int iommu_gas_reserve_region_extend(struct iommu_domain *domain, | |||||
iommu_gaddr_t start, iommu_gaddr_t end); | |||||
void iommu_set_buswide_ctx(struct iommu_unit *unit, u_int busno); | void iommu_set_buswide_ctx(struct iommu_unit *unit, u_int busno); | ||||
bool iommu_is_buswide_ctx(struct iommu_unit *unit, u_int busno); | bool iommu_is_buswide_ctx(struct iommu_unit *unit, u_int busno); | ||||
void iommu_domain_init(struct iommu_unit *unit, struct iommu_domain *domain, | void iommu_domain_init(struct iommu_unit *unit, struct iommu_domain *domain, | ||||
const struct iommu_domain_map_ops *ops); | const struct iommu_domain_map_ops *ops); | ||||
void iommu_domain_fini(struct iommu_domain *domain); | void iommu_domain_fini(struct iommu_domain *domain); | ||||
bool bus_dma_iommu_set_buswide(device_t dev); | bool bus_dma_iommu_set_buswide(device_t dev); | ||||
Show All 10 Lines |