Lines Matching refs:avail_min
363 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
365 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
377 pcm->mmap_control->avail_min = pcm->config.avail_min; in pcm_hw_mmap_status()
379 pcm->mmap_control->avail_min = 1; in pcm_hw_mmap_status()
947 if (!pcm->config.avail_min) { in pcm_open()
949 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; in pcm_open()
951 pcm->config.avail_min = sparams.avail_min = 1; in pcm_open()
953 sparams.avail_min = config->avail_min; in pcm_open()
1133 int pcm_set_avail_min(struct pcm *pcm, int avail_min) in pcm_set_avail_min() argument
1138 pcm->config.avail_min = avail_min; in pcm_set_avail_min()
1222 if (pcm->wait_for_avail_min && (avail < pcm->config.avail_min)) { in pcm_mmap_transfer()
1230 time = (pcm->config.avail_min - avail) / pcm->noirq_frames_per_msec; in pcm_mmap_transfer()