Lines Matching refs:j
369 unsigned int i, j; in snd_emu10k1_gpr_ctl_put() local
394 for (j = 0; j < 5; j++) in snd_emu10k1_gpr_ctl_put()
395 … snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); in snd_emu10k1_gpr_ctl_put()
402 for (j = 0; j < 5; j++) in snd_emu10k1_gpr_ctl_put()
403 …snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); in snd_emu10k1_gpr_ctl_put()
787 unsigned int i, j; in snd_emu10k1_add_controls() local
834 for (j = 0; j < 32; j++) { in snd_emu10k1_add_controls()
835 nctl->gpr[j] = gctl->gpr[j]; in snd_emu10k1_add_controls()
836 nctl->value[j] = ~gctl->value[j]; /* inverted, we want to write new value in gpr_ctl_put() */ in snd_emu10k1_add_controls()
837 val->value.integer.value[j] = gctl->value[j]; in snd_emu10k1_add_controls()
901 unsigned int i = 0, j; in snd_emu10k1_list_controls() local
924 for (j = 0; j < 32; j++) { in snd_emu10k1_list_controls()
925 gctl->gpr[j] = ctl->gpr[j]; in snd_emu10k1_list_controls()
926 gctl->value[j] = ctl->value[j]; in snd_emu10k1_list_controls()
1471 int j; in _snd_emu10k1_audigy_init_efx() local
1472 for (j = 0; j < 2; j++) { in _snd_emu10k1_audigy_init_efx()
1473 controls[nctl + 0].gpr[z * 2 + j] = BASS_GPR + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1474 controls[nctl + 1].gpr[z * 2 + j] = TREBLE_GPR + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1478 int j, k, l, d; in _snd_emu10k1_audigy_init_efx() local
1479 for (j = 0; j < 2; j++) { /* left/right */ in _snd_emu10k1_audigy_init_efx()
1480 k = 0xb0 + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx()
1481 l = 0xe0 + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx()
1482 d = playback + SND_EMU10K1_PLAYBACK_CHANNELS + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1484 A_OP(icode, &ptr, iMAC0, A_C_00000000, A_C_00000000, A_GPR(d), A_GPR(BASS_GPR + 0 + j)); in _snd_emu10k1_audigy_init_efx()
1485 A_OP(icode, &ptr, iMACMV, A_GPR(k+1), A_GPR(k), A_GPR(k+1), A_GPR(BASS_GPR + 4 + j)); in _snd_emu10k1_audigy_init_efx()
1486 A_OP(icode, &ptr, iMACMV, A_GPR(k), A_GPR(d), A_GPR(k), A_GPR(BASS_GPR + 2 + j)); in _snd_emu10k1_audigy_init_efx()
1487 A_OP(icode, &ptr, iMACMV, A_GPR(k+3), A_GPR(k+2), A_GPR(k+3), A_GPR(BASS_GPR + 8 + j)); in _snd_emu10k1_audigy_init_efx()
1488 A_OP(icode, &ptr, iMAC0, A_GPR(k+2), A_GPR_ACCU, A_GPR(k+2), A_GPR(BASS_GPR + 6 + j)); in _snd_emu10k1_audigy_init_efx()
1491 A_OP(icode, &ptr, iMAC0, A_C_00000000, A_C_00000000, A_GPR(k+2), A_GPR(TREBLE_GPR + 0 + j)); in _snd_emu10k1_audigy_init_efx()
1492 A_OP(icode, &ptr, iMACMV, A_GPR(l+1), A_GPR(l), A_GPR(l+1), A_GPR(TREBLE_GPR + 4 + j)); in _snd_emu10k1_audigy_init_efx()
1493 A_OP(icode, &ptr, iMACMV, A_GPR(l), A_GPR(k+2), A_GPR(l), A_GPR(TREBLE_GPR + 2 + j)); in _snd_emu10k1_audigy_init_efx()
1494 A_OP(icode, &ptr, iMACMV, A_GPR(l+3), A_GPR(l+2), A_GPR(l+3), A_GPR(TREBLE_GPR + 8 + j)); in _snd_emu10k1_audigy_init_efx()
1495 A_OP(icode, &ptr, iMAC0, A_GPR(l+2), A_GPR_ACCU, A_GPR(l+2), A_GPR(TREBLE_GPR + 6 + j)); in _snd_emu10k1_audigy_init_efx()
2186 int j; in _snd_emu10k1_init_efx() local
2187 for (j = 0; j < 2; j++) { in _snd_emu10k1_init_efx()
2188 controls[i + 0].gpr[z * 2 + j] = BASS_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2189 controls[i + 1].gpr[z * 2 + j] = TREBLE_GPR + z * 2 + j; in _snd_emu10k1_init_efx()
2193 int j, k, l, d; in _snd_emu10k1_init_efx() local
2194 for (j = 0; j < 2; j++) { /* left/right */ in _snd_emu10k1_init_efx()
2195 k = 0xa0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx()
2196 l = 0xd0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx()
2197 d = playback + SND_EMU10K1_PLAYBACK_CHANNELS + z * 2 + j; in _snd_emu10k1_init_efx()
2199 OP(icode, &ptr, iMAC0, C_00000000, C_00000000, GPR(d), GPR(BASS_GPR + 0 + j)); in _snd_emu10k1_init_efx()
2200 OP(icode, &ptr, iMACMV, GPR(k+1), GPR(k), GPR(k+1), GPR(BASS_GPR + 4 + j)); in _snd_emu10k1_init_efx()
2201 OP(icode, &ptr, iMACMV, GPR(k), GPR(d), GPR(k), GPR(BASS_GPR + 2 + j)); in _snd_emu10k1_init_efx()
2202 OP(icode, &ptr, iMACMV, GPR(k+3), GPR(k+2), GPR(k+3), GPR(BASS_GPR + 8 + j)); in _snd_emu10k1_init_efx()
2203 OP(icode, &ptr, iMAC0, GPR(k+2), GPR_ACCU, GPR(k+2), GPR(BASS_GPR + 6 + j)); in _snd_emu10k1_init_efx()
2206 OP(icode, &ptr, iMAC0, C_00000000, C_00000000, GPR(k+2), GPR(TREBLE_GPR + 0 + j)); in _snd_emu10k1_init_efx()
2207 OP(icode, &ptr, iMACMV, GPR(l+1), GPR(l), GPR(l+1), GPR(TREBLE_GPR + 4 + j)); in _snd_emu10k1_init_efx()
2208 OP(icode, &ptr, iMACMV, GPR(l), GPR(k+2), GPR(l), GPR(TREBLE_GPR + 2 + j)); in _snd_emu10k1_init_efx()
2209 OP(icode, &ptr, iMACMV, GPR(l+3), GPR(l+2), GPR(l+3), GPR(TREBLE_GPR + 8 + j)); in _snd_emu10k1_init_efx()
2210 OP(icode, &ptr, iMAC0, GPR(l+2), GPR_ACCU, GPR(l+2), GPR(TREBLE_GPR + 6 + j)); in _snd_emu10k1_init_efx()