Searched refs:bytes_in_use (Results 1 – 4 of 4) sorted by relevance
/sound/oss/ |
D | dmabuf.c | 174 dmap->bytes_in_use = dmap->buffsize; in dma_init_buffers() 322 adev->dmap_out->bytes_in_use); in DMAbuf_open() 413 local_start_dma(adev, dmap->raw_buf_phys, dmap->bytes_in_use,DMA_MODE_WRITE); in DMAbuf_launch_output() 499 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, adev->dmap_out->bytes_in_use); in DMAbuf_release() 544 local_start_dma(adev, dmap->raw_buf_phys, dmap->bytes_in_use, DMA_MODE_READ); in DMAbuf_activate_recording() 658 pos = dmap->bytes_in_use - pos; in DMAbuf_get_buffer_pointer() 673 if (pos >= dmap->bytes_in_use) in DMAbuf_get_buffer_pointer() 802 if (active_offs >= dmap->bytes_in_use) in find_output_space() 807 offs = (dmap->user_counter % dmap->bytes_in_use) & ~SAMPLE_ROUNDUP; in find_output_space() 808 if (offs < 0 || offs >= dmap->bytes_in_use) { in find_output_space() [all …]
|
D | audio.c | 150 unsigned long offs = dmap->user_counter % dmap->bytes_in_use; in sync_output() 514 count += dmap->bytes_in_use; /* Pointer wrap not handled yet */ in audio_ioctl() 648 dmap->bytes_in_use = n * bsz; in reorganize_buffers() 651 dmap->bytes_in_use; /* Approximately one hour */ in reorganize_buffers() 655 memset(dmap->raw_buf, dmap->neutral_byte, dmap->bytes_in_use); in reorganize_buffers() 892 cinfo.bytes += dmap_in->bytes_in_use; /* Pointer wrap not handled yet */ in dma_ioctl() 910 cinfo.bytes += dmap_out->bytes_in_use; /* Pointer wrap not handled yet */ in dma_ioctl() 932 count += dmap_out->bytes_in_use; /* Pointer wrap not handled yet */ in dma_ioctl()
|
D | soundcard.c | 476 if (size != dmap->bytes_in_use) { in sound_mmap() 477 printk(KERN_WARNING "Sound: mmap() size = %ld. Should be %d\n", size, dmap->bytes_in_use); in sound_mmap() 493 dmap->bytes_in_use); in sound_mmap()
|
D | dev_table.h | 126 int bytes_in_use; member
|