/sound/pci/ctxfi/ |
D | ctpcm.c | 256 unsigned long position; in ct_pcm_playback_pointer() local 262 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer() 263 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer() 264 if (position >= runtime->buffer_size) in ct_pcm_playback_pointer() 265 position = 0; in ct_pcm_playback_pointer() 266 return position; in ct_pcm_playback_pointer() 361 unsigned long position; in ct_pcm_capture_pointer() local 367 position = atc->pcm_capture_position(atc, apcm); in ct_pcm_capture_pointer() 368 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer() 369 if (position >= runtime->buffer_size) in ct_pcm_capture_pointer() [all …]
|
D | cttimer.c | 41 unsigned int position; member 75 unsigned int position, dist, interval; in ct_systimer_callback() local 77 position = substream->ops->pointer(substream); in ct_systimer_callback() 78 dist = (position + buffer_size - ti->position) % buffer_size; in ct_systimer_callback() 80 position / period_size != ti->position / period_size) { in ct_systimer_callback() 82 ti->position = position; in ct_systimer_callback() 86 interval = ((period_size - (position % period_size)) in ct_systimer_callback() 209 if (pos / period_size != ti->position / period_size) { in ct_xfitimer_reprogram() 211 ti->position = pos; in ct_xfitimer_reprogram() 365 ti->position = 0; in ct_timer_prepare()
|
D | ctatc.h | 127 int (*output_switch_put)(struct ct_atc *atc, int position); 129 int (*mic_source_switch_put)(struct ct_atc *atc, int position);
|
D | cthardware.h | 84 int (*output_switch_put)(struct hw *hw, int position); 86 int (*mic_source_switch_put)(struct hw *hw, int position);
|
D | ctatc.c | 434 int position; in atc_pcm_playback_position() local 438 position = src->ops->get_ca(src); in atc_pcm_playback_position() 440 if (position < apcm->vm_block->addr) { in atc_pcm_playback_position() 443 position, apcm->vm_block->addr, apcm->vm_block->size); in atc_pcm_playback_position() 444 position = apcm->vm_block->addr; in atc_pcm_playback_position() 451 return (position + size - max_cisz - apcm->vm_block->addr) % size; in atc_pcm_playback_position() 999 static int atc_output_switch_put(struct ct_atc *atc, int position) in atc_output_switch_put() argument 1003 return hw->output_switch_put(hw, position); in atc_output_switch_put() 1013 static int atc_mic_source_switch_put(struct ct_atc *atc, int position) in atc_mic_source_switch_put() argument 1017 return hw->mic_source_switch_put(hw, position); in atc_mic_source_switch_put()
|
D | cthw20k2.c | 1940 static int hw_output_switch_put(struct hw *hw, int position) in hw_output_switch_put() argument 1944 if (position == hw_output_switch_get(hw)) in hw_output_switch_put() 1953 switch (position) { in hw_output_switch_put() 1979 static int hw_mic_source_switch_put(struct hw *hw, int position) in hw_mic_source_switch_put() argument 1983 if (position == hw20k2->mic_source) in hw_mic_source_switch_put() 1986 switch (position) { in hw_mic_source_switch_put() 2000 hw20k2->mic_source = position; in hw_mic_source_switch_put()
|
/sound/firewire/ |
D | amdtp-am824.h | 36 unsigned int position); 39 unsigned int position);
|
D | amdtp-am824.c | 130 unsigned int position) in amdtp_am824_set_pcm_position() argument 135 p->pcm_positions[index] = position; in amdtp_am824_set_pcm_position() 146 unsigned int position) in amdtp_am824_set_midi_position() argument 150 p->midi_position = position; in amdtp_am824_set_midi_position()
|
/sound/soc/fsl/ |
D | fsl_dma.c | 708 dma_addr_t position; in fsl_dma_pointer() local 716 position = in_be32(&dma_channel->sar); in fsl_dma_pointer() 718 position |= (u64)(in_be32(&dma_channel->satr) & in fsl_dma_pointer() 722 position = in_be32(&dma_channel->dar); in fsl_dma_pointer() 724 position |= (u64)(in_be32(&dma_channel->datr) & in fsl_dma_pointer() 736 if (!position) in fsl_dma_pointer() 739 if ((position < dma_private->dma_buf_phys) || in fsl_dma_pointer() 740 (position > dma_private->dma_buf_end)) { in fsl_dma_pointer() 745 frames = bytes_to_frames(runtime, position - dma_private->dma_buf_phys); in fsl_dma_pointer()
|
/sound/core/seq/ |
D | seq_timer.h | 135 int snd_seq_timer_set_position_tick(struct snd_seq_timer *tmr, snd_seq_tick_time_t position); 136 int snd_seq_timer_set_position_time(struct snd_seq_timer *tmr, snd_seq_real_time_t position);
|
D | seq_timer.c | 220 snd_seq_tick_time_t position) in snd_seq_timer_set_position_tick() argument 228 tmr->tick.cur_tick = position; in snd_seq_timer_set_position_tick() 236 snd_seq_real_time_t position) in snd_seq_timer_set_position_time() argument 243 snd_seq_sanity_real_time(&position); in snd_seq_timer_set_position_time() 245 tmr->cur_time = position; in snd_seq_timer_set_position_time()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 725 snd_pcm_uframes_t position = bytes_to_frames(runtime, in hsw_notify_pointer() local 749 if (position > old_position) { in hsw_notify_pointer() 750 if (position < dma_frames) { in hsw_notify_pointer() 751 samples = SST_SAMPLES(runtime, position - old_position); in hsw_notify_pointer() 768 if (position < dma_frames) { in hsw_notify_pointer() 769 samples = SST_SAMPLES(runtime, position); in hsw_notify_pointer() 775 sst_hsw_stream_set_old_position(hsw, stream, position); in hsw_notify_pointer() 792 u32 position; in hsw_pcm_pointer() local 797 position = sst_hsw_get_dsp_position(hsw, pcm_data->stream); in hsw_pcm_pointer() 799 offset = bytes_to_frames(runtime, position); in hsw_pcm_pointer() [all …]
|
D | sst-haswell-ipc.h | 304 u32 position; member 310 u32 position; member 479 struct sst_hsw_stream *stream, u32 *position); 481 struct sst_hsw_stream *stream, u32 *position);
|
/sound/drivers/vx/ |
D | vx_pcm.c | 679 pipe->position += update; in vx_update_pipe_position() 680 if (pipe->position >= (int)runtime->buffer_size) in vx_update_pipe_position() 681 pipe->position %= runtime->buffer_size; in vx_update_pipe_position() 787 return pipe->position; in vx_pcm_playback_pointer() 865 pipe->position = 0; in vx_pcm_prepare()
|
/sound/pci/ |
D | intel8x0m.c | 178 unsigned int position; member 432 ichdev->position = 0; in snd_intel8x0m_setup_periods() 468 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0m_update() 469 ichdev->position %= ichdev->size; in snd_intel8x0m_update() 593 ptr += ichdev->position; in snd_intel8x0m_pcm_pointer()
|
D | intel8x0.c | 365 unsigned int position; member 720 ichdev->position = 0; in snd_intel8x0_setup_periods() 780 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0_update() 782 ichdev->position %= ichdev->size; in snd_intel8x0_update() 861 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger() 1074 unsigned int position; in snd_intel8x0_pcm_pointer() local 1080 position = ichdev->position; in snd_intel8x0_pcm_pointer() 1103 ptr += position; in snd_intel8x0_pcm_pointer() 1106 pos_base = position / ichdev->fragsize1; in snd_intel8x0_pcm_pointer() 2822 pos += ichdev->position; in intel8x0_measure_ac97_clock()
|
/sound/pci/echoaudio/ |
D | echoaudio_dsp.h | 657 u32 position[DSP_MAXPIPES]; member
|
D | echoaudio.h | 304 u32 position; /* ...the number of bytes tranferred member
|
D | echoaudio.c | 609 pipe->position = 0; in init_engine() 766 pipe->position = 0; in pcm_trigger() 814 pipe->position += cnt - pipe->last_counter; in pcm_pointer() 817 pos = bytes_to_frames(substream->runtime, pipe->position); in pcm_pointer() 820 pipe->position -= frames_to_bytes(substream->runtime, bufsize); in pcm_pointer()
|
D | echoaudio_dsp.c | 1079 chip->comm_page->position[pipe_index] = 0; in allocate_pipes() 1090 pipe->dma_counter = &chip->comm_page->position[pipe_index]; in allocate_pipes()
|
/sound/pci/rme9652/ |
D | hdsp.c | 1050 int position; in hdsp_hw_pointer() local 1052 position = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_hw_pointer() 1055 return (position & HDSP_BufferID) ? (hdsp->period_bytes / 4) : 0; in hdsp_hw_pointer() 1057 position &= HDSP_BufferPositionMask; in hdsp_hw_pointer() 1058 position /= 4; in hdsp_hw_pointer() 1059 position &= (hdsp->period_bytes/2) - 1; in hdsp_hw_pointer() 1060 return position; in hdsp_hw_pointer()
|
D | hdspm.c | 1487 int position; in hdspm_hw_pointer() local 1489 position = hdspm_read(hdspm, HDSPM_statusRegister); in hdspm_hw_pointer() 1494 position &= HDSPM_BufferPositionMask; in hdspm_hw_pointer() 1495 position /= 4; /* Bytes per sample */ in hdspm_hw_pointer() 1498 position = (position & HDSPM_BufferID) ? in hdspm_hw_pointer() 1502 return position; in hdspm_hw_pointer()
|
/sound/core/ |
D | Kconfig | 218 will help to identify source file and position containing
|