DMA_BLOCK( MGA_DMAPAD,		0x00000000, MGA_DMAPAD,		0x00000000, MGA_SETUPADDRESS,	address + start, MGA_SETUPEND,	((address + end) | MGA_PAGPXFER) ); 
DMA_BLOCK(MGA_DMAPAD, 0x00000000, MGA_DMAPAD, 0x00000000, MGA_SETUPADDRESS, address + start, MGA_SETUPEND, ((address + end) | dev_priv->dma_access)); 
static void mga_dma_dispatch_indices( drm_device_t *dev, drm_buf_t *buf,				      unsigned int start, unsigned int end ){	drm_mga_private_t *dev_priv = dev->dev_private;	drm_mga_buf_priv_t *buf_priv = buf->dev_private;	drm_mga_sarea_t *sarea_priv = dev_priv->sarea_priv;	u32 address = (u32) buf->bus_address;	int i = 0;	DMA_LOCALS;	DRM_DEBUG( "indices: buf=%d start=%d end=%d\n", buf->idx, start, end );	if ( start != end ) {		buf_priv->dispatched = 1;		MGA_EMIT_STATE( dev_priv, sarea_priv->dirty );		do {			if ( i < sarea_priv->nbox ) {				mga_emit_clip_rect( dev_priv,						    &sarea_priv->boxes[i] );			}			BEGIN_DMA( 1 );			DMA_BLOCK( MGA_DMAPAD,		0x00000000,				   MGA_DMAPAD,		0x00000000,				   MGA_SETUPADDRESS,	address + start,				   MGA_SETUPEND,	((address + end) |							 MGA_PAGPXFER) );			ADVANCE_DMA();		} while ( ++i < sarea_priv->nbox );	}	if ( buf_priv->discard ) {		AGE_BUFFER( buf_priv );		buf->pending = 0;		buf->used = 0;		buf_priv->dispatched = 0;		mga_freelist_put( dev, buf );	}	FLUSH_DMA();}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6795c985a648d1e90b367cc1387c18205ecca4b8/mga_state.c/clean/drivers/char/drm/mga_state.c