apu 454 sound/pci/es1968.c u8 apu[4]; apu 527 sound/pci/es1968.c unsigned char apu[NR_APUS]; apu 911 sound/pci/es1968.c offset = apu_get_register(chip, es->apu[0], 5); apu 918 sound/pci/es1968.c static void snd_es1968_apu_set_freq(struct es1968 *chip, int apu, int freq) apu 920 sound/pci/es1968.c apu_set_register(chip, apu, 2, apu 921 sound/pci/es1968.c (apu_get_register(chip, apu, 2) & 0x00FF) | apu 923 sound/pci/es1968.c apu_set_register(chip, apu, 3, freq >> 8); apu 927 sound/pci/es1968.c static inline void snd_es1968_trigger_apu(struct es1968 *esm, int apu, int mode) apu 930 sound/pci/es1968.c __apu_set_register(esm, apu, 0, apu 931 sound/pci/es1968.c (__apu_get_register(esm, apu, 0) & 0xff0f) | apu 938 sound/pci/es1968.c __apu_set_register(chip, es->apu[0], 5, es->base[0]); apu 939 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[0], es->apu_mode[0]); apu 941 sound/pci/es1968.c __apu_set_register(chip, es->apu[2], 5, es->base[2]); apu 942 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[2], es->apu_mode[2]); apu 945 sound/pci/es1968.c __apu_set_register(chip, es->apu[1], 5, es->base[1]); apu 946 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[1], es->apu_mode[1]); apu 948 sound/pci/es1968.c __apu_set_register(chip, es->apu[3], 5, es->base[3]); apu 949 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[3], es->apu_mode[3]); apu 958 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[0], 0); apu 959 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[1], 0); apu 961 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[2], 0); apu 962 sound/pci/es1968.c snd_es1968_trigger_apu(chip, es->apu[3], 0); apu 981 sound/pci/es1968.c wave_set_register(chip, es->apu[channel] << 3, tmpval); apu 994 sound/pci/es1968.c int channel, apu; apu 1005 sound/pci/es1968.c apu = es->apu[channel]; apu 1029 sound/pci/es1968.c apu_set_register(chip, apu, i, 0x0000); apu 1032 sound/pci/es1968.c apu_set_register(chip, apu, 4, ((pa >> 16) & 0xFF) << 8); apu 1033 sound/pci/es1968.c apu_set_register(chip, apu, 5, pa & 0xFFFF); apu 1034 sound/pci/es1968.c apu_set_register(chip, apu, 6, (pa + size) & 0xFFFF); apu 1036 sound/pci/es1968.c apu_set_register(chip, apu, 7, size); apu 1039 sound/pci/es1968.c apu_set_register(chip, apu, 8, 0x0000); apu 1041 sound/pci/es1968.c apu_set_register(chip, apu, 9, 0xD000); apu 1044 sound/pci/es1968.c apu_set_register(chip, apu, 11, 0x0000); apu 1046 sound/pci/es1968.c apu_set_register(chip, apu, 0, 0x400F); apu 1059 sound/pci/es1968.c apu_set_register(chip, apu, 10, apu 1063 sound/pci/es1968.c apu_set_register(chip, apu, 10, 0x8F08); apu 1087 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[0], freq); apu 1088 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[1], freq); apu 1096 sound/pci/es1968.c int i, apu = es->apu[channel]; apu 1114 sound/pci/es1968.c apu_set_register(chip, apu, i, 0x0000); apu 1118 sound/pci/es1968.c apu_set_register(chip, apu, 2, 0x8); apu 1121 sound/pci/es1968.c apu_set_register(chip, apu, 4, ((pa >> 16) & 0xFF) << 8); apu 1122 sound/pci/es1968.c apu_set_register(chip, apu, 5, pa & 0xFFFF); apu 1123 sound/pci/es1968.c apu_set_register(chip, apu, 6, (pa + bsize) & 0xFFFF); apu 1124 sound/pci/es1968.c apu_set_register(chip, apu, 7, bsize); apu 1126 sound/pci/es1968.c apu_set_register(chip, apu, 8, 0x00F0); apu 1128 sound/pci/es1968.c apu_set_register(chip, apu, 9, 0x0000); apu 1130 sound/pci/es1968.c apu_set_register(chip, apu, 10, 0x8F08); apu 1132 sound/pci/es1968.c apu_set_register(chip, apu, 11, route); apu 1134 sound/pci/es1968.c apu_set_register(chip, apu, 0, 0x400F); apu 1163 sound/pci/es1968.c ESM_APU_SRCONVERTOR, es->apu[2]); apu 1173 sound/pci/es1968.c ESM_APU_SRCONVERTOR, es->apu[3]); apu 1186 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[0], freq); apu 1187 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[1], freq); apu 1191 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[2], freq); apu 1192 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, es->apu[3], freq); apu 1510 sound/pci/es1968.c int apu; apu 1512 sound/pci/es1968.c for (apu = 0; apu < NR_APUS; apu += 2) { apu 1513 sound/pci/es1968.c if (chip->apu[apu] == ESM_APU_FREE && apu 1514 sound/pci/es1968.c chip->apu[apu + 1] == ESM_APU_FREE) { apu 1515 sound/pci/es1968.c chip->apu[apu] = chip->apu[apu + 1] = type; apu 1516 sound/pci/es1968.c return apu; apu 1525 sound/pci/es1968.c static void snd_es1968_free_apu_pair(struct es1968 *chip, int apu) apu 1527 sound/pci/es1968.c chip->apu[apu] = chip->apu[apu + 1] = ESM_APU_FREE; apu 1553 sound/pci/es1968.c es->apu[0] = apu1; apu 1554 sound/pci/es1968.c es->apu[1] = apu1 + 1; apu 1596 sound/pci/es1968.c es->apu[0] = apu1; apu 1597 sound/pci/es1968.c es->apu[1] = apu1 + 1; apu 1598 sound/pci/es1968.c es->apu[2] = apu2; apu 1599 sound/pci/es1968.c es->apu[3] = apu2 + 1; apu 1641 sound/pci/es1968.c snd_es1968_free_apu_pair(chip, es->apu[0]); apu 1659 sound/pci/es1968.c snd_es1968_free_apu_pair(chip, es->apu[0]); apu 1660 sound/pci/es1968.c snd_es1968_free_apu_pair(chip, es->apu[2]); apu 1696 sound/pci/es1968.c int i, apu; apu 1706 sound/pci/es1968.c if ((apu = snd_es1968_alloc_apu_pair(chip, ESM_APU_PCM_PLAY)) < 0) { apu 1714 sound/pci/es1968.c snd_es1968_free_apu_pair(chip, apu); apu 1720 sound/pci/es1968.c wave_set_register(chip, apu << 3, (memory->buf.addr - 0x10) & 0xfff8); apu 1727 sound/pci/es1968.c apu_set_register(chip, apu, i, 0x0000); apu 1729 sound/pci/es1968.c apu_set_register(chip, apu, 0, 0x400f); apu 1730 sound/pci/es1968.c apu_set_register(chip, apu, 4, ((pa >> 16) & 0xff) << 8); apu 1731 sound/pci/es1968.c apu_set_register(chip, apu, 5, pa & 0xffff); apu 1732 sound/pci/es1968.c apu_set_register(chip, apu, 6, (pa + CLOCK_MEASURE_BUFSIZE/2) & 0xffff); apu 1733 sound/pci/es1968.c apu_set_register(chip, apu, 7, CLOCK_MEASURE_BUFSIZE/2); apu 1734 sound/pci/es1968.c apu_set_register(chip, apu, 8, 0x0000); apu 1735 sound/pci/es1968.c apu_set_register(chip, apu, 9, 0xD000); apu 1736 sound/pci/es1968.c apu_set_register(chip, apu, 10, 0x8F08); apu 1737 sound/pci/es1968.c apu_set_register(chip, apu, 11, 0x0000); apu 1743 sound/pci/es1968.c snd_es1968_apu_set_freq(chip, apu, ((unsigned int)48000 << 16) / chip->clock); /* 48000 Hz */ apu 1746 sound/pci/es1968.c chip->measure_apu = apu; apu 1749 sound/pci/es1968.c __apu_set_register(chip, apu, 5, pa & 0xffff); apu 1750 sound/pci/es1968.c snd_es1968_trigger_apu(chip, apu, ESM_APU_16BITLINEAR); apu 1755 sound/pci/es1968.c offset = __apu_get_register(chip, apu, 5); apu 1757 sound/pci/es1968.c snd_es1968_trigger_apu(chip, apu, 0); /* stop */ apu 1781 sound/pci/es1968.c snd_es1968_free_apu_pair(chip, apu); apu 2726 sound/pci/es1968.c chip->apu[i] = ESM_APU_FREE;