Home
last modified time | relevance | path

Searched refs:last_numid (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/sound/core/
Dcontrol.c341 if (card->last_numid >= UINT_MAX - count) in snd_ctl_remove_numid_conflict()
342 card->last_numid = 0; in snd_ctl_remove_numid_conflict()
345 if (kctl->id.numid < card->last_numid + 1 + count && in snd_ctl_remove_numid_conflict()
346 kctl->id.numid + kctl->count > card->last_numid + 1) { in snd_ctl_remove_numid_conflict()
347 card->last_numid = kctl->id.numid + kctl->count - 1; in snd_ctl_remove_numid_conflict()
496 kcontrol->id.numid = card->last_numid + 1; in __snd_ctl_add_replace()
497 card->last_numid += kcontrol->count; in __snd_ctl_add_replace()
748 kctl->id.numid = card->last_numid + 1; in snd_ctl_rename_id()
749 card->last_numid += kctl->count; in snd_ctl_rename_id()
/linux-6.1.9/include/sound/
Dcore.h100 unsigned int last_numid; /* last used numeric ID */ member