Lines Matching refs:avail_min
275 ready_missing = pcm->avail_min - avail; in _snd_pcm_share_missing()
381 snd_pcm_sframes_t avail_min; in snd_pcm_share_thread() local
387 avail_min = hw_ptr - *spcm->appl.ptr; in snd_pcm_share_thread()
389 avail_min += spcm->buffer_size; in snd_pcm_share_thread()
390 if (avail_min < 0) in snd_pcm_share_thread()
391 avail_min += spcm->boundary; in snd_pcm_share_thread()
393 if ((snd_pcm_uframes_t)avail_min != spcm->avail_min) { in snd_pcm_share_thread()
394 snd_pcm_sw_params_set_avail_min(spcm, &slave->sw_params, avail_min); in snd_pcm_share_thread()
435 snd_pcm_sframes_t avail_min; in _snd_pcm_share_update() local
441 avail_min = hw_ptr - *spcm->appl.ptr; in _snd_pcm_share_update()
443 avail_min += spcm->buffer_size; in _snd_pcm_share_update()
444 if (avail_min < 0) in _snd_pcm_share_update()
445 avail_min += spcm->boundary; in _snd_pcm_share_update()
446 if ((snd_pcm_uframes_t)avail_min < spcm->avail_min) { in _snd_pcm_share_update()
448 snd_pcm_sw_params_set_avail_min(spcm, &slave->sw_params, avail_min); in _snd_pcm_share_update()