Lines Matching refs:idx
52 int idx;
54 for (idx = 0; idx < 0x19; idx++)
56 idx, ak4531->regs[idx]);
390 unsigned int idx; in snd_ak4531_mixer() local
414 for (idx = 0; idx <= 0x19; idx++) { in snd_ak4531_mixer()
415 if (idx == AK4531_RESET || idx == AK4531_CLOCK) in snd_ak4531_mixer()
417 …ak4531->write(ak4531, idx, ak4531->regs[idx] = snd_ak4531_initial_map[idx]); /* recording source i… in snd_ak4531_mixer()
419 for (idx = 0; idx < ARRAY_SIZE(snd_ak4531_controls); idx++) { in snd_ak4531_mixer()
420 if ((err = snd_ctl_add(card, snd_ctl_new1(&snd_ak4531_controls[idx], ak4531))) < 0) { in snd_ak4531_mixer()
454 int idx; in snd_ak4531_resume() local
461 for (idx = 0; idx <= 0x19; idx++) { in snd_ak4531_resume()
462 if (idx == AK4531_RESET || idx == AK4531_CLOCK) in snd_ak4531_resume()
464 ak4531->write(ak4531, idx, ak4531->regs[idx]); in snd_ak4531_resume()