Home
last modified time | relevance | path

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

/linux-3.4.99/sound/core/
Dcontrol.c292 if (card->last_numid >= UINT_MAX - count) in snd_ctl_remove_numid_conflict()
293 card->last_numid = 0; in snd_ctl_remove_numid_conflict()
296 if (kctl->id.numid < card->last_numid + 1 + count && in snd_ctl_remove_numid_conflict()
297 kctl->id.numid + kctl->count > card->last_numid + 1) { in snd_ctl_remove_numid_conflict()
298 card->last_numid = kctl->id.numid + kctl->count - 1; in snd_ctl_remove_numid_conflict()
366 kcontrol->id.numid = card->last_numid + 1; in snd_ctl_add()
367 card->last_numid += kcontrol->count; in snd_ctl_add()
433 kcontrol->id.numid = card->last_numid + 1; in snd_ctl_replace()
434 card->last_numid += kcontrol->count; in snd_ctl_replace()
614 kctl->id.numid = card->last_numid + 1; in snd_ctl_rename_id()
[all …]
/linux-3.4.99/include/sound/
Dcore.h116 unsigned int last_numid; /* last used numeric ID */ member