Searched refs:mptr (Results 1 – 2 of 2) sorted by relevance
141 struct snd_minor *mptr = NULL; in snd_open() local148 mptr = snd_minors[minor]; in snd_open()149 if (mptr == NULL) { in snd_open()150 mptr = autoload_device(minor); in snd_open()151 if (!mptr) { in snd_open()156 new_fops = fops_get(mptr->f_ops); in snd_open()348 struct snd_minor *mptr; in snd_minor_info_read() local352 if (!(mptr = snd_minors[minor])) in snd_minor_info_read()354 if (mptr->card >= 0) { in snd_minor_info_read()355 if (mptr->device >= 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 if (!(mptr = snd_oss_minors[minor])) in snd_minor_info_oss_read()227 if (mptr->card >= 0) in snd_minor_info_oss_read()229 mptr->card, mptr->device, in snd_minor_info_oss_read()230 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()233 snd_oss_device_type_name(mptr->type)); in snd_minor_info_oss_read()