Searched refs:raw_buf (Results 1 – 5 of 5) sorted by relevance
/sound/oss/ |
D | dmabuf.c | 67 if (dmap->raw_buf != NULL) in sound_alloc_dmap() 80 dmap->raw_buf = NULL; in sound_alloc_dmap() 116 dmap->raw_buf = start_addr; in sound_alloc_dmap() 130 if (dmap->raw_buf == NULL) in sound_free_dmap() 136 start_addr = (unsigned long) dmap->raw_buf; in sound_free_dmap() 143 free_pages((unsigned long) dmap->raw_buf, sz); in sound_free_dmap() 144 dmap->raw_buf = NULL; in sound_free_dmap() 195 if (dmap->raw_buf == NULL) { in open_dmap() 321 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, in DMAbuf_open() 499 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, adev->dmap_out->bytes_in_use); in DMAbuf_release() [all …]
|
D | audio.c | 153 memset(dmap->raw_buf + offs, dmap->neutral_byte, len); in sync_output() 167 if (((dmap->raw_buf + p * dmap->fragment_size) + dmap->fragment_size) > in sync_output() 168 (dmap->raw_buf + dmap->buffsize)) in sync_output() 171 memset(dmap->raw_buf + p * dmap->fragment_size, in sync_output() 269 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) in audio_write() 271 …,%d), (%lx, %d)\n", (long) dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs… in audio_write() 274 if (dma_buf < audio_devs[dev]->dmap_out->raw_buf) in audio_write() 276 …R "audio: Buffer error 13 (%lx<%lx)\n", (long) dma_buf, (long) audio_devs[dev]->dmap_out->raw_buf); in audio_write() 653 if (dmap->raw_buf) in reorganize_buffers() 655 memset(dmap->raw_buf, dmap->neutral_byte, dmap->bytes_in_use); in reorganize_buffers()
|
D | soundcard.c | 459 if (dmap->raw_buf == NULL) { in sound_mmap() 480 virt_to_phys(dmap->raw_buf) >> PAGE_SHIFT, in sound_mmap() 491 memset(dmap->raw_buf, in sound_mmap()
|
D | dev_table.h | 85 char *raw_buf; member
|
D | vidc.c | 311 dma_start = buf - (unsigned long)dmap->raw_buf_phys + (unsigned long)dmap->raw_buf; in vidc_audio_output_block()
|