Lines Matching refs:numid
169 if (ev->id.numid == id->numid) { in snd_ctl_notify()
208 id.numid += ioff; in snd_ctl_notify_one()
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()
408 xa_store_range(&card->ctl_numids, kcontrol->id.numid, in add_hash_entries()
409 kcontrol->id.numid + kcontrol->count - 1, in add_hash_entries()
434 xa_erase(&card->ctl_numids, id.numid); in remove_hash_entries()
441 id.numid++; in remove_hash_entries()
496 kcontrol->id.numid = card->last_numid + 1; in __snd_ctl_add_replace()
748 kctl->id.numid = card->last_numid + 1; in snd_ctl_rename_id()
758 snd_ctl_find_numid_slow(struct snd_card *card, unsigned int numid) in snd_ctl_find_numid_slow() argument
763 if (kctl->id.numid <= numid && kctl->id.numid + kctl->count > numid) in snd_ctl_find_numid_slow()
783 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card *card, unsigned int numid) in snd_ctl_find_numid() argument
785 if (snd_BUG_ON(!card || !numid)) in snd_ctl_find_numid()
788 return xa_load(&card->ctl_numids, numid); in snd_ctl_find_numid()
790 return snd_ctl_find_numid_slow(card, numid); in snd_ctl_find_numid()
815 if (id->numid != 0) in snd_ctl_find_id()
816 return snd_ctl_find_numid(card, id->numid); in snd_ctl_find_id()
1612 info->id.numid = 0; in snd_ctl_elem_add()
1850 if (header.numid == 0) in snd_ctl_tlv_ioctl()
1859 kctl = snd_ctl_find_numid(file->card, header.numid); in snd_ctl_tlv_ioctl()
1865 snd_ctl_build_ioff(&id, kctl, header.numid - id.numid); in snd_ctl_tlv_ioctl()