Home
last modified time | relevance | path

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

/sound/
Dsound_core.c23 struct class *sound_class; variable
24 EXPORT_SYMBOL(sound_class);
38 sound_class = class_create(THIS_MODULE, "sound"); in init_soundcore()
39 if (IS_ERR(sound_class)) { in init_soundcore()
41 return PTR_ERR(sound_class); in init_soundcore()
50 class_destroy(sound_class); in cleanup_soundcore()
224 device_create(sound_class, dev, MKDEV(SOUND_MAJOR, s->unit_minor), in sound_insert_unit()
247 device_destroy(sound_class, MKDEV(SOUND_MAJOR, p->unit_minor)); in sound_remove_unit()
/sound/oss/
Dsoundcard.c77 extern struct class *sound_class;
563 device_create(sound_class, NULL, in oss_init()
571 device_create(sound_class, NULL, in oss_init()
588 device_destroy(sound_class, MKDEV(SOUND_MAJOR, dev_list[i].minor)); in oss_cleanup()
592 device_destroy(sound_class, MKDEV(SOUND_MAJOR, dev_list[i].minor + (j*0x10))); in oss_cleanup()
/sound/core/
Dsound.c281 preg->dev = device_create(sound_class, device, MKDEV(major, minor), in snd_register_device_for_dev()
337 device_destroy(sound_class, MKDEV(major, minor)); in snd_unregister_device()
Dinit.c614 card->card_dev = device_create(sound_class, card->dev, in snd_card_register()