Lines Matching defs:pstr
2019 if (substream->pstr->substream_count > 1)
2948 struct snd_pcm_str *pstr = entry->private_data;
2949 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list;
2950 guard(mutex)(&pstr->oss.setup_mutex);
2966 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr)
2970 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL;
2976 pstr->oss.setup_list = NULL;
2982 struct snd_pcm_str *pstr = entry->private_data;
2989 guard(mutex)(&pstr->oss.setup_mutex);
2993 snd_pcm_oss_proc_free_setup_list(pstr);
2996 for (setup = pstr->oss.setup_list; setup; setup = setup->next) {
3035 if (pstr->oss.setup_list == NULL)
3036 pstr->oss.setup_list = setup;
3038 for (setup1 = pstr->oss.setup_list;
3058 struct snd_pcm_str *pstr = &pcm->streams[stream];
3059 if (pstr->substream_count == 0)
3061 entry = snd_info_create_card_entry(pcm->card, "oss", pstr->proc_root);
3067 entry->private_data = pstr;
3073 pstr->oss.proc_entry = entry;
3081 struct snd_pcm_str *pstr = &pcm->streams[stream];
3082 snd_info_free_entry(pstr->oss.proc_entry);
3083 pstr->oss.proc_entry = NULL;
3084 snd_pcm_oss_proc_free_setup_list(pstr);