Lines Matching refs:ioff

138 				  struct snd_kcontrol *kctl, unsigned int ioff)  in snd_ctl_led_set_state()  argument
157 if (lctl->kctl == kctl && lctl->index_offset == ioff) in snd_ctl_led_set_state()
167 lctl->index_offset = ioff; in snd_ctl_led_set_state()
183 static struct snd_ctl_led_ctl *snd_ctl_led_find(struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_find() argument
192 if (lctl->kctl == kctl && lctl->index_offset == ioff) in snd_ctl_led_find()
198 static unsigned int snd_ctl_led_remove(struct snd_kcontrol *kctl, unsigned int ioff, in snd_ctl_led_remove() argument
205 lctl = snd_ctl_led_find(kctl, ioff); in snd_ctl_led_remove()
216 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_notify() argument
222 access = snd_ctl_led_remove(kctl, ioff, 0); in snd_ctl_led_notify()
226 vd = &kctl->vd[ioff]; in snd_ctl_led_notify()
228 access2 = snd_ctl_led_remove(kctl, ioff, access); in snd_ctl_led_notify()
232 snd_ctl_led_set_state(card, access, kctl, ioff); in snd_ctl_led_notify()
235 vd = &kctl->vd[ioff]; in snd_ctl_led_notify()
238 snd_ctl_led_set_state(card, access, kctl, ioff); in snd_ctl_led_notify()
248 unsigned int ioff, access, new_access; in snd_ctl_led_set_id() local
256 ioff = snd_ctl_get_ioff(kctl, id); in snd_ctl_led_set_id()
257 vd = &kctl->vd[ioff]; in snd_ctl_led_set_id()
268 snd_ctl_led_notify(card, SNDRV_CTL_EVENT_MASK_INFO, kctl, ioff); in snd_ctl_led_set_id()
351 unsigned int ioff; in snd_ctl_led_register() local
361 for (ioff = 0; ioff < kctl->count; ioff++) in snd_ctl_led_register()
362 snd_ctl_led_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, kctl, ioff); in snd_ctl_led_register()