Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/iommu/iommu.h
Show First 20 Lines • Show All 226 Lines • ▼ Show 20 Lines | |||||
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); | ||||
int bus_dma_iommu_load_ident(bus_dma_tag_t dmat, bus_dmamap_t map, | int bus_dma_iommu_load_ident(bus_dma_tag_t dmat, bus_dmamap_t map, | ||||
vm_paddr_t start, vm_size_t length, int flags); | vm_paddr_t start, vm_size_t length, int flags); | ||||
bus_dma_tag_t iommu_get_dma_tag(device_t dev, device_t child); | |||||
SYSCTL_DECL(_hw_iommu); | SYSCTL_DECL(_hw_iommu); | ||||
#endif /* !_SYS_IOMMU_H_ */ | #endif /* !_SYS_IOMMU_H_ */ |