Lines Matching refs:idx

73 	int idx;  in snd_emu10k1_proc_read()  local
84 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_read()
85 ptrx = snd_emu10k1_ptr_read(emu, PTRX, idx); in snd_emu10k1_proc_read()
86 psst = snd_emu10k1_ptr_read(emu, PSST, idx); in snd_emu10k1_proc_read()
87 dsl = snd_emu10k1_ptr_read(emu, DSL, idx); in snd_emu10k1_proc_read()
89 val = snd_emu10k1_ptr_read(emu, A_FXRT1, idx); in snd_emu10k1_proc_read()
90 val1 = snd_emu10k1_ptr_read(emu, A_FXRT2, idx); in snd_emu10k1_proc_read()
91 snda = snd_emu10k1_ptr_read(emu, A_SENDAMOUNTS, idx); in snd_emu10k1_proc_read()
93 idx, in snd_emu10k1_proc_read()
104 val = snd_emu10k1_ptr_read(emu, FXRT, idx); in snd_emu10k1_proc_read()
106 idx, in snd_emu10k1_proc_read()
115 for (idx = 0; idx < 32; idx++) { in snd_emu10k1_proc_read()
116 const char *c = snd_emu10k1_fxbus[idx]; in snd_emu10k1_proc_read()
118 snd_iprintf(buffer, " Channel %02i [%s]\n", idx, c); in snd_emu10k1_proc_read()
122 for (idx = 0; idx < 32; idx++) in snd_emu10k1_proc_read()
123 if (outputs[idx] && (extout_mask & (1 << idx))) in snd_emu10k1_proc_read()
124 snd_iprintf(buffer, " Channel %02i [%s]\n", idx, outputs[idx]); in snd_emu10k1_proc_read()
126 for (idx = 0; idx < 16; idx++) in snd_emu10k1_proc_read()
127 if (inputs[idx] && (extin_mask & (1 << idx))) in snd_emu10k1_proc_read()
128 snd_iprintf(buffer, " Channel %02i [%s]\n", idx, inputs[idx]); in snd_emu10k1_proc_read()
130 for (idx = 0; idx < nefx; idx++) in snd_emu10k1_proc_read()
131 if (emu->efx_voices_mask[0] & (1 << idx)) in snd_emu10k1_proc_read()
133 idx, outputs[idx] ? outputs[idx] : "???"); in snd_emu10k1_proc_read()
135 for (idx = 0; idx < 32; idx++) in snd_emu10k1_proc_read()
136 if (emu->efx_voices_mask[1] & (1 << idx)) in snd_emu10k1_proc_read()
138 idx + 32, inputs[idx] ? inputs[idx] : "???"); in snd_emu10k1_proc_read()
140 for (idx = 0; idx < 16; idx++) { in snd_emu10k1_proc_read()
141 if (emu->efx_voices_mask[0] & ((1 << 16) << idx)) { in snd_emu10k1_proc_read()
143 s8 c = snd_emu10k1_sblive51_fxbus2_map[idx]; in snd_emu10k1_proc_read()
146 idx + 16, outputs[idx + 16]); in snd_emu10k1_proc_read()
149 idx + 16, inputs[c]); in snd_emu10k1_proc_read()
152 idx + 16, inputs[idx] ? inputs[idx] : "???"); in snd_emu10k1_proc_read()
390 unsigned int idx; in snd_emu10k1_fx8010_read() local
406 for (idx = 0; idx < ((pos & 3) + count + 3) >> 2; idx++) { in snd_emu10k1_fx8010_read()
408 val = snd_emu10k1_ptr_read(emu, offset + idx + (pos >> 2), 0); in snd_emu10k1_fx8010_read()
411 val |= snd_emu10k1_ptr_read(emu, 0x100 + idx + (pos >> 2), 0) << 20; in snd_emu10k1_fx8010_read()
413 tmp[idx] = val; in snd_emu10k1_fx8010_read()
428 int idx; in snd_emu10k1_proc_voices_read() local
435 for (idx = 0; idx < NUM_G; idx++) { in snd_emu10k1_proc_voices_read()
436 voice = &emu->voices[idx]; in snd_emu10k1_proc_voices_read()
438 idx, in snd_emu10k1_proc_voices_read()