/drivers/media/pci/tw686x/ |
D | tw686x-audio.c | 71 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 * i; in tw686x_pcm_prepare() 182 ac->buf[i].virt = rt->dma_area + period_size * i; in tw686x_pcm_prepare()
|
D | tw686x.h | 137 int period_size; member
|
/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-pcm.c | 58 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()
|
D | bcm2835.h | 79 unsigned int period_size; member
|
/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 77 unsigned int period_size; member 508 chip->period_size = params_period_bytes(hw_params); in snd_cx25821_hw_params() 510 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx25821_hw_params() 519 if (chip->period_size > AUDIO_LINE_SIZE) in snd_cx25821_hw_params() 520 chip->period_size = AUDIO_LINE_SIZE; in snd_cx25821_hw_params() 522 buf->bpl = chip->period_size; in snd_cx25821_hw_params() 535 chip->period_size, chip->num_periods, 1); in snd_cx25821_hw_params() 622 return runtime->period_size * (count & (runtime->periods - 1)); in snd_cx25821_pointer()
|
/drivers/media/pci/cx23885/ |
D | cx23885-alsa.c | 370 chip->period_size = params_period_bytes(hw_params); in snd_cx23885_hw_params() 372 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx23885_hw_params() 381 buf->bpl = chip->period_size; in snd_cx23885_hw_params() 394 chip->period_size, chip->num_periods, 1); in snd_cx23885_hw_params() 480 return runtime->period_size * (count & (runtime->periods-1)); in snd_cx23885_pointer()
|
D | cx23885.h | 344 unsigned int period_size; member
|
/drivers/iio/adc/ |
D | ti_am335x_adc.c | 45 int period_size; member 241 data = dma->buf + dma->current_period * dma->period_size; in tiadc_dma_rx_complete() 244 for (i = 0; i < dma->period_size; i += indio_dev->scan_bytes) { in tiadc_dma_rx_complete() 267 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, in tiadc_start_dma() 274 dma->period_size * 2, in tiadc_start_dma() 275 dma->period_size, DMA_DEV_TO_MEM, in tiadc_start_dma()
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 666 unsigned int period_size, periods; in snd_card_saa7134_hw_params() local 669 period_size = params_period_bytes(hw_params); in snd_card_saa7134_hw_params() 672 if (period_size < 0x100 || period_size > 0x10000) in snd_card_saa7134_hw_params() 676 if (period_size * periods > 1024 * 1024) in snd_card_saa7134_hw_params() 682 dev->dmasound.blksize == period_size) in snd_card_saa7134_hw_params() 693 dev->dmasound.blksize = period_size; in snd_card_saa7134_hw_params() 694 dev->dmasound.bufsize = period_size * periods; in snd_card_saa7134_hw_params()
|
/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 69 unsigned int period_size; member 461 chip->period_size = params_period_bytes(hw_params); in snd_cx88_hw_params() 463 chip->dma_size = chip->period_size * params_periods(hw_params); in snd_cx88_hw_params() 473 buf->bpl = chip->period_size; in snd_cx88_hw_params() 485 chip->period_size, chip->num_periods, 1); in snd_cx88_hw_params() 568 return runtime->period_size * (count & (runtime->periods - 1)); in snd_cx88_pointer()
|
/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 122 runtime->period_size) { in cx18_alsa_announce_pcm_data() 124 runtime->period_size; in cx18_alsa_announce_pcm_data()
|
/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 119 runtime->period_size) { in ivtv_alsa_announce_pcm_data() 121 runtime->period_size; in ivtv_alsa_announce_pcm_data()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 150 runtime->period_size) { in cx231xx_audio_isocirq() 152 runtime->period_size; in cx231xx_audio_isocirq() 237 runtime->period_size) { in cx231xx_audio_bulkirq() 239 runtime->period_size; in cx231xx_audio_bulkirq()
|
/drivers/media/usb/go7007/ |
D | snd-go7007.c | 88 if (gosnd->avail < runtime->period_size) { in parse_audio_stream_data() 92 gosnd->avail -= runtime->period_size; in parse_audio_stream_data()
|
/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 222 if (chip->period_pos >= runtime->period_size) { in tm6000_fillbuf() 223 chip->period_pos -= runtime->period_size; in tm6000_fillbuf()
|
/drivers/media/usb/usbtv/ |
D | usbtv-audio.c | 153 if (period_pos >= runtime->period_size) { in usbtv_audio_urb_received() 154 period_pos -= runtime->period_size; in usbtv_audio_urb_received()
|
/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 172 runtime->period_size) { in cobalt_alsa_announce_pcm_data() 174 runtime->period_size; in cobalt_alsa_announce_pcm_data()
|
/drivers/most/ |
D | most_snd.c | 208 if (channel->period_pos >= runtime->period_size) { in copy_data() 209 channel->period_pos -= runtime->period_size; in copy_data()
|
/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 149 runtime->period_size) { in em28xx_audio_isocirq() 151 runtime->period_size; in em28xx_audio_isocirq()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-ahb-audio.c | 478 substream->runtime->delay = substream->runtime->period_size; in dw_hdmi_trigger()
|