Lines Matching defs:idx
2765 static int hdsp_adat_sync_check(struct hdsp *hdsp, int idx)
2769 if (status & (HDSP_Lock0>>idx)) {
2770 if (status & (HDSP_Sync0>>idx))
3310 unsigned int idx;
3316 for (idx = 0; idx < ARRAY_SIZE(snd_hdsp_rpm_controls); idx++) {
3317 err = snd_ctl_add(card, snd_ctl_new1(&snd_hdsp_rpm_controls[idx], hdsp));
3324 for (idx = 0; idx < ARRAY_SIZE(snd_hdsp_controls); idx++) {
3325 kctl = snd_ctl_new1(&snd_hdsp_controls[idx], hdsp);
3329 if (idx == 1) /* IEC958 (S/PDIF) Stream */
3341 for (idx = 1; idx < 3; ++idx) {
3342 snd_hdsp_adat_sync_check.index = idx+1;
3352 for (idx = 0; idx < ARRAY_SIZE(snd_hdsp_9632_controls); idx++) {
3353 kctl = snd_ctl_new1(&snd_hdsp_9632_controls[idx], hdsp);