Home
last modified time | relevance | path

Searched refs:ioff (Results 1 – 3 of 3) sorted by relevance

/linux/sound/core/
H A Dcontrol_led.c139 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_set_state() argument
156 if (lctl->kctl == kctl && lctl->index_offset == ioff) in snd_ctl_led_set_state()
166 lctl->index_offset = ioff; in snd_ctl_led_set_state()
185 static struct snd_ctl_led_ctl *snd_ctl_led_find(struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_find() argument
194 if (lctl->kctl == kctl && lctl->index_offset == ioff) in snd_ctl_led_find()
200 static unsigned int snd_ctl_led_remove(struct snd_kcontrol *kctl, unsigned int ioff, in snd_ctl_led_remove() argument
207 lctl = snd_ctl_led_find(kctl, ioff); in snd_ctl_led_remove()
217 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_notify() argument
223 access = snd_ctl_led_remove(kctl, ioff, 0); in snd_ctl_led_notify()
227 vd = &kctl->vd[ioff]; in snd_ctl_led_notify()
[all …]
H A Dcontrol.c202 * @ioff: the additional offset to the control index in snd_ctl_notify_one()
208 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_notify_one()
213 id.index += ioff;
214 id.numid += ioff;
218 lops->lnotify(card, mask, kctl, ioff);
201 snd_ctl_notify_one(struct snd_card * card,unsigned int mask,struct snd_kcontrol * kctl,unsigned int ioff) snd_ctl_notify_one() argument
/linux/include/sound/
H A Dcontrol.h122 …(*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int ioff);
132 …tify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsigned int ioff);
188 unsigned int ioff = id->numid - kctl->id.numid; in snd_ctl_get_ioffnum() local
189 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffnum()
194 unsigned int ioff = id->index - kctl->id.index; in snd_ctl_get_ioffidx() local
195 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffidx()