Home
last modified time | relevance | path

Searched refs:dma_len (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
DSDL_dmaaudio.h41 int dma_len; member
54 #define dma_len (this->hidden->dma_len) macro
DSDL_dmaaudio.c241 munmap(dma_buf, dma_len); in DMA_CloseAudio()
422 dma_len = num_buffers*spec->size; in DMA_OpenAudio()
423 dma_buf = (Uint8 *)mmap(NULL, dma_len, PROT_WRITE, MAP_SHARED, in DMA_OpenAudio()
430 SDL_memset(dma_buf, spec->silence, dma_len); in DMA_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
DSDL_gsyuv.c51 int dma_len; member
184 hwdata->dma_len = hwdata->macroblocks * (16 * 16 + 8 * 8 + 8 * 8) + in GS_CreateYUVOverlay()
188 hwdata->dma_mem = mmap(0, hwdata->dma_len, PROT_READ|PROT_WRITE, in GS_CreateYUVOverlay()
193 SDL_SetError("Unable to map %d bytes for DMA", hwdata->dma_len); in GS_CreateYUVOverlay()
451 munmap(hwdata->dma_mem, hwdata->dma_len); in GS_FreeYUVOverlay()
/external/qemu/hw/
Ddma.c459 static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len) in dma_phony_handler() argument
462 nchan, dma_pos, dma_len); in dma_phony_handler()