Home
last modified time | relevance | path

Searched refs:user_counter (Results 1 – 3 of 3) sorted by relevance

/sound/oss/
Ddmabuf.c174 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_init_buffers()
378 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_output()
395 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0; in dma_reset_input()
790 int occupied_bytes = (dmap->user_counter % dmap->fragment_size); in find_output_space()
806 offs = (dmap->user_counter % dmap->bytes_in_use) & ~SAMPLE_ROUNDUP; in find_output_space()
809 printk("Counter = %ld, bytes=%d\n", dmap->user_counter, dmap->bytes_in_use); in find_output_space()
814 len = active_offs + dmap->bytes_in_use - dmap->user_counter; /* Number of unused bytes in buffer */ in find_output_space()
872 ptr = (dmap->user_counter / dmap->fragment_size) * dmap->fragment_size; in DMAbuf_move_wrpointer()
876 dmap->user_counter += l; in DMAbuf_move_wrpointer()
884 dmap->user_counter -= decr; in DMAbuf_move_wrpointer()
[all …]
Daudio.c147 if ((l = dmap->user_counter % dmap->fragment_size) > 0) in sync_output()
150 unsigned long offs = dmap->user_counter % dmap->bytes_in_use; in sync_output()
518 count = dmap->user_counter - count; in audio_ioctl()
815 info.bytes -= dmap->user_counter % dmap->fragment_size; in dma_ioctl()
935 count = dmap_out->user_counter - count; in dma_ioctl()
Ddev_table.h130 unsigned long user_counter; member