tag | line | file | source code |
chn | 2304 | drivers/sound/gus_wave.c | int this_one, is16bits, chn; |
chn | 2313 | drivers/sound/gus_wave.c | for (chn = 0; chn < gus_sampling_channels; chn++) |
chn | 2315 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
chn | 2316 | drivers/sound/gus_wave.c | ramp_mode[chn] = 0x03; /* |
chn | 2320 | drivers/sound/gus_wave.c | if (chn == 0) |
chn | 2322 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* |
chn | 2325 | drivers/sound/gus_wave.c | voices[chn].loop_irq_mode = LMODE_PCM; |
chn | 2331 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* |
chn | 2339 | drivers/sound/gus_wave.c | dram_loc += chn * pcm_banksize; |
chn | 2345 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* |
chn | 2348 | drivers/sound/gus_wave.c | ramp_mode[chn] = 0x03; /* |
chn | 2354 | drivers/sound/gus_wave.c | if (chn == 0) |
chn | 2355 | drivers/sound/gus_wave.c | ramp_mode[chn] = 0x04; /* |
chn | 2361 | drivers/sound/gus_wave.c | gus_select_voice (chn); |
chn | 2368 | drivers/sound/gus_wave.c | else if (chn == 0) |
chn | 2398 | drivers/sound/gus_wave.c | gus_write_addr (0x02, chn * pcm_banksize, is16bits); /* |
chn | 2403 | drivers/sound/gus_wave.c | if (chn != 0) |
chn | 2410 | drivers/sound/gus_wave.c | if (chn == 0) |
chn | 2417 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* |
chn | 2426 | drivers/sound/gus_wave.c | if (chn == 0) |
chn | 2428 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* |
chn | 2431 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* |
chn | 2435 | drivers/sound/gus_wave.c | ramp_mode[chn] = 0x03; /* |
chn | 2446 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* |
chn | 2455 | drivers/sound/gus_wave.c | for (chn = 0; chn < gus_sampling_channels; chn++) |
chn | 2458 | drivers/sound/gus_wave.c | gus_select_voice (chn); |
chn | 2459 | drivers/sound/gus_wave.c | gus_write8 (0x0d, ramp_mode[chn]); |
chn | 2460 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
chn | 2469 | drivers/sound/gus_wave.c | int total_count, int intrflag, int chn) |
chn | 2489 | drivers/sound/gus_wave.c | if (chn == 0) |
chn | 2505 | drivers/sound/gus_wave.c | DMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE); |
chn | 2508 | drivers/sound/gus_wave.c | address += chn * pcm_banksize; |
chn | 2544 | drivers/sound/gus_wave.c | if (chn == (gus_sampling_channels - 1)) /* |
chn | 95 | drivers/sound/os.h | #define ALLOC_DMA_CHN(chn) request_dma(chn) |
chn | 96 | drivers/sound/os.h | #define RELEASE_DMA_CHN(chn) free_dma(chn) |
chn | 314 | drivers/sound/pas2_mixer.c | getmixer (int dev, int chn) |
chn | 316 | drivers/sound/pas2_mixer.c | if (chn == P_M_MV508_RIGHT) |
chn | 109 | drivers/sound/sb_mixer.c | change_bits(unsigned char *regval, int dev, int chn, int newval) |
chn | 114 | drivers/sound/sb_mixer.c | mask = (1 << (*iomap)[dev][chn].nbits)-1; |
chn | 117 | drivers/sound/sb_mixer.c | shift = (*iomap)[dev][chn].bitoffs-(*iomap)[dev][LEFT_CHN].nbits+1; |
chn | 672 | drivers/sound/sequencer.c | int i, chn; |
chn | 687 | drivers/sound/sequencer.c | for (chn = 0; chn < 16; chn++) |
chn | 690 | drivers/sound/sequencer.c | (unsigned char)(0xb0 + (chn & 0xff))); /* Channel msg */ |
chn | 93 | include/linux/ultrasound.h | #define _GUS_CMD(chn, voice, cmd, p1, p2) \ |
chn | 95 | include/linux/ultrasound.h | _seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\ |
chn | 101 | include/linux/ultrasound.h | #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) |
chn | 102 | include/linux/ultrasound.h | #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLETE */ |
chn | 103 | include/linux/ultrasound.h | #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) |
chn | 104 | include/linux/ultrasound.h | #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) |
chn | 105 | include/linux/ultrasound.h | #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) |
chn | 106 | include/linux/ultrasound.h | #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) |
chn | 107 | include/linux/ultrasound.h | #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) |
chn | 108 | include/linux/ultrasound.h | #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ |
chn | 110 | include/linux/ultrasound.h | #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) |
chn | 111 | include/linux/ultrasound.h | #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) |
chn | 112 | include/linux/ultrasound.h | #define GUS_RAMPRANGE(chn, voice, low, high) _GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high)) |
chn | 113 | include/linux/ultrasound.h | #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) |
chn | 114 | include/linux/ultrasound.h | #define GUS_RAMPMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) |
chn | 115 | include/linux/ultrasound.h | #define GUS_RAMPON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0) |
chn | 116 | include/linux/ultrasound.h | #define GUS_RAMPOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0) |
chn | 117 | include/linux/ultrasound.h | #define GUS_VOLUME_SCALE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2)) |
chn | 118 | include/linux/ultrasound.h | #define GUS_VOICE_POS(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICE_POS, \ |