Lines Matching refs:mptr
153 struct snd_minor *mptr = NULL; in snd_open() local
160 mptr = snd_minors[minor]; in snd_open()
161 if (mptr == NULL) { in snd_open()
162 mptr = autoload_device(minor); in snd_open()
163 if (!mptr) { in snd_open()
169 file->f_op = fops_get(mptr->f_ops); in snd_open()
322 struct snd_minor *mptr; in find_snd_minor() local
326 if ((mptr = snd_minors[minor]) != NULL && in find_snd_minor()
327 mptr->type == type && in find_snd_minor()
328 mptr->card == cardnum && in find_snd_minor()
329 mptr->device == dev) in find_snd_minor()
415 struct snd_minor *mptr; in snd_minor_info_read() local
419 if (!(mptr = snd_minors[minor])) in snd_minor_info_read()
421 if (mptr->card >= 0) { in snd_minor_info_read()
422 if (mptr->device >= 0) in snd_minor_info_read()
424 minor, mptr->card, mptr->device, in snd_minor_info_read()
425 snd_device_type_name(mptr->type)); in snd_minor_info_read()
428 minor, mptr->card, in snd_minor_info_read()
429 snd_device_type_name(mptr->type)); in snd_minor_info_read()
432 snd_device_type_name(mptr->type)); in snd_minor_info_read()