Lines Matching refs:pstr
1860 if (substream->pstr->substream_count > 1)
2727 struct snd_pcm_str *pstr = entry->private_data;
2728 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list;
2729 mutex_lock(&pstr->oss.setup_mutex);
2743 mutex_unlock(&pstr->oss.setup_mutex);
2746 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr)
2750 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL;
2756 pstr->oss.setup_list = NULL;
2762 struct snd_pcm_str *pstr = entry->private_data;
2768 mutex_lock(&pstr->oss.setup_mutex);
2772 snd_pcm_oss_proc_free_setup_list(pstr);
2773 mutex_unlock(&pstr->oss.setup_mutex);
2776 for (setup = pstr->oss.setup_list; setup; setup = setup->next) {
2813 mutex_lock(&pstr->oss.setup_mutex);
2816 if (pstr->oss.setup_list == NULL)
2817 pstr->oss.setup_list = setup;
2819 for (setup1 = pstr->oss.setup_list;
2827 mutex_lock(&pstr->oss.setup_mutex);
2832 mutex_unlock(&pstr->oss.setup_mutex);
2841 struct snd_pcm_str *pstr = &pcm->streams[stream];
2842 if (pstr->substream_count == 0)
2844 if ((entry = snd_info_create_card_entry(pcm->card, "oss", pstr->proc_root)) != NULL) {
2849 entry->private_data = pstr;
2855 pstr->oss.proc_entry = entry;
2863 struct snd_pcm_str *pstr = &pcm->streams[stream];
2864 snd_info_free_entry(pstr->oss.proc_entry);
2865 pstr->oss.proc_entry = NULL;
2866 snd_pcm_oss_proc_free_setup_list(pstr);