Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/minors.h>
#include <sound/info.h>
#include <sound/control.h>
#include <sound/initval.h>
#include <linux/kmod.h>
#include <linux/mutex.h>
Go to the source code of this file.
Macros | |
#define | autoload_device(minor) NULL |
Variables | |
int | snd_major |
int | snd_ecards_limit |
EXPORT_SYMBOL | ( | snd_major | ) |
EXPORT_SYMBOL | ( | snd_ecards_limit | ) |
EXPORT_SYMBOL | ( | snd_lookup_minor_data | ) |
EXPORT_SYMBOL | ( | snd_register_device_for_dev | ) |
EXPORT_SYMBOL | ( | snd_unregister_device | ) |
EXPORT_SYMBOL | ( | snd_add_device_sysfs_file | ) |
MODULE_ALIAS_CHARDEV_MAJOR | ( | CONFIG_SND_MAJOR | ) |
MODULE_AUTHOR | ( | "Jaroslav Kysela <[email protected]>" | ) |
module_exit | ( | alsa_sound_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | cards_limit | , |
int | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | cards_limit | , |
"Count of auto-loadable soundcards." | |||
) |
snd_lookup_minor_data - get user data of a registered device : the minor number : device type (SNDRV_DEVICE_TYPE_XXX)
Checks 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.
subsys_initcall | ( | alsa_sound_init | ) |