Chapter 1. Management of Cards and Devices

Table of Contents

Card Management
Device Components
Module requests and Device File Entries
Memory Management Helpers

Card Management

snd_device_initialize — Initialize struct device for sound devices
snd_card_new — create and initialize a soundcard structure
snd_card_disconnect — disconnect all APIs from the file-operations (user space)
snd_card_free_when_closed — Disconnect the card, free it later eventually
snd_card_free — frees given soundcard structure
snd_card_set_id — set card identification name
snd_card_add_dev_attr — Append a new sysfs attribute group to card
snd_card_register — register the soundcard
snd_component_add — add a component string
snd_card_file_add — add the file to the file list of the card
snd_card_file_remove — remove the file from the file list
snd_power_wait — wait until the power-state is changed.