Searched refs:max_period_size (Results 1 – 2 of 2) sorted by relevance
110 unsigned int sg_len, max_period_size; in asrc_dmaconfig() local152 max_period_size = rounddown(ASRC_M2M_PERIOD_SIZE, width * pair->channels / 8); in asrc_dmaconfig()154 sg_len = buf_len / max_period_size; in asrc_dmaconfig()155 if (buf_len % max_period_size) in asrc_dmaconfig()164 sg_dma_address(&sg[i]) = buf_addr + i * max_period_size; in asrc_dmaconfig()165 sg_dma_len(&sg[i]) = max_period_size; in asrc_dmaconfig()167 sg_dma_address(&sg[i]) = buf_addr + i * max_period_size; in asrc_dmaconfig()168 sg_dma_len(&sg[i]) = buf_len - i * max_period_size; in asrc_dmaconfig()
680 ssize_t min_period_size, max_period_size; in snd_pcm_oss_period_size() local738 max_period_size = snd_pcm_plug_client_size(substream, in snd_pcm_oss_period_size()740 if (max_period_size > 0) { in snd_pcm_oss_period_size()741 max_period_size *= oss_frame_size; in snd_pcm_oss_period_size()742 max_period_size = rounddown_pow_of_two(max_period_size); in snd_pcm_oss_period_size()743 if (oss_period_size > max_period_size) in snd_pcm_oss_period_size()744 oss_period_size = max_period_size; in snd_pcm_oss_period_size()