Searched refs:buffsize (Results 1 – 3 of 3) sorted by relevance
/sound/oss/ |
D | dmabuf.c | 82 dmap->buffsize = dma_buffsize; in sound_alloc_dmap() 83 if (dmap->buffsize > dma_pagesize) in sound_alloc_dmap() 84 dmap->buffsize = dma_pagesize; in sound_alloc_dmap() 91 while (start_addr == NULL && dmap->buffsize > PAGE_SIZE) { in sound_alloc_dmap() 92 for (sz = 0, size = PAGE_SIZE; size < dmap->buffsize; sz++, size <<= 1); in sound_alloc_dmap() 93 dmap->buffsize = PAGE_SIZE * (1 << sz); in sound_alloc_dmap() 96 dmap->buffsize /= 2; in sound_alloc_dmap() 104 end_addr = start_addr + dmap->buffsize - 1; in sound_alloc_dmap() 113 …RN_ERR "sound: Got invalid address 0x%lx for %db DMA-buffer\n", (long) start_addr, dmap->buffsize); in sound_alloc_dmap() 118 dmap->raw_buf_phys = dma_map_single(NULL, start_addr, dmap->buffsize, DMA_BIDIRECTIONAL); in sound_alloc_dmap() [all …]
|
D | audio.c | 168 (dmap->raw_buf + dmap->buffsize)) in sync_output() 269 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) in audio_write() 271 … dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs[dev]->dmap_out->buffsize); in audio_write() 585 bsz = dmap->buffsize; in reorganize_buffers() 589 if (bsz == dmap->buffsize) in reorganize_buffers() 620 if (dmap->fragment_size > (dmap->buffsize / 2)) in reorganize_buffers() 621 dmap->fragment_size = (dmap->buffsize / 2); in reorganize_buffers() 636 n = dmap->buffsize / bsz; in reorganize_buffers() 729 if (dmap->fragment_size > dmap->buffsize) in dma_set_fragment() 730 dmap->fragment_size = dmap->buffsize; in dma_set_fragment() [all …]
|
D | dev_table.h | 87 int buffsize; member
|