Searched refs:mmap_channels (Results 1 – 7 of 7) sorted by relevance
268 if (CHECK_SANITY(pcm->mmap_channels || pcm->running_areas)) { in snd_pcm_mmap()280 pcm->mmap_channels = calloc(pcm->channels, sizeof(pcm->mmap_channels[0])); in snd_pcm_mmap()281 if (!pcm->mmap_channels) in snd_pcm_mmap()285 free(pcm->mmap_channels); in snd_pcm_mmap()286 pcm->mmap_channels = NULL; in snd_pcm_mmap()290 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_mmap()294 free(pcm->mmap_channels); in snd_pcm_mmap()296 pcm->mmap_channels = NULL; in snd_pcm_mmap()302 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_mmap()315 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1]; in snd_pcm_mmap()[all …]
307 pcm->mmap_channels = generic->slave->mmap_channels; in snd_pcm_generic_mmap()318 pcm->mmap_channels = NULL; in snd_pcm_generic_munmap()
793 free(pcm->mmap_channels); in snd_pcm_multi_munmap()795 pcm->mmap_channels = NULL; in snd_pcm_multi_munmap()805 pcm->mmap_channels = calloc(pcm->channels, in snd_pcm_multi_mmap()806 sizeof(pcm->mmap_channels[0])); in snd_pcm_multi_mmap()809 if (!pcm->mmap_channels || !pcm->running_areas) { in snd_pcm_multi_mmap()823 pcm->mmap_channels[c] = in snd_pcm_multi_mmap()824 slave->mmap_channels[chan->slave_channel]; in snd_pcm_multi_mmap()825 pcm->mmap_channels[c].channel = c; in snd_pcm_multi_mmap()
339 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_shm_munmap()347 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1]; in snd_pcm_shm_munmap()
240 snd_pcm_channel_info_t *mmap_channels; member
1129 if (!pcm->mmap_channels) { in _snd_pcm_share_stop()
774 if (pcm->mmap_channels) in snd_pcm_close()958 if (pcm->mmap_channels) { in snd_pcm_hw_free()