Searched refs:mptr (Results 1 – 2 of 2) sorted by relevance
147 struct snd_minor *mptr = NULL; in snd_open() local154 mptr = snd_minors[minor]; in snd_open()155 if (mptr == NULL) { in snd_open()156 mptr = autoload_device(minor); in snd_open()157 if (!mptr) { in snd_open()162 new_fops = fops_get(mptr->f_ops); in snd_open()356 struct snd_minor *mptr; in snd_minor_info_read() local360 mptr = snd_minors[minor]; in snd_minor_info_read()361 if (!mptr) in snd_minor_info_read()363 if (mptr->card >= 0) { in snd_minor_info_read()[all …]
153 struct snd_minor *mptr; in snd_unregister_oss_device() local160 mptr = snd_oss_minors[minor]; in snd_unregister_oss_device()161 if (mptr == NULL) { in snd_unregister_oss_device()188 kfree(mptr); in snd_unregister_oss_device()221 struct snd_minor *mptr; in snd_minor_info_oss_read() local225 mptr = snd_oss_minors[minor]; in snd_minor_info_oss_read()226 if (!mptr) in snd_minor_info_oss_read()228 if (mptr->card >= 0) in snd_minor_info_oss_read()230 mptr->card, mptr->device, in snd_minor_info_oss_read()231 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()[all …]