Searched defs:position (Results 1 - 11 of 11) sorted by relevance

/sound/pci/ctxfi/
H A Dctpcm.c255 unsigned long position; local
260 /* Read out playback position */
261 position = atc->pcm_playback_position(atc, apcm);
262 position = bytes_to_frames(runtime, position);
263 if (position >= runtime->buffer_size)
264 position = 0;
265 return position;
359 unsigned long position; local
364 /* Read out playback position */
[all...]
H A Dcttimer.c41 unsigned int position; member in struct:ct_timer_instance
75 unsigned int position, dist, interval; local
77 position = substream->ops->pointer(substream);
78 dist = (position + buffer_size - ti->position) % buffer_size;
80 position / period_size != ti->position / period_size) {
82 ti->position = position;
86 interval = ((period_size - (position
[all...]
H A Dctatc.c431 int position; local
435 position = src->ops->get_ca(src);
441 return (position + size - max_cisz - apcm->vm_block->addr) % size;
/sound/core/seq/
H A Dseq_timer.c200 /* because it will upset the song position (ticks) */
212 /* set current tick position */
214 snd_seq_tick_time_t position)
222 tmr->tick.cur_tick = position;
228 /* set current real-time position */
230 snd_seq_real_time_t position)
237 snd_seq_sanity_real_time(&position);
239 tmr->cur_time = position;
213 snd_seq_timer_set_position_tick(struct snd_seq_timer *tmr, snd_seq_tick_time_t position) argument
229 snd_seq_timer_set_position_time(struct snd_seq_timer *tmr, snd_seq_real_time_t position) argument
/sound/soc/fsl/
H A Dfsl_dma.c704 * fsl_dma_pointer: determine the current position of the DMA transfer
722 dma_addr_t position; local
730 position = in_be32(&dma_channel->sar);
732 position |= (u64)(in_be32(&dma_channel->satr) &
736 position = in_be32(&dma_channel->dar);
738 position |= (u64)(in_be32(&dma_channel->datr) &
750 if (!position)
753 if ((position < dma_private->dma_buf_phys) ||
754 (position > dma_private->dma_buf_end)) {
759 frames = bytes_to_frames(runtime, position
[all...]
/sound/pci/echoaudio/
H A Dechoaudio.h329 * the current dma position
332 u32 last_counter; /* The last position, which is used
335 u32 position; /* ...the number of bytes tranferred member in struct:audiopipe
H A Dechoaudio_dsp.h657 u32 position[DSP_MAXPIPES]; member in struct:comm_page
/sound/pci/
H A Dintel8x0m.c87 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \
178 unsigned int position; member in struct:ichdev
425 ichdev->position = 0;
461 ichdev->position += step * ichdev->fragsize1;
462 ichdev->position %= ichdev->size;
586 ptr += ichdev->position;
H A Dintel8x0.c117 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \
356 unsigned int position; member in struct:ichdev
703 ichdev->position = 0;
763 ichdev->position += step * ichdev->fragsize1;
765 ichdev->position %= ichdev->size;
844 ichdev->last_pos = ichdev->position;
1057 unsigned int position; local
1063 position = ichdev->position;
1076 ptr += position;
[all...]
/sound/pci/rme9652/
H A Dhdsp.c1009 int position; local
1011 position = hdsp_read(hdsp, HDSP_statusRegister);
1014 return (position & HDSP_BufferID) ? (hdsp->period_bytes / 4) : 0;
1016 position &= HDSP_BufferPositionMask;
1017 position /= 4;
1018 position &= (hdsp->period_bytes/2) - 1;
1019 return position;
H A Dhdspm.c1236 int position; local
1238 position = hdspm_read(hdspm, HDSPM_statusRegister);
1243 position &= HDSPM_BufferPositionMask;
1244 position /= 4; /* Bytes per sample */
1247 position = (position & HDSPM_BufferID) ?
1251 return position;

Completed in 296 milliseconds