Home
last modified time | relevance | path

Searched refs:sound_class (Results 1 – 5 of 5) sorted by relevance

/sound/
Dsound_core.c25 struct class *sound_class; variable
26 EXPORT_SYMBOL(sound_class);
47 sound_class = class_create(THIS_MODULE, "sound"); in init_soundcore()
48 if (IS_ERR(sound_class)) { in init_soundcore()
50 return PTR_ERR(sound_class); in init_soundcore()
53 sound_class->devnode = sound_devnode; in init_soundcore()
61 class_destroy(sound_class); in cleanup_soundcore()
294 device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
320 device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit()
/sound/core/
Dsound.c292 preg->dev = device_create(sound_class, device, MKDEV(major, minor), in snd_register_device_for_dev()
348 device_destroy(sound_class, MKDEV(major, minor)); in snd_unregister_device()
Dinit.c247 card->card_dev.class = sound_class; in snd_card_new()
/sound/oss/
Dsoundcard.c77 extern struct class *sound_class;
/sound/pci/hda/
Dhda_codec.c1455 codec->dev.class = sound_class; in snd_hda_codec_new()