period_size 474 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c substream->runtime->delay = substream->runtime->period_size; period_size 45 drivers/iio/adc/ti_am335x_adc.c int period_size; period_size 241 drivers/iio/adc/ti_am335x_adc.c data = dma->buf + dma->current_period * dma->period_size; period_size 244 drivers/iio/adc/ti_am335x_adc.c for (i = 0; i < dma->period_size; i += indio_dev->scan_bytes) { period_size 267 drivers/iio/adc/ti_am335x_adc.c dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, period_size 274 drivers/iio/adc/ti_am335x_adc.c dma->period_size * 2, period_size 275 drivers/iio/adc/ti_am335x_adc.c dma->period_size, DMA_DEV_TO_MEM, period_size 173 drivers/media/pci/cobalt/cobalt-alsa-pcm.c runtime->period_size) { period_size 175 drivers/media/pci/cobalt/cobalt-alsa-pcm.c runtime->period_size; period_size 123 drivers/media/pci/cx18/cx18-alsa-pcm.c runtime->period_size) { period_size 125 drivers/media/pci/cx18/cx18-alsa-pcm.c runtime->period_size; period_size 369 drivers/media/pci/cx23885/cx23885-alsa.c chip->period_size = params_period_bytes(hw_params); period_size 371 drivers/media/pci/cx23885/cx23885-alsa.c chip->dma_size = chip->period_size * params_periods(hw_params); period_size 380 drivers/media/pci/cx23885/cx23885-alsa.c buf->bpl = chip->period_size; period_size 393 drivers/media/pci/cx23885/cx23885-alsa.c chip->period_size, chip->num_periods, 1); period_size 479 drivers/media/pci/cx23885/cx23885-alsa.c return runtime->period_size * (count & (runtime->periods-1)); period_size 344 drivers/media/pci/cx23885/cx23885.h unsigned int period_size; period_size 77 drivers/media/pci/cx25821/cx25821-alsa.c unsigned int period_size; period_size 508 drivers/media/pci/cx25821/cx25821-alsa.c chip->period_size = params_period_bytes(hw_params); period_size 510 drivers/media/pci/cx25821/cx25821-alsa.c chip->dma_size = chip->period_size * params_periods(hw_params); period_size 519 drivers/media/pci/cx25821/cx25821-alsa.c if (chip->period_size > AUDIO_LINE_SIZE) period_size 520 drivers/media/pci/cx25821/cx25821-alsa.c chip->period_size = AUDIO_LINE_SIZE; period_size 522 drivers/media/pci/cx25821/cx25821-alsa.c buf->bpl = chip->period_size; period_size 535 drivers/media/pci/cx25821/cx25821-alsa.c chip->period_size, chip->num_periods, 1); period_size 622 drivers/media/pci/cx25821/cx25821-alsa.c return runtime->period_size * (count & (runtime->periods - 1)); period_size 69 drivers/media/pci/cx88/cx88-alsa.c unsigned int period_size; period_size 461 drivers/media/pci/cx88/cx88-alsa.c chip->period_size = params_period_bytes(hw_params); period_size 463 drivers/media/pci/cx88/cx88-alsa.c chip->dma_size = chip->period_size * params_periods(hw_params); period_size 473 drivers/media/pci/cx88/cx88-alsa.c buf->bpl = chip->period_size; period_size 485 drivers/media/pci/cx88/cx88-alsa.c chip->period_size, chip->num_periods, 1); period_size 568 drivers/media/pci/cx88/cx88-alsa.c return runtime->period_size * (count & (runtime->periods - 1)); period_size 121 drivers/media/pci/ivtv/ivtv-alsa-pcm.c runtime->period_size) { period_size 123 drivers/media/pci/ivtv/ivtv-alsa-pcm.c runtime->period_size; period_size 665 drivers/media/pci/saa7134/saa7134-alsa.c unsigned int period_size, periods; period_size 668 drivers/media/pci/saa7134/saa7134-alsa.c period_size = params_period_bytes(hw_params); period_size 671 drivers/media/pci/saa7134/saa7134-alsa.c if (period_size < 0x100 || period_size > 0x10000) period_size 675 drivers/media/pci/saa7134/saa7134-alsa.c if (period_size * periods > 1024 * 1024) period_size 681 drivers/media/pci/saa7134/saa7134-alsa.c dev->dmasound.blksize == period_size) period_size 692 drivers/media/pci/saa7134/saa7134-alsa.c dev->dmasound.blksize = period_size; period_size 693 drivers/media/pci/saa7134/saa7134-alsa.c dev->dmasound.bufsize = period_size * periods; period_size 71 drivers/media/pci/tw686x/tw686x-audio.c dev->period_size); period_size 146 drivers/media/pci/tw686x/tw686x-audio.c unsigned int period_size = snd_pcm_lib_period_bytes(ss); period_size 157 drivers/media/pci/tw686x/tw686x-audio.c (dev->period_size != period_size)) && dev->audio_enabled) period_size 173 drivers/media/pci/tw686x/tw686x-audio.c if (dev->period_size != period_size) { period_size 176 drivers/media/pci/tw686x/tw686x-audio.c dev->period_size = period_size; period_size 179 drivers/media/pci/tw686x/tw686x-audio.c reg |= period_size << AUDIO_DMA_SIZE_SHIFT; period_size 192 drivers/media/pci/tw686x/tw686x-audio.c ac->buf[i].dma = rt->dma_addr + period_size * i; period_size 193 drivers/media/pci/tw686x/tw686x-audio.c ac->buf[i].virt = rt->dma_area + period_size * i; period_size 137 drivers/media/pci/tw686x/tw686x.h int period_size; period_size 152 drivers/media/usb/cx231xx/cx231xx-audio.c runtime->period_size) { period_size 154 drivers/media/usb/cx231xx/cx231xx-audio.c runtime->period_size; period_size 239 drivers/media/usb/cx231xx/cx231xx-audio.c runtime->period_size) { period_size 241 drivers/media/usb/cx231xx/cx231xx-audio.c runtime->period_size; period_size 151 drivers/media/usb/em28xx/em28xx-audio.c runtime->period_size) { period_size 153 drivers/media/usb/em28xx/em28xx-audio.c runtime->period_size; period_size 89 drivers/media/usb/go7007/snd-go7007.c if (gosnd->avail < runtime->period_size) { period_size 93 drivers/media/usb/go7007/snd-go7007.c gosnd->avail -= runtime->period_size; period_size 258 drivers/media/usb/tm6000/tm6000-alsa.c if (chip->period_pos >= runtime->period_size) { period_size 259 drivers/media/usb/tm6000/tm6000-alsa.c chip->period_pos -= runtime->period_size; period_size 177 drivers/media/usb/usbtv/usbtv-audio.c if (period_pos >= runtime->period_size) { period_size 178 drivers/media/usb/usbtv/usbtv-audio.c period_pos -= runtime->period_size; period_size 219 drivers/staging/most/sound/sound.c if (channel->period_pos >= runtime->period_size) { period_size 220 drivers/staging/most/sound/sound.c channel->period_pos -= runtime->period_size; period_size 58 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c if (!alsa_stream->period_size) period_size 78 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c if (alsa_stream->period_offset >= alsa_stream->period_size) { period_size 79 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c alsa_stream->period_offset %= alsa_stream->period_size; period_size 179 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c alsa_stream->period_size = 0; period_size 237 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c alsa_stream->period_size = snd_pcm_lib_period_bytes(substream); period_size 79 drivers/staging/vc04_services/bcm2835-audio/bcm2835.h unsigned int period_size; period_size 362 include/sound/pcm.h snd_pcm_uframes_t period_size; /* period size */ period_size 723 include/sound/pcm.h return frames_to_bytes(runtime, runtime->period_size); period_size 20 include/sound/pcm_oss.h unsigned int period_size; period_size 46 include/uapi/sound/usb_stream.h int period_size; period_size 671 sound/aoa/soundbus/i2sbus/pcm.c nframes = i * runtime->period_size; period_size 202 sound/atmel/ac97c.c int block_size = frames_to_bytes(runtime, runtime->period_size); period_size 284 sound/atmel/ac97c.c int block_size = frames_to_bytes(runtime, runtime->period_size); period_size 502 sound/atmel/ac97c.c block_size = frames_to_bytes(runtime, runtime->period_size); period_size 520 sound/atmel/ac97c.c block_size = frames_to_bytes(runtime, runtime->period_size); period_size 702 sound/core/oss/pcm_oss.c if (substream->oss.setup.period_size > 16) period_size 703 sound/core/oss/pcm_oss.c oss_period_size = substream->oss.setup.period_size; period_size 997 sound/core/oss/pcm_oss.c 1 : runtime->period_size; period_size 1004 sound/core/oss/pcm_oss.c frames = runtime->period_size + 16; period_size 1196 sound/core/oss/pcm_oss.c frames = (*delay - runtime->buffer_size) + runtime->period_size - 1; period_size 1197 sound/core/oss/pcm_oss.c frames /= runtime->period_size; period_size 1198 sound/core/oss/pcm_oss.c frames *= runtime->period_size; period_size 1677 sound/core/oss/pcm_oss.c size = runtime->control->appl_ptr % runtime->period_size; period_size 1679 sound/core/oss/pcm_oss.c size = runtime->period_size - size; period_size 2191 sound/core/oss/pcm_oss.c info.blocks = n / runtime->period_size; period_size 2920 sound/core/oss/pcm_oss.c setup->period_size, period_size 2972 sound/core/oss/pcm_oss.c template.period_size = simple_strtoul(str, NULL, 10); period_size 2974 sound/core/oss/pcm_oss.c if (template.period_size & (1 << idx1)) period_size 2977 sound/core/oss/pcm_oss.c template.period_size &= ~(1 << idx1); period_size 397 sound/core/pcm.c snd_iprintf(buffer, "period_size: %lu\n", runtime->period_size); period_size 296 sound/core/pcm_lib.c runtime->period_size); period_size 307 sound/core/pcm_lib.c delta = runtime->hw_ptr_interrupt + runtime->period_size; period_size 362 sound/core/pcm_lib.c if (delta >= runtime->buffer_size + runtime->period_size) { period_size 387 sound/core/pcm_lib.c (((runtime->period_size * HZ) / runtime->rate) period_size 395 sound/core/pcm_lib.c new_hw_ptr += runtime->period_size; period_size 406 sound/core/pcm_lib.c (long)runtime->period_size, jdelta, period_size 415 sound/core/pcm_lib.c if (delta > runtime->period_size + runtime->period_size / 2) { period_size 439 sound/core/pcm_lib.c delta -= (snd_pcm_uframes_t)delta % runtime->period_size; period_size 1839 sound/core/pcm_lib.c long t = runtime->period_size * 2 / period_size 544 sound/core/pcm_native.c usecs = (750000 / runtime->rate) * runtime->period_size; period_size 545 sound/core/pcm_native.c usecs += ((750000 % runtime->rate) * runtime->period_size) / period_size 685 sound/core/pcm_native.c runtime->period_size = params_period_size(params); period_size 710 sound/core/pcm_native.c runtime->control->avail_min = runtime->period_size; period_size 1656 sound/core/pcm_native.c runtime->status->hw_ptr % runtime->period_size; period_size 1898 sound/core/pcm_native.c long t = runtime->period_size * 2 / runtime->rate; period_size 31 sound/core/pcm_timer.c fsize = runtime->period_size; period_size 45 sound/core/pcm_timer.c runtime->rate, runtime->period_size); period_size 21 sound/core/pcm_trace.h __field( snd_pcm_uframes_t, period_size ) period_size 33 sound/core/pcm_trace.h __entry->period_size = (substream)->runtime->period_size; period_size 46 sound/core/pcm_trace.h (unsigned long)__entry->period_size, period_size 58 sound/core/pcm_trace.h __field( snd_pcm_uframes_t, period_size ) period_size 68 sound/core/pcm_trace.h __entry->period_size = (substream)->runtime->period_size; period_size 79 sound/core/pcm_trace.h (unsigned long)__entry->period_size, period_size 117 sound/core/pcm_trace.h __field( snd_pcm_uframes_t, period_size ) period_size 128 sound/core/pcm_trace.h __entry->period_size = (substream)->runtime->period_size; period_size 139 sound/core/pcm_trace.h __entry->period_size, period_size 345 sound/drivers/aloop.c dpcm->pcm_period_size = frames_to_bytes(runtime, runtime->period_size); period_size 288 sound/drivers/dummy.c dpcm->frac_period_size = runtime->period_size * HZ; period_size 435 sound/drivers/dummy.c period = runtime->period_size; period_size 705 sound/drivers/vx/vx_pcm.c if (pipe->transferred >= (int)runtime->period_size) { period_size 706 sound/drivers/vx/vx_pcm.c pipe->transferred %= runtime->period_size; period_size 843 sound/drivers/vx/vx_pcm.c pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); period_size 424 sound/firewire/amdtp-stream.c if (s->pcm_period_pointer >= pcm->runtime->period_size) { period_size 425 sound/firewire/amdtp-stream.c s->pcm_period_pointer -= pcm->runtime->period_size; period_size 102 sound/firewire/isight.c if (isight->period_counter >= runtime->period_size) { period_size 103 sound/firewire/isight.c isight->period_counter -= runtime->period_size; period_size 241 sound/hda/hdac_stream.c if (runtime && runtime->period_size > 64) period_size 249 sound/hda/hdac_stream.c azx_dev->period_wallclk = (((runtime->period_size * 24000) / period_size 47 sound/isa/sb/emu8000_pcm.c unsigned int period_size; period_size 202 sound/isa/sb/emu8000_pcm.c if (rec->period_pos >= (int)rec->period_size) { period_size 203 sound/isa/sb/emu8000_pcm.c rec->period_pos %= rec->period_size; period_size 614 sound/isa/sb/emu8000_pcm.c rec->period_size = subs->runtime->period_size; period_size 367 sound/mips/sgio2audio.c ret = chip->channel[ch].size >= runtime->period_size; period_size 368 sound/mips/sgio2audio.c chip->channel[ch].size %= runtime->period_size; period_size 415 sound/mips/sgio2audio.c ret = chip->channel[ch].size >= runtime->period_size; period_size 416 sound/mips/sgio2audio.c chip->channel[ch].size %= runtime->period_size; period_size 1236 sound/pci/ali5451/ali5451.c pvoice->count = runtime->period_size; period_size 1347 sound/pci/ali5451/ali5451.c pvoice->count = runtime->period_size; period_size 434 sound/pci/aw2/aw2-alsa.c unsigned long period_size, buffer_size; period_size 438 sound/pci/aw2/aw2-alsa.c period_size = snd_pcm_lib_period_bytes(substream); period_size 443 sound/pci/aw2/aw2-alsa.c runtime->dma_addr, period_size, period_size 463 sound/pci/aw2/aw2-alsa.c unsigned long period_size, buffer_size; period_size 467 sound/pci/aw2/aw2-alsa.c period_size = snd_pcm_lib_period_bytes(substream); period_size 472 sound/pci/aw2/aw2-alsa.c runtime->dma_addr, period_size, period_size 144 sound/pci/aw2/aw2-saa7146.c unsigned long period_size, period_size 169 sound/pci/aw2/aw2-saa7146.c dw_limit = snd_aw2_saa7146_get_limit(period_size); period_size 201 sound/pci/aw2/aw2-saa7146.c unsigned long period_size, period_size 226 sound/pci/aw2/aw2-saa7146.c dw_limit = snd_aw2_saa7146_get_limit(period_size); period_size 42 sound/pci/aw2/aw2-saa7146.h unsigned long period_size, period_size 47 sound/pci/aw2/aw2-saa7146.h unsigned long period_size, period_size 746 sound/pci/ca0106/ca0106_main.c u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); period_size 766 sound/pci/ca0106/ca0106_main.c runtime->period_size, runtime->periods, period_size 833 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_size)<<16); // buffer size in bytes period_size 873 sound/pci/ca0106/ca0106_main.c runtime->period_size, runtime->periods, period_size 1054 sound/pci/ca0106/ca0106_main.c ptr = (ptr >> 3) * runtime->period_size; period_size 773 sound/pci/cmipci.c unsigned int period_size; period_size 793 sound/pci/cmipci.c period_size = runtime->period_size << rec->shift; period_size 797 sound/pci/cmipci.c period_size = (period_size * runtime->channels) / 2; period_size 808 sound/pci/cmipci.c snd_cmipci_write_w(cm, reg + 2, period_size - 1); period_size 741 sound/pci/cs4281.c if (runtime->buffer_size != runtime->period_size) period_size 1087 sound/pci/cs46xx/cs46xx_lib.c int period_size = params_period_bytes(hw_params); period_size 1109 sound/pci/cs46xx/cs46xx_lib.c if (cs46xx_dsp_pcm_channel_set_period (chip,cpcm->pcm_channel,period_size)) { period_size 1116 sound/pci/cs46xx/cs46xx_lib.c period_size, params_periods(hw_params), period_size 1250 sound/pci/cs46xx/cs46xx_lib.c cpcm->pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << cpcm->shift; period_size 1329 sound/pci/cs46xx/cs46xx_lib.c chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2; period_size 191 sound/pci/cs46xx/cs46xx_lib.h int period_size); period_size 192 sound/pci/cs46xx/cs46xx_lib.h int cs46xx_dsp_pcm_ostream_set_period (struct snd_cs46xx * chip, int period_size); period_size 1385 sound/pci/cs46xx/dsp_spos_scb_lib.c int period_size) period_size 1390 sound/pci/cs46xx/dsp_spos_scb_lib.c switch (period_size) { period_size 1414 sound/pci/cs46xx/dsp_spos_scb_lib.c "period size (%d) not supported by HW\n", period_size); period_size 1424 sound/pci/cs46xx/dsp_spos_scb_lib.c int period_size) period_size 1429 sound/pci/cs46xx/dsp_spos_scb_lib.c switch (period_size) { period_size 1453 sound/pci/cs46xx/dsp_spos_scb_lib.c "period size (%d) not supported by HW\n", period_size); period_size 69 sound/pci/ctxfi/cttimer.c unsigned int period_size = runtime->period_size; period_size 76 sound/pci/ctxfi/cttimer.c if (dist >= period_size || period_size 77 sound/pci/ctxfi/cttimer.c position / period_size != ti->position / period_size) { period_size 83 sound/pci/ctxfi/cttimer.c interval = ((period_size - (position % period_size)) period_size 104 sound/pci/ctxfi/cttimer.c jiffies + (runtime->period_size * HZ + period_size 200 sound/pci/ctxfi/cttimer.c unsigned int period_size, rate; period_size 202 sound/pci/ctxfi/cttimer.c period_size = ti->substream->runtime->period_size; period_size 205 sound/pci/ctxfi/cttimer.c if (pos / period_size != ti->position / period_size) { period_size 210 sound/pci/ctxfi/cttimer.c pos %= period_size; period_size 211 sound/pci/ctxfi/cttimer.c pos = period_size - pos; period_size 265 sound/pci/ctxfi/cttimer.c ti->frag_count = ti->substream->runtime->period_size; period_size 1828 sound/pci/echoaudio/echoaudio.c substream->runtime->period_size; period_size 446 sound/pci/emu10k1/emu10k1x.c u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); period_size 462 sound/pci/emu10k1/emu10k1x.c snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_size)<<16); period_size 527 sound/pci/emu10k1/emu10k1x.c ptr2 += (ptr4 >> 3) * runtime->period_size; period_size 741 sound/pci/emu10k1/emupcm.c period_pos %= runtime->period_size; period_size 1678 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_count, 0, runtime->period_size); period_size 1679 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, emu->gpr_base + pcm->gpr_tmpcount, 0, runtime->period_size); period_size 313 sound/pci/emu10k1/memory.c idx = runtime->period_size >= runtime->buffer_size ? period_size 322 sound/pci/emu10k1/p16v.c u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); period_size 332 sound/pci/emu10k1/p16v.c runtime->buffer_size, runtime->period_size, period_size 543 sound/pci/emu10k1/p16v.c ptr2+= (ptr4 >> 3) * runtime->period_size; period_size 576 sound/pci/ice1712/ice1712.c u32 period_size, buf_size, rate, tmp; period_size 578 sound/pci/ice1712/ice1712.c period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1; period_size 597 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_LO, period_size & 0xff); period_size 598 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_HI, period_size >> 8); period_size 609 sound/pci/ice1712/ice1712.c u32 period_size, rate, tmp, chn; period_size 611 sound/pci/ice1712/ice1712.c period_size = snd_pcm_lib_period_bytes(substream) - 1; period_size 625 sound/pci/ice1712/ice1712.c snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size); period_size 626 sound/pci/ice1712/ice1712.c snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? period_size + 1 : 0)); period_size 627 sound/pci/ice1712/ice1712.c snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size); period_size 643 sound/pci/ice1712/ice1712.c u32 period_size, buf_size; period_size 646 sound/pci/ice1712/ice1712.c period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1; period_size 656 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_CAP_COUNT_HI, period_size >> 8); period_size 657 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_CAP_COUNT_LO, period_size & 0xff); period_size 818 sound/pci/ice1712/ice1724.c (int)ptr, (int)substream->runtime->period_size); period_size 105 sound/pci/lx6464es/lx6464es.c snd_pcm_uframes_t period_size = runtime->period_size; period_size 114 sound/pci/lx6464es/lx6464es.c err = lx_set_granularity(chip, period_size); period_size 117 sound/pci/lx6464es/lx6464es.c period_size); period_size 281 sound/pci/lx6464es/lx6464es.c pos = lx_stream->frame_pos * substream->runtime->period_size; period_size 424 sound/pci/lx6464es/lx6464es.c const u32 period_size = substream->runtime->period_size; period_size 426 sound/pci/lx6464es/lx6464es.c const u32 period_bytes = period_size * bytes_per_frame; period_size 1025 sound/pci/lx6464es/lx_core.c const u32 period_size = substream->runtime->period_size; period_size 1026 sound/pci/lx6464es/lx_core.c const u32 period_bytes = period_size * bytes_per_frame; period_size 711 sound/pci/maestro3.c int period_size; period_size 1151 sound/pci/maestro3.c s->period_size = frames_to_bytes(runtime, runtime->period_size); period_size 1511 sound/pci/maestro3.c if (s->count >= (signed)s->period_size) { period_size 1513 sound/pci/maestro3.c if (s->count < 2 * (signed)s->period_size) period_size 1514 sound/pci/maestro3.c s->count -= (signed)s->period_size; period_size 1516 sound/pci/maestro3.c s->count %= s->period_size; period_size 908 sound/pci/mixart/mixart.c return (snd_pcm_uframes_t)((stream->buf_periods * runtime->period_size) + stream->buf_period_frag); period_size 478 sound/pci/mixart/mixart_core.c u64 new_elapse_pos = stream->abs_period_elapsed + runtime->period_size; period_size 186 sound/pci/nm256/nm256.c int period_size; /* period size in bytes */ period_size 491 sound/pci/nm256/nm256.c snd_nm256_writel(chip, reg, s->buf + s->cur_period * s->period_size); period_size 632 sound/pci/nm256/nm256.c s->period_size = frames_to_bytes(runtime, substream->runtime->period_size); period_size 909 sound/pci/pcxhr/pcxhr.c subs->runtime->period_size, subs->runtime->periods, period_size 1131 sound/pci/pcxhr/pcxhr.c return (snd_pcm_uframes_t)((timer_buf_periods * runtime->period_size) + period_size 1167 sound/pci/pcxhr/pcxhr_core.c runtime->period_size)) { period_size 1190 sound/pci/pcxhr/pcxhr_core.c runtime->period_size; period_size 1119 sound/pci/riptide/riptide.c runtime->period_size); period_size 1124 sound/pci/riptide/riptide.c runtime->period_size); period_size 1353 sound/pci/riptide/riptide.c if (data->size && runtime->period_size) { period_size 1359 sound/pci/riptide/riptide.c rptr.retlongs[1]) % runtime->period_size); period_size 1370 sound/pci/riptide/riptide.c data->size, runtime->period_size); period_size 1480 sound/pci/riptide/riptide.c period = frames_to_bytes(runtime, runtime->period_size); period_size 359 sound/pci/rme9652/rme9652.c snd_pcm_uframes_t period_size = rme9652->period_bytes / 4; period_size 364 sound/pci/rme9652/rme9652.c return (status & RME9652_buffer_id) ? period_size : 0; period_size 381 sound/pci/rme9652/rme9652.c if (offset < period_size) { period_size 391 sound/pci/rme9652/rme9652.c offset += period_size * 2; period_size 393 sound/pci/rme9652/rme9652.c if (offset > period_size + rme9652->max_jitter) { period_size 399 sound/pci/rme9652/rme9652.c return period_size; period_size 76 sound/pci/sis7019.c u16 period_size; period_size 211 sound/pci/sis7019.c sis_update_sso(voice, voice->period_size); period_size 218 sound/pci/sis7019.c if (voice->vperiod > voice->period_size) { period_size 219 sound/pci/sis7019.c voice->vperiod -= voice->period_size; period_size 220 sound/pci/sis7019.c if (voice->vperiod < voice->period_size) period_size 223 sound/pci/sis7019.c sis_update_sso(voice, voice->period_size); period_size 273 sound/pci/sis7019.c sis_update_sso(voice, voice->period_size); period_size 441 sound/pci/sis7019.c unsigned int period_size, buffer_size; period_size 449 sound/pci/sis7019.c period_size = params_period_size(hw_params); period_size 451 sound/pci/sis7019.c needed = (period_size != buffer_size && period_size 452 sound/pci/sis7019.c period_size != (buffer_size / 2)); period_size 542 sound/pci/sis7019.c if (runtime->period_size == (runtime->buffer_size / 2)) { period_size 544 sound/pci/sis7019.c } else if (runtime->period_size != runtime->buffer_size) { period_size 546 sound/pci/sis7019.c voice->sso = runtime->period_size - 1; period_size 547 sound/pci/sis7019.c voice->period_size = runtime->period_size; period_size 552 sound/pci/sis7019.c sso_eso |= (runtime->period_size - 1) << 16; period_size 723 sound/pci/sis7019.c u16 buffer_size, period_size; period_size 732 sound/pci/sis7019.c period_size = buffer_size; period_size 746 sound/pci/sis7019.c vperiod = runtime->period_size + 12; period_size 747 sound/pci/sis7019.c if (vperiod > period_size) { period_size 748 sound/pci/sis7019.c u16 tail = vperiod % period_size; period_size 749 sound/pci/sis7019.c u16 quarter_period = period_size / 4; period_size 752 sound/pci/sis7019.c u16 loops = vperiod / period_size; period_size 757 sound/pci/sis7019.c period_size -= tail; period_size 760 sound/pci/sis7019.c sso = period_size - 1; period_size 765 sound/pci/sis7019.c period_size = runtime->period_size; period_size 775 sound/pci/sis7019.c timing->sync_cso = runtime->period_size; period_size 776 sound/pci/sis7019.c timing->sync_period_size = runtime->period_size; period_size 778 sound/pci/sis7019.c timing->period_size = period_size; period_size 849 sound/pci/sis7019.c if (runtime->period_size != runtime->buffer_size) period_size 727 sound/pci/trident/trident_main.c unsigned int period_size) period_size 729 sound/pci/trident/trident_main.c unsigned int res = (rate * period_size) / 48000; period_size 945 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); period_size 980 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ period_size 998 sound/pci/trident/trident_main.c evoice->isync_mark = runtime->period_size; period_size 999 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) - 1; period_size 1090 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); period_size 1092 sound/pci/trident/trident_main.c voice->isync_mark = runtime->period_size; period_size 1097 sound/pci/trident/trident_main.c voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1; period_size 1187 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); period_size 1215 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) + 20 - 1; /* in samples, 20 means correction */ period_size 1228 sound/pci/trident/trident_main.c evoice->isync_mark = runtime->period_size; period_size 1229 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) - 1; period_size 1267 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size); period_size 1292 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ period_size 1305 sound/pci/trident/trident_main.c evoice->isync_mark = runtime->period_size; period_size 1306 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) - 1; period_size 1406 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); period_size 1417 sound/pci/trident/trident_main.c voice->isync_mark = runtime->period_size; period_size 1422 sound/pci/trident/trident_main.c voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1; period_size 1456 sound/pci/trident/trident_main.c voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size); period_size 1486 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ period_size 1499 sound/pci/trident/trident_main.c evoice->isync_mark = runtime->period_size; period_size 1500 sound/pci/trident/trident_main.c evoice->ESO = (runtime->period_size * 2) - 1; period_size 263 sound/pci/ymfpci/ymfpci.h u32 period_size; /* cached from runtime->period_size */ period_size 308 sound/pci/ymfpci/ymfpci_main.c if (ypcm->period_pos >= ypcm->period_size) { period_size 315 sound/pci/ymfpci/ymfpci_main.c ypcm->period_pos %= ypcm->period_size; period_size 360 sound/pci/ymfpci/ymfpci_main.c if (ypcm->period_pos >= ypcm->period_size) { period_size 361 sound/pci/ymfpci/ymfpci_main.c ypcm->period_pos %= ypcm->period_size; period_size 670 sound/pci/ymfpci/ymfpci_main.c ypcm->period_size = runtime->period_size; period_size 710 sound/pci/ymfpci/ymfpci_main.c ypcm->period_size = runtime->period_size; period_size 172 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c chip->pcm_period = runtime->period_size; period_size 207 sound/ppc/pmac.c rec->period_size = snd_pcm_lib_period_bytes(subs); period_size 208 sound/ppc/pmac.c rec->nperiods = rec->dma_size / rec->period_size; period_size 241 sound/ppc/pmac.c cp->req_count = cpu_to_le16(rec->period_size); period_size 244 sound/ppc/pmac.c offset += rec->period_size; period_size 321 sound/ppc/pmac.c count = rec->period_size - count; period_size 324 sound/ppc/pmac.c count += rec->cur_period * rec->period_size; period_size 417 sound/ppc/pmac.c cp->req_count = cpu_to_le16(rec->period_size); period_size 479 sound/ppc/pmac.c cp->req_count = cpu_to_le16(rec->period_size); period_size 56 sound/ppc/pmac.h int period_size; /* in bytes */ period_size 306 sound/sh/sh_dac_audio.c ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); period_size 1029 sound/soc/amd/acp-pcm-dma.c period_bytes = frames_to_bytes(runtime, runtime->period_size); period_size 535 sound/soc/amd/raven/acp3x-pcm-dma.c substream->runtime->period_size); period_size 142 sound/soc/atmel/atmel-pcm-pdc.c size_t period_size; period_size 168 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_ptr += prtd->period_size; period_size 175 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size / params->pdc_xfer_size); period_size 182 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_ptr += prtd->period_size; period_size 189 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size / params->pdc_xfer_size); period_size 217 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size = params_period_bytes(params); period_size 224 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size); period_size 273 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size / params->pdc_xfer_size); period_size 275 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_ptr += prtd->period_size; period_size 279 sound/soc/atmel/atmel-pcm-pdc.c prtd->period_size / params->pdc_xfer_size); period_size 37 sound/soc/au1x/dma.c unsigned int period_size; period_size 50 sound/soc/au1x/dma.c stream->period_size = 0; period_size 75 sound/soc/au1x/dma.c if (stream->period_size == period_bytes && period_size 81 sound/soc/au1x/dma.c stream->period_size = period_bytes; period_size 120 sound/soc/au1x/dma.c set_dma_count0(stream->dma, stream->period_size >> 1); period_size 122 sound/soc/au1x/dma.c set_dma_count1(stream->dma, stream->period_size >> 1); period_size 126 sound/soc/au1x/dma.c set_dma_count1(stream->dma, stream->period_size >> 1); period_size 128 sound/soc/au1x/dma.c set_dma_count0(stream->dma, stream->period_size >> 1); period_size 144 sound/soc/au1x/dma.c set_dma_count0(stream->dma, stream->period_size >> 1); period_size 151 sound/soc/au1x/dma.c set_dma_count1(stream->dma, stream->period_size >> 1); period_size 1052 sound/soc/codecs/tlv320dac33.c unsigned int period_size = substream->runtime->period_size; period_size 1067 sound/soc/codecs/tlv320dac33.c if (period_size <= dac33->alarm_threshold) period_size 1072 sound/soc/codecs/tlv320dac33.c dac33->nsample = period_size * period_size 1073 sound/soc/codecs/tlv320dac33.c ((dac33->alarm_threshold / period_size) + period_size 1074 sound/soc/codecs/tlv320dac33.c (dac33->alarm_threshold % period_size ? period_size 1076 sound/soc/codecs/tlv320dac33.c else if (period_size > nsample_limit) period_size 1079 sound/soc/codecs/tlv320dac33.c dac33->nsample = period_size; period_size 1087 sound/soc/codecs/tlv320dac33.c dac33->uthr = UTHR_FROM_PERIOD_SIZE(period_size, rate, period_size 30 sound/soc/dwc/dwc-pcm.c unsigned int period_pos = tx_ptr % runtime->period_size; \ period_size 40 sound/soc/dwc/dwc-pcm.c *period_elapsed = period_pos >= runtime->period_size; \ period_size 50 sound/soc/dwc/dwc-pcm.c unsigned int period_pos = rx_ptr % runtime->period_size; \ period_size 60 sound/soc/dwc/dwc-pcm.c *period_elapsed = period_pos >= runtime->period_size; \ period_size 105 sound/soc/fsl/fsl_dma.c size_t period_size; period_size 184 sound/soc/fsl/fsl_dma.c dma_private->dma_buf_next += dma_private->period_size; period_size 559 sound/soc/fsl/fsl_dma.c size_t period_size = params_period_bytes(hw_params); period_size 572 sound/soc/fsl/fsl_dma.c dma_private->period_size = period_size; period_size 576 sound/soc/fsl/fsl_dma.c (NUM_DMA_LINKS * period_size); period_size 646 sound/soc/fsl/fsl_dma.c link->count = cpu_to_be32(period_size); period_size 683 sound/soc/fsl/fsl_dma.c temp_addr += period_size; period_size 128 sound/soc/fsl/mpc5200_dma.c (int)runtime->period_size, runtime->periods); period_size 130 sound/soc/fsl/mpc5200_dma.c runtime->period_size); period_size 127 sound/soc/intel/atom/sst-mfld-platform-pcm.c snd_pcm_uframes_t period_size; period_size 133 sound/soc/intel/atom/sst-mfld-platform-pcm.c period_size = substream->runtime->period_size; period_size 134 sound/soc/intel/atom/sst-mfld-platform-pcm.c periodbytes = samples_to_bytes(substream->runtime, period_size); period_size 188 sound/soc/mediatek/common/mtk-afe-fe-dai.c unsigned int counter = runtime->period_size; period_size 530 sound/soc/sh/fsi.c io->period_samples = fsi_frame2sample(fsi, runtime->period_size); period_size 897 sound/soc/sh/rcar/ssi.c ssi->byte_per_period = runtime->period_size * period_size 176 sound/soc/stm/stm32_adfsdm.c size_t period_size = snd_pcm_lib_period_bytes(priv->substream); period_size 207 sound/soc/stm/stm32_adfsdm.c if (cur_size != src_size || (old_pos && (old_pos % period_size < size))) period_size 1169 sound/soc/ti/davinci-mcasp.c int period_size = params_period_size(params); period_size 1224 sound/soc/ti/davinci-mcasp.c period_size * channels, channels); period_size 1420 sound/soc/ti/davinci-mcasp.c struct snd_interval *period_size = hw_param_interval(params, period_size 1428 sound/soc/ti/davinci-mcasp.c return snd_interval_refine(period_size, &frames); period_size 31 sound/soc/uniphier/aio-dma.c int bytes = runtime->period_size * period_size 129 sound/soc/uniphier/aio-dma.c int bytes = runtime->period_size * period_size 156 sound/soc/uniphier/aio-dma.c int bytes = runtime->period_size * period_size 190 sound/soc/uniphier/aio-dma.c int bytes = runtime->period_size * period_size 286 sound/soc/xtensa/xtfpga-i2s.c unsigned period_size = params_period_size(params); period_size 317 sound/soc/xtensa/xtfpga-i2s.c i2s->tx_fifo_low / 2 >= period_size * 2 && period_size 330 sound/soc/xtensa/xtfpga-i2s.c __func__, srate, channels, sample_size, period_size); period_size 430 sound/sparc/cs4231.c unsigned int period_size = snd_pcm_lib_period_bytes(substream); period_size 431 sound/sparc/cs4231.c unsigned int offset = period_size * (*periods_sent); period_size 433 sound/sparc/cs4231.c if (WARN_ON(period_size >= (1 << 24))) period_size 437 sound/sparc/cs4231.c runtime->dma_addr + offset, period_size)) period_size 918 sound/sparc/cs4231.c if (WARN_ON(runtime->period_size > 0xffff + 1)) { period_size 260 sound/spi/at73c213.c block_size = frames_to_bytes(runtime, runtime->period_size); period_size 267 sound/spi/at73c213.c runtime->period_size * runtime->channels); period_size 271 sound/spi/at73c213.c runtime->period_size * runtime->channels); period_size 369 sound/spi/at73c213.c block_size = frames_to_bytes(runtime, runtime->period_size); period_size 385 sound/spi/at73c213.c runtime->period_size * runtime->channels); period_size 319 sound/usb/6fire/pcm.c if (sub->period_off >= sub->instance->runtime->period_size) { period_size 320 sound/usb/6fire/pcm.c sub->period_off %= sub->instance->runtime->period_size; period_size 344 sound/usb/6fire/pcm.c if (sub->period_off >= sub->instance->runtime->period_size) { period_size 345 sound/usb/6fire/pcm.c sub->period_off %= sub->instance->runtime->period_size; period_size 297 sound/usb/hiface/pcm.c if (sub->period_off >= alsa_rt->period_size) { period_size 298 sound/usb/hiface/pcm.c sub->period_off %= alsa_rt->period_size; period_size 235 sound/usb/misc/ua101.c if (stream->period_pos >= runtime->period_size) { period_size 236 sound/usb/misc/ua101.c stream->period_pos -= runtime->period_size; period_size 340 sound/usb/misc/ua101.c if (stream->period_pos >= runtime->period_size) { period_size 341 sound/usb/misc/ua101.c stream->period_pos -= runtime->period_size; period_size 1425 sound/usb/pcm.c if (subs->transfer_done >= runtime->period_size) { period_size 1426 sound/usb/pcm.c subs->transfer_done -= runtime->period_size; period_size 1587 sound/usb/pcm.c if (subs->transfer_done >= runtime->period_size) { period_size 1588 sound/usb/pcm.c subs->transfer_done -= runtime->period_size; period_size 28 sound/usb/usx2y/usb_stream.c if (s->idle_outsize + lb + l > s->period_size) period_size 41 sound/usb/usx2y/usb_stream.c s->idle_outsize += lb - s->period_size; period_size 43 sound/usb/usx2y/usb_stream.c lb, s->period_size); period_size 206 sound/usb/usx2y/usb_stream.c sk->s->period_size = frame_size * period_frames; period_size 301 sound/usb/usx2y/usb_stream.c if (s->idle_outsize + lb + l > s->period_size) period_size 317 sound/usb/usx2y/usb_stream.c s->period_size); period_size 325 sound/usb/usx2y/usb_stream.c s->idle_outsize += lb - s->period_size; period_size 396 sound/usb/usx2y/usb_stream.c for (; p < iu->number_of_packets && l < s->period_size; ++p) { period_size 399 sound/usb/usx2y/usb_stream.c if (l + il > s->period_size) period_size 400 sound/usb/usx2y/usb_stream.c il = s->period_size - l; period_size 411 sound/usb/usx2y/usb_stream.c ol = s->period_size - s->playback1st_size; period_size 416 sound/usb/usx2y/usb_stream.c if (l != s->period_size) period_size 464 sound/usb/usx2y/usb_stream.c if (insize + l > s->period_size && period_size 467 sound/usb/usx2y/usb_stream.c s->next_inpacket_split_at = s->period_size - insize; period_size 472 sound/usb/usx2y/usb_stream.c s->idle_insize += urb_size - s->period_size; period_size 525 sound/usb/usx2y/usb_stream.c frames_per_packet = (s->period_size - s->idle_insize); period_size 554 sound/usb/usx2y/usb_stream.c s->idle_insize += urb_size - s->period_size; period_size 557 sound/usb/usx2y/usb_stream.c s->idle_insize, urb_size, s->period_size); period_size 97 sound/usb/usx2y/usbusx2yaudio.c if (subs->transfer_done >= runtime->period_size) { period_size 98 sound/usb/usx2y/usbusx2yaudio.c subs->transfer_done -= runtime->period_size; period_size 177 sound/usb/usx2y/usbusx2yaudio.c if (subs->transfer_done >= runtime->period_size) { period_size 178 sound/usb/usx2y/usbusx2yaudio.c subs->transfer_done -= runtime->period_size; period_size 75 sound/usb/usx2y/usx2yhwdeppcm.c if (subs->transfer_done >= runtime->period_size) { period_size 76 sound/usb/usx2y/usx2yhwdeppcm.c subs->transfer_done -= runtime->period_size; period_size 910 sound/x86/intel_hdmi_audio.c frames_to_bytes(runtime, runtime->period_size); period_size 1209 sound/x86/intel_hdmi_audio.c (int)frames_to_bytes(runtime, runtime->period_size)); period_size 592 sound/xen/xen_snd_front_alsa.c if (stream->out_frames > substream->runtime->period_size) { period_size 593 sound/xen/xen_snd_front_alsa.c stream->out_frames %= substream->runtime->period_size;