Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dcontrol.c344 if (card->last_numid >= UINT_MAX - count) in snd_ctl_remove_numid_conflict()
345 card->last_numid = 0; in snd_ctl_remove_numid_conflict()
348 if (kctl->id.numid < card->last_numid + 1 + count && in snd_ctl_remove_numid_conflict()
349 kctl->id.numid + kctl->count > card->last_numid + 1) { in snd_ctl_remove_numid_conflict()
350 card->last_numid = kctl->id.numid + kctl->count - 1; in snd_ctl_remove_numid_conflict()
501 kcontrol->id.numid = card->last_numid + 1; in __snd_ctl_add_replace()
502 card->last_numid += kcontrol->count; in __snd_ctl_add_replace()
/openbmc/linux/include/sound/
H A Dcore.h100 unsigned int last_numid; /* last used numeric ID */ member