Man Page: snd_lookup_minor_data
Operating Environment: centos
Section: 9
SND_LOOKUP_MINOR_DAT(9) Management of Cards and Device SND_LOOKUP_MINOR_DAT(9)NAMEsnd_lookup_minor_data - get user data of a registered deviceSYNOPSISvoid * snd_lookup_minor_data(unsigned int minor, int type);ARGUMENTSminor the minor number type device type (SNDRV_DEVICE_TYPE_XXX)DESCRIPTIONChecks that a minor device with the specified type is registered, and returns its user data pointer. This function increments the reference counter of the card instance if an associated instance with the given minor number and type is found. The caller must call snd_card_unref appropriately later.RETURNThe user data pointer if the specified device is found. NULL otherwise.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_LOOKUP_MINOR_DAT(9)