FreeBSD/sys/x86/x86/busdma_machdep.c
/*
 * Utility function to load a physical buffer.  segp contains
 * the starting segment on entrace, and the ending segment on exit.
 */
Utility function to load a physical buffer.  segp contains
the starting segment on entrace, and the ending segment on exit.
Utility function to load a physical buffer . segp contains the starting segment on entrace and the ending segment on exit .
int
_bus_dmamap_load_phys(bus_dma_tag_t dmat, bus_dmamap_t map, vm_paddr_t buf,
    bus_size_t buflen, int flags, bus_dma_segment_t *segs, int *segp)
{
	struct bus_dma_tag_common *tc;
	tc = (struct bus_dma_tag_common *)dmat;
	return (tc->impl->load_phys(dmat, map, buf, buflen, flags, segs,
	    segp));
}
int _bus_dmamap_load_phys ( bus_dma_tag_t dmat , bus_dmamap_t map , vm_paddr_t buf , bus_size_t buflen , int flags , bus_dma_segment_t * segs , int * segp ) { struct bus_dma_tag_common * tc ; tc = ( struct bus_dma_tag_common * ) dmat ; return ( tc -> impl -> load_phys ( dmat , map , buf , buflen , flags , segs , segp ) ) ; }
Utility function to load a physical buffer.
Utility function to load a physical buffer .