Lines Matching defs:ioff
138 struct snd_kcontrol *kctl, unsigned int ioff)
155 if (lctl->kctl == kctl && lctl->index_offset == ioff)
165 lctl->index_offset = ioff;
181 static struct snd_ctl_led_ctl *snd_ctl_led_find(struct snd_kcontrol *kctl, unsigned int ioff)
190 if (lctl->kctl == kctl && lctl->index_offset == ioff)
196 static unsigned int snd_ctl_led_remove(struct snd_kcontrol *kctl, unsigned int ioff,
203 lctl = snd_ctl_led_find(kctl, ioff);
213 struct snd_kcontrol *kctl, unsigned int ioff)
219 access = snd_ctl_led_remove(kctl, ioff, 0);
223 vd = &kctl->vd[ioff];
225 access2 = snd_ctl_led_remove(kctl, ioff, access);
229 snd_ctl_led_set_state(card, access, kctl, ioff);
232 vd = &kctl->vd[ioff];
235 snd_ctl_led_set_state(card, access, kctl, ioff);
247 unsigned int ioff, access, new_access;
256 ioff = snd_ctl_get_ioff(kctl, id);
257 vd = &kctl->vd[ioff];
266 snd_ctl_led_notify(card, SNDRV_CTL_EVENT_MASK_INFO, kctl, ioff);
336 unsigned int ioff;
345 for (ioff = 0; ioff < kctl->count; ioff++)
346 snd_ctl_led_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, kctl, ioff);