taglinefilesource code
chn163drivers/sound/dev_table.hvoid (*bender) (int dev, int chn, int value);
chn164drivers/sound/dev_table.hint (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc);
chn2040drivers/sound/gus_wave.cint             this_one, is16bits, chn;
chn2049drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2051drivers/sound/gus_wave.cmode[chn] = 0x00;
chn2052drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* Ramping and rollover off */
chn2054drivers/sound/gus_wave.cif (chn == 0)
chn2056drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Loop IRQ */
chn2057drivers/sound/gus_wave.cvoices[chn].loop_irq_mode = LMODE_PCM;
chn2063drivers/sound/gus_wave.cmode[chn] |= 0x04;  /* 16 bit data */
chn2069drivers/sound/gus_wave.cdram_loc += chn * pcm_banksize;
chn2073drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable loop */
chn2074drivers/sound/gus_wave.cramp_mode[chn] = 0x03;/* Disable rollover bit */
chn2078drivers/sound/gus_wave.cif (chn == 0)
chn2079drivers/sound/gus_wave.cramp_mode[chn] = 0x04;  /* Enable rollover bit */
chn2083drivers/sound/gus_wave.cgus_select_voice (chn);
chn2088drivers/sound/gus_wave.celse if (chn == 0)
chn2108drivers/sound/gus_wave.cgus_write_addr (0x02, chn * pcm_banksize, is16bits);  /* Loop start */
chn2110drivers/sound/gus_wave.cif (chn != 0)
chn2115drivers/sound/gus_wave.cif (chn == 0)
chn2119drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable looping */
chn2126drivers/sound/gus_wave.cif (chn == 0)
chn2128drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2129drivers/sound/gus_wave.cmode[chn] |= 0x20;/* Enable IRQ at the end */
chn2131drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* No rollover bit */
chn2137drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2144drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2147drivers/sound/gus_wave.cgus_select_voice (chn);
chn2148drivers/sound/gus_wave.cgus_write8 (0x0d, ramp_mode[chn]);
chn2149drivers/sound/gus_wave.cgus_voice_on (mode[chn]);
chn2158drivers/sound/gus_wave.cint total_count, int intrflag, int chn)
chn2178drivers/sound/gus_wave.cif (chn == 0)
chn2192drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
chn2195drivers/sound/gus_wave.caddress += chn * pcm_banksize;
chn2219drivers/sound/gus_wave.cif (chn == (gus_sampling_channels - 1))  /* Last channel */
chn2604drivers/sound/gus_wave.cguswave_alloc (int dev, int chn, int note, struct voice_alloc_info *alloc)
chn81drivers/sound/ics2101.cwrite_mix (int dev, int chn, int vol)
chn90drivers/sound/ics2101.cif (chn == CHN_LEFT)
chn132drivers/sound/midi_synth.cint             msg, chn;
chn144drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn146drivers/sound/midi_synth.cif (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80))
chn218drivers/sound/midi_synth.cint             msg, chn;
chn230drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn232drivers/sound/midi_synth.cif (chn == channel && msg == 0x90)
chn387drivers/sound/midi_synth.cint             msg, chn;
chn395drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn397drivers/sound/midi_synth.cif (msg != 0xd0 || chn != channel)  /*
chn416drivers/sound/midi_synth.cint             chn, msg;
chn424drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn426drivers/sound/midi_synth.cif (msg != 0xb0 || chn != channel)
chn16drivers/sound/midi_synth.hvoid midi_synth_bender (int dev, int chn, int value);
chn1077drivers/sound/opl3.copl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc)
chn1084drivers/sound/opl3.cif (chn < 0 || chn > 15)
chn1087drivers/sound/opl3.cinstr_no = chn_info[chn].pgm_num;
chn96drivers/sound/os.h#define ALLOC_DMA_CHN(chn,deviceID)  request_dma(chn,deviceID)
chn97drivers/sound/os.h#define RELEASE_DMA_CHN(chn)    free_dma(chn)
chn155drivers/sound/sb_mixer.cchange_bits (unsigned char *regval, int dev, int chn, int newval)
chn160drivers/sound/sb_mixer.cmask = (1 << (*iomap)[dev][chn].nbits) - 1;
chn165drivers/sound/sb_mixer.cshift = (*iomap)[dev][chn].bitoffs - (*iomap)[dev][LEFT_CHN].nbits + 1;
chn440drivers/sound/sequencer.cfind_voice (int dev, int chn, int note)
chn445drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn455drivers/sound/sequencer.calloc_voice (int dev, int chn, int note)
chn460drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn462drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
chn473drivers/sound/sequencer.cunsigned char   chn = event[3];
chn488drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
chn505drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
chn509drivers/sound/sequencer.cvoice = chn;
chn514drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num);
chn522drivers/sound/sequencer.cvoice = chn;
chn539drivers/sound/sequencer.cunsigned char   chn = event[3];
chn557drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = p1;
chn560drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, chn, p1);
chn577drivers/sound/sequencer.cif (chn > 15 || p1 > 127)
chn580drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0xff;
chn589drivers/sound/sequencer.cchn_info[chn].controllers[p1 & ~32] & 0x7f) << 7)
chn591drivers/sound/sequencer.cchn_info[chn].controllers[p1 | 32] & 0x7f);
chn595drivers/sound/sequencer.cval = synth_devs[dev]->chn_info[chn].controllers[p1];
chn597drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, val);
chn600drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn603drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn607drivers/sound/sequencer.csynth_devs[dev]->bender (dev, chn, w14);
chn909drivers/sound/sequencer.cint             chn;
chn911drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn913drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = 0;
chn915drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers,
chn1236drivers/sound/sequencer.cint             chn;
chn1256drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1257drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 0xfe, 0);  /* All notes off */
chn1273drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1276drivers/sound/sequencer.c(unsigned char) (0xb0 + (chn & 0xff)));  /*
chn844include/linux/soundcard.h#define _CHN_VOICE(dev, event, chn, note, parm) \
chn849include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn856include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
chn857include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
chn859include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
chn860include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
chn862include/linux/soundcard.h#define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
chn863include/linux/soundcard.h_CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
chn869include/linux/soundcard.h#define _CHN_COMMON(dev, event, chn, p1, p2, w14) \
chn874include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn880include/linux/soundcard.h#define SEQ_CHN_PRESSURE(dev, chn, pressure) \
chn881include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
chn883include/linux/soundcard.h#define SEQ_SET_PATCH(dev, chn, patch) \
chn884include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
chn886include/linux/soundcard.h#define SEQ_CONTROL(dev, chn, controller, value) \
chn887include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
chn889include/linux/soundcard.h#define SEQ_BENDER(dev, chn, value) \
chn890include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)
chn93include/linux/ultrasound.h#define _GUS_CMD(chn, voice, cmd, p1, p2) \
chn95include/linux/ultrasound.h_seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\
chn101include/linux/ultrasound.h#define GUS_NUMVOICES(chn, p1)      _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0)
chn102include/linux/ultrasound.h#define GUS_VOICESAMPLE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0)  /* OBSOLETE */
chn103include/linux/ultrasound.h#define GUS_VOICEON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0)
chn104include/linux/ultrasound.h#define GUS_VOICEOFF(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0)
chn105include/linux/ultrasound.h#define GUS_VOICEFADE(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0)
chn106include/linux/ultrasound.h#define GUS_VOICEMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0)
chn107include/linux/ultrasound.h#define GUS_VOICEBALA(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0)
chn108include/linux/ultrasound.h#define GUS_VOICEFREQ(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
chn110include/linux/ultrasound.h#define GUS_VOICEVOL(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0)
chn111include/linux/ultrasound.h#define GUS_VOICEVOL2(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0)
chn112include/linux/ultrasound.h#define GUS_RAMPRANGE(chn, voice, low, high)  _GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high))
chn113include/linux/ultrasound.h#define GUS_RAMPRATE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2))
chn114include/linux/ultrasound.h#define GUS_RAMPMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0)
chn115include/linux/ultrasound.h#define GUS_RAMPON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0)
chn116include/linux/ultrasound.h#define GUS_RAMPOFF(chn, voice)      _GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0)
chn117include/linux/ultrasound.h#define GUS_VOLUME_SCALE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2))
chn118include/linux/ultrasound.h#define GUS_VOICE_POS(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICE_POS, \