Lines Matching refs:z
1280 int err, z, nctl; in _snd_emu10k1_audigy_init_efx() local
1398 for (z = 0; z < SND_EMU10K1_PLAYBACK_CHANNELS + 2; z++) in _snd_emu10k1_audigy_init_efx()
1399 …A_OP(icode, &ptr, iACC3, A_GPR(playback + z), A_GPR(playback + z), A_GPR(playback + z), A_C_000000… in _snd_emu10k1_audigy_init_efx()
1582 for (z = 0; z < 5; z++) { in _snd_emu10k1_audigy_init_efx()
1585 controls[nctl + 0].gpr[z * 2 + j] = bass_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1586 controls[nctl + 1].gpr[z * 2 + j] = treble_gpr + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1596 for (z = 0; z < 4; z++) { /* front/rear/center-lfe/side */ in _snd_emu10k1_audigy_init_efx()
1599 k = bass_tmp + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx()
1600 l = treble_tmp + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx()
1601 d = playback + z * 2 + j; in _snd_emu10k1_audigy_init_efx()
1619 if (z == 2) /* center */ in _snd_emu10k1_audigy_init_efx()
1626 for (z = 0; z < 8; z++) in _snd_emu10k1_audigy_init_efx()
1627 A_OP(icode, &ptr, iMAC1, A_GPR(playback+z), A_C_00000000, A_GPR(gpr), A_GPR(playback+z)); in _snd_emu10k1_audigy_init_efx()
1634 for (z = 0; z < 8; z++) { in _snd_emu10k1_audigy_init_efx()
1636 A_OP(icode, &ptr, iACC3, A3_EMU32OUT(z), A_GPR(playback + z), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1638 A_OP(icode, &ptr, iACC3, A_EMU32OUTL(z), A_GPR(playback + z), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1657 for (z = 0; z < 2; z++) { in _snd_emu10k1_audigy_init_efx()
1658 A_OP(icode, &ptr, iMAC0, A_GPR(tmp + 2), A_FXBUS(FXBUS_PT_LEFT + z), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1662 A_SWITCH(icode, &ptr, tmp + 0, tmp + 2, gpr + z); in _snd_emu10k1_audigy_init_efx()
1663 A_SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); in _snd_emu10k1_audigy_init_efx()
1664 A_SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_audigy_init_efx()
1665 if ((z==1) && (emu->card_capabilities->spdif_bug)) { in _snd_emu10k1_audigy_init_efx()
1670 …A_OP(icode, &ptr, iACC3, A_EXTOUT(A_EXTOUT_FRONT_L + z), A_GPR(gpr - 3), A_C_00000000, A_C_0000000… in _snd_emu10k1_audigy_init_efx()
1673 …A_OP(icode, &ptr, iACC3, A_EXTOUT(A_EXTOUT_FRONT_L + z), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000… in _snd_emu10k1_audigy_init_efx()
1702 for (z = 1; z < 0x10; z++) { in _snd_emu10k1_audigy_init_efx()
1706 A_FXBUS2(z*2) ); in _snd_emu10k1_audigy_init_efx()
1707 A_OP(icode, &ptr, iACC3, A_GPR(gpr), A3_EMU32IN(z), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1721 for (z = 1; z < 0x10; z++) { in _snd_emu10k1_audigy_init_efx()
1722 …10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr), A_FXBUS2(z * 2) ); in _snd_emu10k1_audigy_init_efx()
1723 A_OP(icode, &ptr, iACC3, A_GPR(gpr), A_P16VIN(z), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1729 for (z = 4; z < 8; z++) { in _snd_emu10k1_audigy_init_efx()
1730 A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1732 for (z = 0xc; z < 0x10; z++) { in _snd_emu10k1_audigy_init_efx()
1733 A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
1739 for (z = 0; z < 16; z++) { in _snd_emu10k1_audigy_init_efx()
1740 A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_EXTIN(z)); in _snd_emu10k1_audigy_init_efx()
1813 int err, i, z, gpr, tmp, playback, capture; in _snd_emu10k1_init_efx() local
1957 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
1958 VOLUME(icode, &ptr, playback + z, z, gpr + z); in _snd_emu10k1_init_efx()
1963 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
1964 VOLUME(icode, &ptr, playback + 2 + z, z, gpr + z); in _snd_emu10k1_init_efx()
1977 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
1978 SWITCH(icode, &ptr, tmp + 0, z, gpr + 2 + z); in _snd_emu10k1_init_efx()
1979 VOLUME(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
1986 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
1987 VOLUME_ADD(icode, &ptr, playback + z, 2 + z, gpr + z); in _snd_emu10k1_init_efx()
1992 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
1993 SWITCH(icode, &ptr, tmp + 0, 2 + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
1994 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2001 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2002 VOLUME_ADD(icode, &ptr, playback + 2 + z, 4 + z, gpr + z); in _snd_emu10k1_init_efx()
2007 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2008 SWITCH(icode, &ptr, tmp + 0, 4 + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2009 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2024 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2025 VOLUME_ADD(icode, &ptr, playback + z, 10 + z, gpr + z); in _snd_emu10k1_init_efx()
2030 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2031 SWITCH(icode, &ptr, tmp + 0, 10 + z, gpr + 2); in _snd_emu10k1_init_efx()
2032 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2055 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2056 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_SPDIF_CD_L + z, gpr + z); in _snd_emu10k1_init_efx()
2061 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2062 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_SPDIF_CD_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2063 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2072 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2073 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_ZOOM_L + z, gpr + z); in _snd_emu10k1_init_efx()
2078 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2079 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_ZOOM_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2080 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2089 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2090 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_TOSLINK_L + z, gpr + z); in _snd_emu10k1_init_efx()
2095 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2096 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_TOSLINK_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2097 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2106 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2107 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_LINE1_L + z, gpr + z); in _snd_emu10k1_init_efx()
2112 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2113 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE1_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2114 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2123 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2124 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_COAX_SPDIF_L + z, gpr + z); in _snd_emu10k1_init_efx()
2129 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2130 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_COAX_SPDIF_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2131 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2140 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2141 VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_LINE2_L + z, gpr + z); in _snd_emu10k1_init_efx()
2147 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2148 SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE2_L + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2149 VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2185 for (z = 0; z < 5; z++) { 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()
2199 for (z = 0; z < 3; z++) { /* front/rear/center-lfe */ in _snd_emu10k1_init_efx()
2202 k = 0xa0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx()
2203 l = 0xd0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx()
2204 d = playback + z * 2 + j; in _snd_emu10k1_init_efx()
2222 if (z == 2) /* center */ in _snd_emu10k1_init_efx()
2237 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2238 OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_L + z), GPR(playback + z), C_00000000, C_00000000); in _snd_emu10k1_init_efx()
2244 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2245 SWITCH(icode, &ptr, tmp + 0, 8 + z, gpr + z); in _snd_emu10k1_init_efx()
2246 SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); in _snd_emu10k1_init_efx()
2247 SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_init_efx()
2248 OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_TOSLINK_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); in _snd_emu10k1_init_efx()
2250 OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ADC_CAP_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); in _snd_emu10k1_init_efx()
2261 for (z = 0; z < 2; z++) { in _snd_emu10k1_init_efx()
2262 SWITCH(icode, &ptr, tmp + 0, playback + 4 + z, gpr + 2 + z); in _snd_emu10k1_init_efx()
2263 SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 2 + z); in _snd_emu10k1_init_efx()
2264 SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_init_efx()
2266 VOLUME_OUT(icode, &ptr, EXTOUT_HEADPHONE_L + z, tmp + 0, gpr + z); in _snd_emu10k1_init_efx()
2280 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2281 OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_REAR_L + z), GPR(playback + 2 + z), C_00000000, C_00000000); in _snd_emu10k1_init_efx()
2284 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2285 …OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_REAR_L + z), GPR(playback + 2 + z), C_00000000, C_000000… in _snd_emu10k1_init_efx()
2308 for (z = 0; z < 2; z++) in _snd_emu10k1_init_efx()
2309 OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ADC_CAP_L + z), GPR(capture + z), C_00000000, C_00000000); in _snd_emu10k1_init_efx()
2317 for (z = 0; z < 16; z++) { in _snd_emu10k1_init_efx()
2318 s8 c = snd_emu10k1_sblive51_fxbus2_map[z]; in _snd_emu10k1_init_efx()
2320 OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(c)); in _snd_emu10k1_init_efx()
2323 for (z = 0; z < 16; z++) in _snd_emu10k1_init_efx()
2324 OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(z)); in _snd_emu10k1_init_efx()