Lines Matching defs:idx
1104 static int hdspm_aes_sync_check(struct hdspm *hdspm, int idx);
2364 * Returns the sample rate class for input source <idx> for
2367 static int hdspm_get_s1_sample_rate(struct hdspm *hdspm, unsigned int idx)
2371 return (status >> (idx*4)) & 0xF;
3886 static int hdspm_s1_sync_check(struct hdspm *hdspm, int idx)
3892 lock = (status & (0x1<<idx)) ? 1 : 0;
3893 sync = (status & (0x100<<idx)) ? 1 : 0;
3939 static int hdspm_aes_sync_check(struct hdspm *hdspm, int idx)
3944 lock = (status2 & (0x0080 >> idx)) ? 1 : 0;
3945 sync = (status2 & (0x8000 >> idx)) ? 1 : 0;
4666 unsigned int idx, limit;
4695 for (idx = 0; idx < limit; idx++) {
4697 snd_ctl_new1(&list[idx], hdspm));
4713 for (idx = 0; idx < limit; ++idx) {
4714 snd_hdspm_playback_mixer.index = idx + 1;
4719 hdspm->playback_mixer_ctls[idx] = kctl;
4727 for (idx = 0; idx < limit; idx++) {
4729 snd_ctl_new1(&list[idx], hdspm));