Home
last modified time | relevance | path

Searched refs:period_size (Results 1 - 25 of 230) sorted by relevance

12345678910

/kernel/linux/linux-5.10/sound/core/
H A Dpcm_trace.h21 __field( snd_pcm_uframes_t, period_size )
33 __entry->period_size = (substream)->runtime->period_size;
46 (unsigned long)__entry->period_size,
58 __field( snd_pcm_uframes_t, period_size )
68 __entry->period_size = (substream)->runtime->period_size;
79 (unsigned long)__entry->period_size,
117 __field( snd_pcm_uframes_t, period_size )
128 __entry->period_size
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dpcm_trace.h21 __field( snd_pcm_uframes_t, period_size )
33 __entry->period_size = (substream)->runtime->period_size;
46 (unsigned long)__entry->period_size,
58 __field( snd_pcm_uframes_t, period_size )
68 __entry->period_size = (substream)->runtime->period_size;
79 (unsigned long)__entry->period_size,
117 __field( snd_pcm_uframes_t, period_size )
128 __entry->period_size
[all...]
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dcttimer.c69 unsigned int period_size = runtime->period_size; in ct_systimer_callback() local
76 if (dist >= period_size || in ct_systimer_callback()
77 position / period_size != ti->position / period_size) { in ct_systimer_callback()
83 interval = ((period_size - (position % period_size)) in ct_systimer_callback()
104 jiffies + (runtime->period_size * HZ + in ct_systimer_start()
200 unsigned int period_size, rate; in ct_xfitimer_reprogram() local
202 period_size in ct_xfitimer_reprogram()
[all...]
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dcttimer.c69 unsigned int period_size = runtime->period_size; in ct_systimer_callback() local
76 if (dist >= period_size || in ct_systimer_callback()
77 position / period_size != ti->position / period_size) { in ct_systimer_callback()
83 interval = ((period_size - (position % period_size)) in ct_systimer_callback()
104 jiffies + (runtime->period_size * HZ + in ct_systimer_start()
200 unsigned int period_size, rate; in ct_xfitimer_reprogram() local
202 period_size in ct_xfitimer_reprogram()
[all...]
/kernel/linux/linux-5.10/sound/pci/
H A Dsis7019.c76 u16 period_size; member
211 sis_update_sso(voice, voice->period_size); in sis_update_voice()
218 if (voice->vperiod > voice->period_size) { in sis_update_voice()
219 voice->vperiod -= voice->period_size; in sis_update_voice()
220 if (voice->vperiod < voice->period_size) in sis_update_voice()
223 sis_update_sso(voice, voice->period_size); in sis_update_voice()
273 sis_update_sso(voice, voice->period_size); in sis_update_voice()
441 unsigned int period_size, buffer_size; in sis_alloc_timing_voice() local
449 period_size = params_period_size(hw_params); in sis_alloc_timing_voice()
451 needed = (period_size ! in sis_alloc_timing_voice()
706 u16 buffer_size, period_size; sis_prepare_timing_voice() local
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Dsis7019.c75 u16 period_size; member
210 sis_update_sso(voice, voice->period_size); in sis_update_voice()
217 if (voice->vperiod > voice->period_size) { in sis_update_voice()
218 voice->vperiod -= voice->period_size; in sis_update_voice()
219 if (voice->vperiod < voice->period_size) in sis_update_voice()
222 sis_update_sso(voice, voice->period_size); in sis_update_voice()
272 sis_update_sso(voice, voice->period_size); in sis_update_voice()
440 unsigned int period_size, buffer_size; in sis_alloc_timing_voice() local
448 period_size = params_period_size(hw_params); in sis_alloc_timing_voice()
450 needed = (period_size ! in sis_alloc_timing_voice()
705 u16 buffer_size, period_size; sis_prepare_timing_voice() local
[all...]
/kernel/linux/linux-5.10/sound/soc/au1x/
H A Ddma.c37 unsigned int period_size; member
50 stream->period_size = 0; in au1000_release_dma_link()
75 if (stream->period_size == period_bytes && in au1000_setup_dma_link()
81 stream->period_size = period_bytes; in au1000_setup_dma_link()
120 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
122 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
126 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
128 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
144 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_interrupt()
151 set_dma_count1(stream->dma, stream->period_size >> in au1000_dma_interrupt()
[all...]
/kernel/linux/linux-6.6/sound/soc/atmel/
H A Datmel-pcm-pdc.c80 size_t period_size; member
106 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
113 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_dma_irq()
120 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
127 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_dma_irq()
153 prtd->period_size = params_period_bytes(params); in atmel_pcm_hw_params()
157 "(dma_bytes=%zu, period_size=%zu)\n", in atmel_pcm_hw_params()
160 prtd->period_size); in atmel_pcm_hw_params()
211 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_trigger()
213 prtd->period_ptr += prtd->period_size; in atmel_pcm_trigger()
[all...]
/kernel/linux/linux-6.6/sound/soc/au1x/
H A Ddma.c37 unsigned int period_size; member
50 stream->period_size = 0; in au1000_release_dma_link()
75 if (stream->period_size == period_bytes && in au1000_setup_dma_link()
81 stream->period_size = period_bytes; in au1000_setup_dma_link()
120 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
122 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
126 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
128 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
144 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_interrupt()
151 set_dma_count1(stream->dma, stream->period_size >> in au1000_dma_interrupt()
[all...]
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_qmc_audio.c42 size_t period_size; member
70 prtd->period_size = params_period_bytes(params); in qmc_audio_pcm_hw_params()
83 prtd->period_ptr_ended += prtd->period_size; in qmc_audio_pcm_write_complete()
87 prtd->period_ptr_submitted += prtd->period_size; in qmc_audio_pcm_write_complete()
92 prtd->period_ptr_submitted, prtd->period_size, in qmc_audio_pcm_write_complete()
107 if (length != prtd->period_size) { in qmc_audio_pcm_read_complete()
109 length, prtd->period_size); in qmc_audio_pcm_read_complete()
112 prtd->period_ptr_ended += prtd->period_size; in qmc_audio_pcm_read_complete()
116 prtd->period_ptr_submitted += prtd->period_size; in qmc_audio_pcm_read_complete()
121 prtd->period_ptr_submitted, prtd->period_size, in qmc_audio_pcm_read_complete()
[all...]
H A Dfsl_dma.c90 * @buffer period_size: the size of a single period
105 size_t period_size; member
184 dma_private->dma_buf_next += dma_private->period_size; in fsl_dma_update_pointers()
530 size_t period_size = params_period_bytes(hw_params); in fsl_dma_hw_params() local
543 dma_private->period_size = period_size; in fsl_dma_hw_params()
547 (NUM_DMA_LINKS * period_size); in fsl_dma_hw_params()
617 link->count = cpu_to_be32(period_size); in fsl_dma_hw_params()
654 temp_addr += period_size; in fsl_dma_hw_params()
/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusb_stream.c28 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn()
41 s->idle_outsize += lb - s->period_size; in playback_prep_freqn()
43 lb, s->period_size); in playback_prep_freqn()
209 sk->s->period_size = frame_size * period_frames; in usb_stream_new()
304 if (s->idle_outsize + lb + l > s->period_size) in usb_stream_prepare_playback()
320 s->period_size); in usb_stream_prepare_playback()
328 s->idle_outsize += lb - s->period_size; in usb_stream_prepare_playback()
399 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
402 if (l + il > s->period_size) in loop_back()
403 il = s->period_size in loop_back()
[all...]
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusb_stream.c29 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn()
42 s->idle_outsize += lb - s->period_size; in playback_prep_freqn()
44 lb, s->period_size); in playback_prep_freqn()
213 sk->s->period_size = frame_size * period_frames; in usb_stream_new()
310 if (s->idle_outsize + lb + l > s->period_size) in usb_stream_prepare_playback()
326 s->period_size); in usb_stream_prepare_playback()
334 s->idle_outsize += lb - s->period_size; in usb_stream_prepare_playback()
406 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
409 if (l + il > s->period_size) in loop_back()
410 il = s->period_size in loop_back()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
H A Dtw686x-audio.c71 dev->period_size); in tw686x_audio_irq()
135 unsigned int period_size = snd_pcm_lib_period_bytes(ss); in tw686x_pcm_prepare() local
146 (dev->period_size != period_size)) && dev->audio_enabled) in tw686x_pcm_prepare()
162 if (dev->period_size != period_size) { in tw686x_pcm_prepare()
165 dev->period_size = period_size; in tw686x_pcm_prepare()
168 reg |= period_size << AUDIO_DMA_SIZE_SHIFT; in tw686x_pcm_prepare()
181 ac->buf[i].dma = rt->dma_addr + period_size * in tw686x_pcm_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/tw686x/
H A Dtw686x-audio.c71 dev->period_size); in tw686x_audio_irq()
135 unsigned int period_size = snd_pcm_lib_period_bytes(ss); in tw686x_pcm_prepare() local
146 (dev->period_size != period_size)) && dev->audio_enabled) in tw686x_pcm_prepare()
162 if (dev->period_size != period_size) { in tw686x_pcm_prepare()
165 dev->period_size = period_size; in tw686x_pcm_prepare()
168 reg |= period_size << AUDIO_DMA_SIZE_SHIFT; in tw686x_pcm_prepare()
181 ac->buf[i].dma = rt->dma_addr + period_size * in tw686x_pcm_prepare()
[all...]
/kernel/linux/linux-5.10/sound/soc/atmel/
H A Datmel-pcm-pdc.c145 size_t period_size; member
171 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
178 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_dma_irq()
185 prtd->period_ptr += prtd->period_size; in atmel_pcm_dma_irq()
192 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_dma_irq()
221 prtd->period_size = params_period_bytes(params); in atmel_pcm_hw_params()
225 "(dma_bytes=%zu, period_size=%zu)\n", in atmel_pcm_hw_params()
228 prtd->period_size); in atmel_pcm_hw_params()
279 prtd->period_size / params->pdc_xfer_size); in atmel_pcm_trigger()
281 prtd->period_ptr += prtd->period_size; in atmel_pcm_trigger()
[all...]
/kernel/linux/linux-5.10/sound/pci/aw2/
H A Daw2-saa7146.c144 unsigned long period_size, in snd_aw2_saa7146_pcm_init_playback()
169 dw_limit = snd_aw2_saa7146_get_limit(period_size); in snd_aw2_saa7146_pcm_init_playback()
201 unsigned long period_size, in snd_aw2_saa7146_pcm_init_capture()
226 dw_limit = snd_aw2_saa7146_get_limit(period_size); in snd_aw2_saa7146_pcm_init_capture()
141 snd_aw2_saa7146_pcm_init_playback(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) snd_aw2_saa7146_pcm_init_playback() argument
199 snd_aw2_saa7146_pcm_init_capture(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) snd_aw2_saa7146_pcm_init_capture() argument
H A Daw2-saa7146.h42 unsigned long period_size,
47 unsigned long period_size,
/kernel/linux/linux-5.10/sound/soc/dwc/
H A Ddwc-pcm.c30 unsigned int period_pos = tx_ptr % runtime->period_size; \
40 *period_elapsed = period_pos >= runtime->period_size; \
50 unsigned int period_pos = rx_ptr % runtime->period_size; \
60 *period_elapsed = period_pos >= runtime->period_size; \
/kernel/linux/linux-6.6/sound/pci/aw2/
H A Daw2-saa7146.c144 unsigned long period_size, in snd_aw2_saa7146_pcm_init_playback()
169 dw_limit = snd_aw2_saa7146_get_limit(period_size); in snd_aw2_saa7146_pcm_init_playback()
201 unsigned long period_size, in snd_aw2_saa7146_pcm_init_capture()
226 dw_limit = snd_aw2_saa7146_get_limit(period_size); in snd_aw2_saa7146_pcm_init_capture()
141 snd_aw2_saa7146_pcm_init_playback(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) snd_aw2_saa7146_pcm_init_playback() argument
199 snd_aw2_saa7146_pcm_init_capture(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) snd_aw2_saa7146_pcm_init_capture() argument
H A Daw2-saa7146.h42 unsigned long period_size,
47 unsigned long period_size,
/kernel/linux/linux-6.6/sound/soc/dwc/
H A Ddwc-pcm.c30 unsigned int period_pos = tx_ptr % runtime->period_size; \
40 *period_elapsed = period_pos >= runtime->period_size; \
50 unsigned int period_pos = rx_ptr % runtime->period_size; \
60 *period_elapsed = period_pos >= runtime->period_size; \
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c58 if (!alsa_stream->period_size) in bcm2835_playback_fifo()
78 if (alsa_stream->period_offset >= alsa_stream->period_size) { in bcm2835_playback_fifo()
79 alsa_stream->period_offset %= alsa_stream->period_size; in bcm2835_playback_fifo()
179 alsa_stream->period_size = 0; in snd_bcm2835_playback_close()
226 alsa_stream->period_size = snd_pcm_lib_period_bytes(substream); in snd_bcm2835_pcm_prepare()
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c58 if (!alsa_stream->period_size) in bcm2835_playback_fifo()
78 if (alsa_stream->period_offset >= alsa_stream->period_size) { in bcm2835_playback_fifo()
79 alsa_stream->period_offset %= alsa_stream->period_size; in bcm2835_playback_fifo()
178 alsa_stream->period_size = 0; in snd_bcm2835_playback_close()
225 alsa_stream->period_size = snd_pcm_lib_period_bytes(substream); in snd_bcm2835_pcm_prepare()
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
H A Dcx25821-alsa.c77 unsigned int period_size; member
509 chip->period_size = params_period_bytes(hw_params); in snd_cx25821_hw_params()
511 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx25821_hw_params()
520 if (chip->period_size > AUDIO_LINE_SIZE) in snd_cx25821_hw_params()
521 chip->period_size = AUDIO_LINE_SIZE; in snd_cx25821_hw_params()
523 buf->bpl = chip->period_size; in snd_cx25821_hw_params()
536 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params()
623 return runtime->period_size * (count & (runtime->periods - 1)); in snd_cx25821_pointer()

Completed in 16 milliseconds

12345678910