Searched refs:dma_len (Results 1 – 4 of 4) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/audio/dma/ |
D | SDL_dmaaudio.h | 41 int dma_len; member 54 #define dma_len (this->hidden->dma_len) macro
|
D | SDL_dmaaudio.c | 241 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.15/src/video/ps2gs/ |
D | SDL_gsyuv.c | 51 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/ |
D | dma.c | 461 static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len) in dma_phony_handler() argument 464 nchan, dma_pos, dma_len); in dma_phony_handler()
|