Home
last modified time | relevance | path

Searched refs:period_size (Results 1 – 18 of 18) sorted by relevance

/drivers/media/pci/tw686x/
Dtw686x-audio.c74 dev->period_size); in tw686x_audio_irq()
149 unsigned int period_size = snd_pcm_lib_period_bytes(ss); in tw686x_pcm_prepare() local
160 (dev->period_size != period_size)) && dev->audio_enabled) in tw686x_pcm_prepare()
176 if (dev->period_size != period_size) { in tw686x_pcm_prepare()
179 dev->period_size = period_size; in tw686x_pcm_prepare()
182 reg |= period_size << AUDIO_DMA_SIZE_SHIFT; in tw686x_pcm_prepare()
195 ac->buf[i].dma = rt->dma_addr + period_size * i; in tw686x_pcm_prepare()
196 ac->buf[i].virt = rt->dma_area + period_size * i; in tw686x_pcm_prepare()
Dtw686x.h140 int period_size; member
/drivers/media/pci/cx25821/
Dcx25821-alsa.c90 unsigned int period_size; member
521 chip->period_size = params_period_bytes(hw_params); in snd_cx25821_hw_params()
523 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx25821_hw_params()
532 if (chip->period_size > AUDIO_LINE_SIZE) in snd_cx25821_hw_params()
533 chip->period_size = AUDIO_LINE_SIZE; in snd_cx25821_hw_params()
535 buf->bpl = chip->period_size; in snd_cx25821_hw_params()
548 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params()
635 return runtime->period_size * (count & (runtime->periods - 1)); in snd_cx25821_pointer()
/drivers/media/pci/cx23885/
Dcx23885-alsa.c383 chip->period_size = params_period_bytes(hw_params); in snd_cx23885_hw_params()
385 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx23885_hw_params()
394 buf->bpl = chip->period_size; in snd_cx23885_hw_params()
407 chip->period_size, chip->num_periods, 1); in snd_cx23885_hw_params()
493 return runtime->period_size * (count & (runtime->periods-1)); in snd_cx23885_pointer()
Dcx23885.h348 unsigned int period_size; member
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c679 unsigned int period_size, periods; in snd_card_saa7134_hw_params() local
682 period_size = params_period_bytes(hw_params); in snd_card_saa7134_hw_params()
685 if (period_size < 0x100 || period_size > 0x10000) in snd_card_saa7134_hw_params()
689 if (period_size * periods > 1024 * 1024) in snd_card_saa7134_hw_params()
695 dev->dmasound.blksize == period_size) in snd_card_saa7134_hw_params()
706 dev->dmasound.blksize = period_size; in snd_card_saa7134_hw_params()
707 dev->dmasound.bufsize = period_size * periods; in snd_card_saa7134_hw_params()
/drivers/media/pci/cx88/
Dcx88-alsa.c87 unsigned int period_size; member
478 chip->period_size = params_period_bytes(hw_params); in snd_cx88_hw_params()
480 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx88_hw_params()
490 buf->bpl = chip->period_size; in snd_cx88_hw_params()
502 chip->period_size, chip->num_periods, 1); in snd_cx88_hw_params()
586 return runtime->period_size * (count & (runtime->periods-1)); in snd_cx88_pointer()
/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c137 runtime->period_size) { in cx18_alsa_announce_pcm_data()
139 runtime->period_size; in cx18_alsa_announce_pcm_data()
/drivers/media/usb/cx231xx/
Dcx231xx-audio.c165 runtime->period_size) { in cx231xx_audio_isocirq()
167 runtime->period_size; in cx231xx_audio_isocirq()
251 runtime->period_size) { in cx231xx_audio_bulkirq()
253 runtime->period_size; in cx231xx_audio_bulkirq()
/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c138 runtime->period_size) { in ivtv_alsa_announce_pcm_data()
140 runtime->period_size; in ivtv_alsa_announce_pcm_data()
/drivers/media/usb/go7007/
Dsnd-go7007.c96 if (gosnd->avail < runtime->period_size) { in parse_audio_stream_data()
100 gosnd->avail -= runtime->period_size; in parse_audio_stream_data()
/drivers/media/usb/usbtv/
Dusbtv-audio.c176 if (period_pos >= runtime->period_size) { in usbtv_audio_urb_received()
177 period_pos -= runtime->period_size; in usbtv_audio_urb_received()
/drivers/media/usb/tm6000/
Dtm6000-alsa.c266 if (chip->period_pos >= runtime->period_size) { in tm6000_fillbuf()
267 chip->period_pos -= runtime->period_size; in tm6000_fillbuf()
/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c185 runtime->period_size) { in cobalt_alsa_announce_pcm_data()
187 runtime->period_size; in cobalt_alsa_announce_pcm_data()
/drivers/staging/most/aim-sound/
Dsound.c212 if (channel->period_pos >= runtime->period_size) { in copy_data()
213 channel->period_pos -= runtime->period_size; in copy_data()
/drivers/usb/gadget/function/
Df_uac2.c78 size_t period_size; member
227 pending = prm->hw_ptr % prm->period_size; in agdev_iso_complete()
229 if (pending >= prm->period_size) in agdev_iso_complete()
338 prm->period_size = params_period_bytes(hw_params); in uac2_pcm_hw_params()
356 prm->period_size = 0; in uac2_pcm_hw_free()
/drivers/media/usb/em28xx/
Dem28xx-audio.c152 runtime->period_size) { in em28xx_audio_isocirq()
154 runtime->period_size; in em28xx_audio_isocirq()
/drivers/gpu/drm/bridge/
Ddw-hdmi-ahb-audio.c489 substream->runtime->delay = substream->runtime->period_size; in dw_hdmi_trigger()