Changeset View
Changeset View
Standalone View
Standalone View
head/sys/x86/include/bus_dma.h
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
struct bus_dma_tag_common *tc; | struct bus_dma_tag_common *tc; | ||||
tc = (struct bus_dma_tag_common *)dmat; | tc = (struct bus_dma_tag_common *)dmat; | ||||
return (tc->impl->map_complete(dmat, map, segs, nsegs, error)); | return (tc->impl->map_complete(dmat, map, segs, nsegs, error)); | ||||
} | } | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
bool bus_dma_dmar_set_buswide(device_t dev); | bool bus_dma_iommu_set_buswide(device_t dev); | ||||
int bus_dma_dmar_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); | ||||
#endif | #endif | ||||
#endif /* !_X86_BUS_DMA_H_ */ | #endif /* !_X86_BUS_DMA_H_ */ | ||||