/drivers/media/pci/tw686x/ |
D | tw686x-audio.c | 74 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()
|
D | tw686x.h | 140 int period_size; member
|
/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 90 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/ |
D | cx23885-alsa.c | 383 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()
|
D | cx23885.h | 348 unsigned int period_size; member
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 679 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/ |
D | cx88-alsa.c | 87 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/ |
D | cx18-alsa-pcm.c | 137 runtime->period_size) { in cx18_alsa_announce_pcm_data() 139 runtime->period_size; in cx18_alsa_announce_pcm_data()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 165 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/ |
D | ivtv-alsa-pcm.c | 138 runtime->period_size) { in ivtv_alsa_announce_pcm_data() 140 runtime->period_size; in ivtv_alsa_announce_pcm_data()
|
/drivers/media/usb/go7007/ |
D | snd-go7007.c | 96 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/ |
D | usbtv-audio.c | 176 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/ |
D | tm6000-alsa.c | 266 if (chip->period_pos >= runtime->period_size) { in tm6000_fillbuf() 267 chip->period_pos -= runtime->period_size; in tm6000_fillbuf()
|
/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 185 runtime->period_size) { in cobalt_alsa_announce_pcm_data() 187 runtime->period_size; in cobalt_alsa_announce_pcm_data()
|
/drivers/staging/most/aim-sound/ |
D | sound.c | 212 if (channel->period_pos >= runtime->period_size) { in copy_data() 213 channel->period_pos -= runtime->period_size; in copy_data()
|
/drivers/usb/gadget/function/ |
D | f_uac2.c | 78 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/ |
D | em28xx-audio.c | 152 runtime->period_size) { in em28xx_audio_isocirq() 154 runtime->period_size; in em28xx_audio_isocirq()
|
/drivers/gpu/drm/bridge/ |
D | dw-hdmi-ahb-audio.c | 489 substream->runtime->delay = substream->runtime->period_size; in dw_hdmi_trigger()
|