taglinefilesource code
chn325drivers/sound/ad1848.cchange_bits (unsigned char *regval, int dev, int chn, int newval)
chn330drivers/sound/ad1848.cif (mix_devices[dev][chn].polarity == 1)  /* Reverse */
chn333drivers/sound/ad1848.cmask = (1 << mix_devices[dev][chn].nbits) - 1;
chn334drivers/sound/ad1848.cshift = mix_devices[dev][chn].bitpos;
chn180drivers/sound/dev_table.hvoid (*bender) (int dev, int chn, int value);
chn181drivers/sound/dev_table.hint (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc);
chn182drivers/sound/dev_table.hvoid (*setup_voice) (int dev, int voice, int chn);
chn2095drivers/sound/gus_wave.cint             this_one, is16bits, chn;
chn2104drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2106drivers/sound/gus_wave.cmode[chn] = 0x00;
chn2107drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* Ramping and rollover off */
chn2109drivers/sound/gus_wave.cif (chn == 0)
chn2111drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Loop IRQ */
chn2112drivers/sound/gus_wave.cvoices[chn].loop_irq_mode = LMODE_PCM;
chn2118drivers/sound/gus_wave.cmode[chn] |= 0x04;  /* 16 bit data */
chn2124drivers/sound/gus_wave.cdram_loc += chn * pcm_banksize;
chn2128drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable loop */
chn2129drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* Disable rollover bit */
chn2133drivers/sound/gus_wave.cif (chn == 0)
chn2134drivers/sound/gus_wave.cramp_mode[chn] = 0x04;  /* Enable rollover bit */
chn2138drivers/sound/gus_wave.cgus_select_voice (chn);
chn2143drivers/sound/gus_wave.celse if (chn == 0)
chn2163drivers/sound/gus_wave.cgus_write_addr (0x02, chn * pcm_banksize, is16bits);  /* Loop start */
chn2165drivers/sound/gus_wave.cif (chn != 0)
chn2170drivers/sound/gus_wave.cif (chn == 0)
chn2174drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable looping */
chn2181drivers/sound/gus_wave.cif (chn == 0)
chn2183drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2184drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Enable IRQ at the end */
chn2186drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* No rollover bit */
chn2192drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2199drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2202drivers/sound/gus_wave.cgus_select_voice (chn);
chn2203drivers/sound/gus_wave.cgus_write8 (0x0d, ramp_mode[chn]);
chn2204drivers/sound/gus_wave.cgus_voice_on (mode[chn]);
chn2213drivers/sound/gus_wave.cint total_count, int intrflag, int chn)
chn2233drivers/sound/gus_wave.cif (chn == 0)
chn2247drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
chn2250drivers/sound/gus_wave.caddress += chn * pcm_banksize;
chn2274drivers/sound/gus_wave.cif (chn == (gus_sampling_channels - 1))  /* Last channel */
chn2459drivers/sound/gus_wave.cguswave_setup_voice (int dev, int voice, int chn)
chn2462drivers/sound/gus_wave.c&synth_devs[dev]->chn_info[chn];
chn2676drivers/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)
chn283drivers/sound/midi_synth.cint             msg, chn;
chn295drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn297drivers/sound/midi_synth.cif (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80))
chn369drivers/sound/midi_synth.cint             msg, chn;
chn381drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn383drivers/sound/midi_synth.cif (chn == channel && msg == 0x90)
chn550drivers/sound/midi_synth.cint             msg, chn;
chn558drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn560drivers/sound/midi_synth.cif (msg != 0xd0 || chn != channel)  /*
chn580drivers/sound/midi_synth.cint             chn, msg;
chn588drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn590drivers/sound/midi_synth.cif (msg != 0xb0 || chn != channel)
chn16drivers/sound/midi_synth.hvoid midi_synth_bender (int dev, int chn, int value);
chn17drivers/sound/midi_synth.hvoid midi_synth_setup_voice (int dev, int voice, int chn);
chn1101drivers/sound/opl3.copl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc)
chn1108drivers/sound/opl3.cif (chn < 0 || chn > 15)
chn1111drivers/sound/opl3.cinstr_no = chn_info[chn].pgm_num;
chn1168drivers/sound/opl3.copl3_setup_voice (int dev, int voice, int chn)
chn1171drivers/sound/opl3.c&synth_devs[dev]->chn_info[chn];
chn103drivers/sound/os.h#define ALLOC_DMA_CHN(chn,deviceID)  request_dma(chn, deviceID)
chn104drivers/sound/os.h#define RELEASE_DMA_CHN(chn)    free_dma(chn)
chn172drivers/sound/sb_mixer.cchange_bits (unsigned char *regval, int dev, int chn, int newval)
chn177drivers/sound/sb_mixer.cmask = (1 << (*iomap)[dev][chn].nbits) - 1;
chn182drivers/sound/sb_mixer.cshift = (*iomap)[dev][chn].bitoffs - (*iomap)[dev][LEFT_CHN].nbits + 1;
chn455drivers/sound/sequencer.cfind_voice (int dev, int chn, int note)
chn460drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn470drivers/sound/sequencer.calloc_voice (int dev, int chn, int note)
chn475drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn477drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
chn490drivers/sound/sequencer.cunsigned char   chn = event[3];
chn505drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
chn522drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
chn526drivers/sound/sequencer.cvoice = chn;
chn535drivers/sound/sequencer.cif (chn == 9)
chn545drivers/sound/sequencer.csynth_devs[dev]->setup_voice (dev, voice, chn);
chn553drivers/sound/sequencer.cvoice = chn;
chn559drivers/sound/sequencer.cvoice = chn;
chn572drivers/sound/sequencer.cunsigned char   chn = event[3];
chn590drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = p1;
chn592drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, chn, p1);
chn595drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, chn, p1);
chn603drivers/sound/sequencer.cif (chn > 15 || p1 > 127)
chn606drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f;
chn616drivers/sound/sequencer.cchn_info[chn].controllers[p1 & ~32] & 0x7f) << 7)
chn618drivers/sound/sequencer.cchn_info[chn].controllers[p1 | 32] & 0x7f);
chn624drivers/sound/sequencer.ckey = (chn << 8);
chn631drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn634drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn640drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].bender_value = w14;
chn646drivers/sound/sequencer.ckey = (chn << 8);
chn653drivers/sound/sequencer.csynth_devs[dev]->bender (dev, chn, w14);
chn656drivers/sound/sequencer.csynth_devs[dev]->bender (dev, chn, w14);
chn975drivers/sound/sequencer.cint             chn;
chn977drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn979drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = 0;
chn981drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers,
chn983drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].bender_value = (1 << 7);  /* Neutral */
chn1299drivers/sound/sequencer.cint             chn;
chn1318drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1323drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 123, 0);  /* All notes off */
chn1324drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 121, 0);  /* Reset all ctl */
chn1325drivers/sound/sequencer.csynth_devs[i]->bender (i, chn, 1 << 13);  /* Bender off */
chn1344drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1347drivers/sound/sequencer.c(unsigned char) (0xb0 + (chn & 0x0f)));  /* control change */
chn935include/linux/soundcard.h#define _CHN_VOICE(dev, event, chn, note, parm) \
chn940include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn947include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
chn948include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
chn950include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
chn951include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
chn953include/linux/soundcard.h#define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
chn954include/linux/soundcard.h_CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
chn960include/linux/soundcard.h#define _CHN_COMMON(dev, event, chn, p1, p2, w14) \
chn965include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn971include/linux/soundcard.h#define SEQ_CHN_PRESSURE(dev, chn, pressure) \
chn972include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
chn974include/linux/soundcard.h#define SEQ_SET_PATCH(dev, chn, patch) \
chn975include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
chn977include/linux/soundcard.h#define SEQ_CONTROL(dev, chn, controller, value) \
chn978include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
chn980include/linux/soundcard.h#define SEQ_BENDER(dev, chn, value) \
chn981include/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, \