FreeBSD/sys/sparc64/sparc64/bus_machdep.c
/*
 * Common function for DMA map synchronization.  May be called
 * by bus-specific DMA map synchronization functions.
 */
Common function for DMA map synchronization.  May be called
by bus-specific DMA map synchronization functions.
Common function for DMA map synchronization . May be called by bus - specific DMA map synchronization functions .
static void
nexus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
{
	if ((op & BUS_DMASYNC_PREREAD) || (op & BUS_DMASYNC_PREWRITE)) {
		membar(Sync);
	}
	if (op & BUS_DMASYNC_POSTWRITE) {
	}
}
static void nexus_dmamap_sync ( bus_dma_tag_t dmat , bus_dmamap_t map , bus_dmasync_op_t op ) { if ( ( op & BUS_DMASYNC_PREREAD ) || ( op & BUS_DMASYNC_PREWRITE ) ) { membar ( Sync ) ; } if ( op & BUS_DMASYNC_POSTWRITE ) { } }
Common function for DMA map synchronization.
Common function for DMA map synchronization .
/*
	 * We sync out our caches, but the bus must do the same.
	 *
	 * Actually a #Sync is expensive.  We should optimize.
	 */ /*
		 * Don't really need to do anything, but flush any pending
		 * writes anyway.
		 */ /* Nothing to do.  Handled by the bus controller. */