/sound/pci/ctxfi/ |
D | ctpcm.c | 253 unsigned long position; in ct_pcm_playback_pointer() local 259 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer() 260 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer() 261 if (position >= runtime->buffer_size) in ct_pcm_playback_pointer() 262 position = 0; in ct_pcm_playback_pointer() 263 return position; in ct_pcm_playback_pointer() 359 unsigned long position; in ct_pcm_capture_pointer() local 365 position = atc->pcm_capture_position(atc, apcm); in ct_pcm_capture_pointer() 366 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer() 367 if (position >= runtime->buffer_size) in ct_pcm_capture_pointer() [all …]
|
D | cttimer.c | 38 unsigned int position; member 72 unsigned int position, dist, interval; in ct_systimer_callback() local 74 position = substream->ops->pointer(substream); in ct_systimer_callback() 75 dist = (position + buffer_size - ti->position) % buffer_size; in ct_systimer_callback() 77 position / period_size != ti->position / period_size) { in ct_systimer_callback() 79 ti->position = position; in ct_systimer_callback() 83 interval = ((period_size - (position % period_size)) in ct_systimer_callback() 205 if (pos / period_size != ti->position / period_size) { in ct_xfitimer_reprogram() 207 ti->position = pos; in ct_xfitimer_reprogram() 361 ti->position = 0; in ct_timer_prepare()
|
D | ctatc.h | 123 int (*output_switch_put)(struct ct_atc *atc, int position); 125 int (*mic_source_switch_put)(struct ct_atc *atc, int position);
|
D | cthardware.h | 80 int (*output_switch_put)(struct hw *hw, int position); 82 int (*mic_source_switch_put)(struct hw *hw, int position);
|
D | ctatc.c | 431 int position; in atc_pcm_playback_position() local 435 position = src->ops->get_ca(src); in atc_pcm_playback_position() 437 if (position < apcm->vm_block->addr) { in atc_pcm_playback_position() 440 position, apcm->vm_block->addr, apcm->vm_block->size); in atc_pcm_playback_position() 441 position = apcm->vm_block->addr; in atc_pcm_playback_position() 448 return (position + size - max_cisz - apcm->vm_block->addr) % size; in atc_pcm_playback_position() 996 static int atc_output_switch_put(struct ct_atc *atc, int position) in atc_output_switch_put() argument 1000 return hw->output_switch_put(hw, position); in atc_output_switch_put() 1010 static int atc_mic_source_switch_put(struct ct_atc *atc, int position) in atc_mic_source_switch_put() argument 1014 return hw->mic_source_switch_put(hw, position); in atc_mic_source_switch_put()
|
D | cthw20k2.c | 1936 static int hw_output_switch_put(struct hw *hw, int position) in hw_output_switch_put() argument 1940 if (position == hw_output_switch_get(hw)) in hw_output_switch_put() 1949 switch (position) { in hw_output_switch_put() 1975 static int hw_mic_source_switch_put(struct hw *hw, int position) in hw_mic_source_switch_put() argument 1979 if (position == hw20k2->mic_source) in hw_mic_source_switch_put() 1982 switch (position) { in hw_mic_source_switch_put() 1996 hw20k2->mic_source = position; in hw_mic_source_switch_put()
|
/sound/soc/fsl/ |
D | fsl_dma.c | 709 dma_addr_t position; in fsl_dma_pointer() local 717 position = in_be32(&dma_channel->sar); in fsl_dma_pointer() 719 position |= (u64)(in_be32(&dma_channel->satr) & in fsl_dma_pointer() 723 position = in_be32(&dma_channel->dar); in fsl_dma_pointer() 725 position |= (u64)(in_be32(&dma_channel->datr) & in fsl_dma_pointer() 737 if (!position) in fsl_dma_pointer() 740 if ((position < dma_private->dma_buf_phys) || in fsl_dma_pointer() 741 (position > dma_private->dma_buf_end)) { in fsl_dma_pointer() 746 frames = bytes_to_frames(runtime, position - dma_private->dma_buf_phys); in fsl_dma_pointer()
|
/sound/firewire/ |
D | amdtp-am824.h | 36 unsigned int position); 39 unsigned int position);
|
D | amdtp-am824.c | 125 unsigned int position) in amdtp_am824_set_pcm_position() argument 130 p->pcm_positions[index] = position; in amdtp_am824_set_pcm_position() 141 unsigned int position) in amdtp_am824_set_midi_position() argument 145 p->midi_position = position; in amdtp_am824_set_midi_position()
|
/sound/core/seq/ |
D | seq_timer.c | 208 snd_seq_tick_time_t position) in snd_seq_timer_set_position_tick() argument 216 tmr->tick.cur_tick = position; in snd_seq_timer_set_position_tick() 224 snd_seq_real_time_t position) in snd_seq_timer_set_position_time() argument 231 snd_seq_sanity_real_time(&position); in snd_seq_timer_set_position_time() 233 tmr->cur_time = position; in snd_seq_timer_set_position_time()
|
D | seq_timer.h | 120 int snd_seq_timer_set_position_tick(struct snd_seq_timer *tmr, snd_seq_tick_time_t position); 121 int snd_seq_timer_set_position_time(struct snd_seq_timer *tmr, snd_seq_real_time_t position);
|
/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 716 snd_pcm_uframes_t position = bytes_to_frames(runtime, in hsw_notify_pointer() local 740 if (position > old_position) { in hsw_notify_pointer() 741 if (position < dma_frames) { in hsw_notify_pointer() 742 samples = SST_SAMPLES(runtime, position - old_position); in hsw_notify_pointer() 759 if (position < dma_frames) { in hsw_notify_pointer() 760 samples = SST_SAMPLES(runtime, position); in hsw_notify_pointer() 766 sst_hsw_stream_set_old_position(hsw, stream, position); in hsw_notify_pointer() 783 u32 position; in hsw_pcm_pointer() local 788 position = sst_hsw_get_dsp_position(hsw, pcm_data->stream); in hsw_pcm_pointer() 790 offset = bytes_to_frames(runtime, position); in hsw_pcm_pointer() [all …]
|
D | sst-haswell-ipc.h | 297 u32 position; member 303 u32 position; member 472 struct sst_hsw_stream *stream, u32 *position); 474 struct sst_hsw_stream *stream, u32 *position);
|
/sound/soc/sof/ |
D | Kconfig | 124 bool "SOF force to use IPC for position update on SKL+" 126 This option force to handle stream position update IPCs and run pcm 129 On platforms (e.g. Intel SKL-) where position update IPC is the only 131 if you are trying to debug pointer update with position IPCs or where
|
/sound/drivers/vx/ |
D | vx_pcm.c | 664 pipe->position += update; in vx_update_pipe_position() 665 if (pipe->position >= (int)runtime->buffer_size) in vx_update_pipe_position() 666 pipe->position %= runtime->buffer_size; in vx_update_pipe_position() 772 return pipe->position; in vx_pcm_playback_pointer() 850 pipe->position = 0; in vx_pcm_prepare()
|
/sound/pci/ |
D | intel8x0.c | 341 unsigned int position; member 695 ichdev->position = 0; in snd_intel8x0_setup_periods() 736 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0_update() 738 ichdev->position %= ichdev->size; in snd_intel8x0_update() 817 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger() 1014 unsigned int position; in snd_intel8x0_pcm_pointer() local 1020 position = ichdev->position; in snd_intel8x0_pcm_pointer() 1043 ptr += position; in snd_intel8x0_pcm_pointer() 1046 pos_base = position / ichdev->fragsize1; in snd_intel8x0_pcm_pointer() 2733 pos += ichdev->position; in intel8x0_measure_ac97_clock()
|
D | intel8x0m.c | 163 unsigned int position; member 417 ichdev->position = 0; in snd_intel8x0m_setup_periods() 453 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0m_update() 454 ichdev->position %= ichdev->size; in snd_intel8x0m_update() 578 ptr += ichdev->position; in snd_intel8x0m_pcm_pointer()
|
/sound/pci/echoaudio/ |
D | echoaudio_dsp.h | 657 __le32 position[DSP_MAXPIPES]; member
|
D | echoaudio.h | 304 u32 position; /* ...the number of bytes tranferred member
|
D | echoaudio.c | 597 pipe->position = 0; in init_engine() 754 pipe->position = 0; in pcm_trigger() 803 pipe->position += cnt - pipe->last_counter; in pcm_pointer() 806 pos = bytes_to_frames(substream->runtime, pipe->position); in pcm_pointer() 809 pipe->position -= frames_to_bytes(substream->runtime, bufsize); in pcm_pointer()
|
D | echoaudio_dsp.c | 1076 chip->comm_page->position[pipe_index] = 0; in allocate_pipes() 1087 pipe->dma_counter = (__le32 *)&chip->comm_page->position[pipe_index]; in allocate_pipes()
|
/sound/core/ |
D | Kconfig | 152 will help to identify source file and position containing
|
/sound/xen/ |
D | xen_snd_front_evtchnl.c | 123 event->op.cur_pos.position); in evtchnl_interrupt_evt()
|
/sound/pci/rme9652/ |
D | hdsp.c | 1032 int position; in hdsp_hw_pointer() local 1034 position = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_hw_pointer() 1037 return (position & HDSP_BufferID) ? (hdsp->period_bytes / 4) : 0; in hdsp_hw_pointer() 1039 position &= HDSP_BufferPositionMask; in hdsp_hw_pointer() 1040 position /= 4; in hdsp_hw_pointer() 1041 position &= (hdsp->period_bytes/2) - 1; in hdsp_hw_pointer() 1042 return position; in hdsp_hw_pointer()
|
D | hdspm.c | 1476 int position; in hdspm_hw_pointer() local 1478 position = hdspm_read(hdspm, HDSPM_statusRegister); in hdspm_hw_pointer() 1483 position &= HDSPM_BufferPositionMask; in hdspm_hw_pointer() 1484 position /= 4; /* Bytes per sample */ in hdspm_hw_pointer() 1487 position = (position & HDSPM_BufferID) ? in hdspm_hw_pointer() 1491 return position; in hdspm_hw_pointer()
|