Lines Matching refs:period_size
590 u32 period_size, buf_size, rate, tmp; in snd_ice1712_playback_prepare() local
592 period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1; in snd_ice1712_playback_prepare()
611 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_LO, period_size & 0xff); in snd_ice1712_playback_prepare()
612 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_HI, period_size >> 8); in snd_ice1712_playback_prepare()
623 u32 period_size, rate, tmp, chn; in snd_ice1712_playback_ds_prepare() local
625 period_size = snd_pcm_lib_period_bytes(substream) - 1; in snd_ice1712_playback_ds_prepare()
639 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size); in snd_ice1712_playback_ds_prepare()
640 …ite(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? period_size + 1 : 0)); in snd_ice1712_playback_ds_prepare()
641 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size); in snd_ice1712_playback_ds_prepare()
657 u32 period_size, buf_size; in snd_ice1712_capture_prepare() local
660 period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1; in snd_ice1712_capture_prepare()
670 snd_ice1712_write(ice, ICE1712_IREG_CAP_COUNT_HI, period_size >> 8); in snd_ice1712_capture_prepare()
671 snd_ice1712_write(ice, ICE1712_IREG_CAP_COUNT_LO, period_size & 0xff); in snd_ice1712_capture_prepare()