Lines Matching full:pstr
2021 if (substream->pstr->substream_count > 1)
2950 struct snd_pcm_str *pstr = entry->private_data;
2951 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list;
2952 guard(mutex)(&pstr->oss.setup_mutex);
2968 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr)
2972 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL;
2978 pstr->oss.setup_list = NULL;
2984 struct snd_pcm_str *pstr = entry->private_data;
2991 guard(mutex)(&pstr->oss.setup_mutex);
2995 snd_pcm_oss_proc_free_setup_list(pstr);
2998 for (setup = pstr->oss.setup_list; setup; setup = setup->next) {
3037 if (pstr->oss.setup_list == NULL)
3038 pstr->oss.setup_list = setup;
3040 for (setup1 = pstr->oss.setup_list;
3060 struct snd_pcm_str *pstr = &pcm->streams[stream];
3061 if (pstr->substream_count == 0)
3063 entry = snd_info_create_card_entry(pcm->card, "oss", pstr->proc_root);
3069 entry->private_data = pstr;
3075 pstr->oss.proc_entry = entry;
3083 struct snd_pcm_str *pstr = &pcm->streams[stream];
3084 snd_info_free_entry(pstr->oss.proc_entry);
3085 pstr->oss.proc_entry = NULL;
3086 snd_pcm_oss_proc_free_setup_list(pstr);