taglinefilesource code
chn350drivers/sound/ad1848.cchange_bits (unsigned char *regval, int dev, int chn, int newval)
chn355drivers/sound/ad1848.cif (mix_devices[dev][chn].polarity == 1)  /* Reverse */
chn358drivers/sound/ad1848.cmask = (1 << mix_devices[dev][chn].nbits) - 1;
chn359drivers/sound/ad1848.cshift = mix_devices[dev][chn].bitpos;
chn209drivers/sound/dev_table.hvoid (*bender) (int dev, int chn, int value);
chn210drivers/sound/dev_table.hint (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc);
chn211drivers/sound/dev_table.hvoid (*setup_voice) (int dev, int voice, int chn);
chn2133drivers/sound/gus_wave.cint             this_one, is16bits, chn;
chn2142drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2144drivers/sound/gus_wave.cmode[chn] = 0x00;
chn2145drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* Ramping and rollover off */
chn2147drivers/sound/gus_wave.cif (chn == 0)
chn2149drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Loop IRQ */
chn2150drivers/sound/gus_wave.cvoices[chn].loop_irq_mode = LMODE_PCM;
chn2156drivers/sound/gus_wave.cmode[chn] |= 0x04;  /* 16 bit data */
chn2162drivers/sound/gus_wave.cdram_loc += chn * pcm_banksize;
chn2166drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable loop */
chn2167drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* Disable rollover bit */
chn2171drivers/sound/gus_wave.cif (chn == 0)
chn2172drivers/sound/gus_wave.cramp_mode[chn] = 0x04;  /* Enable rollover bit */
chn2177drivers/sound/gus_wave.cgus_select_voice (chn);
chn2182drivers/sound/gus_wave.celse if (chn == 0)
chn2202drivers/sound/gus_wave.cgus_write_addr (0x02, chn * pcm_banksize, is16bits);  /* Loop start */
chn2204drivers/sound/gus_wave.cif (chn != 0)
chn2209drivers/sound/gus_wave.cif (chn == 0)
chn2213drivers/sound/gus_wave.cmode[chn] |= 0x08;  /* Enable looping */
chn2220drivers/sound/gus_wave.cif (chn == 0)
chn2222drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2223drivers/sound/gus_wave.cmode[chn] |= 0x20;  /* Enable IRQ at the end */
chn2225drivers/sound/gus_wave.cramp_mode[chn] = 0x03;  /* No rollover bit */
chn2231drivers/sound/gus_wave.cmode[chn] &= ~0x08;  /* Disable looping */
chn2238drivers/sound/gus_wave.cfor (chn = 0; chn < gus_sampling_channels; chn++)
chn2242drivers/sound/gus_wave.cgus_select_voice (chn);
chn2243drivers/sound/gus_wave.cgus_write8 (0x0d, ramp_mode[chn]);
chn2244drivers/sound/gus_wave.cgus_voice_on (mode[chn]);
chn2253drivers/sound/gus_wave.cint total_count, int intrflag, int chn)
chn2274drivers/sound/gus_wave.cif (chn == 0)
chn2288drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
chn2291drivers/sound/gus_wave.caddress += chn * pcm_banksize;
chn2315drivers/sound/gus_wave.cif (chn == (gus_sampling_channels - 1))  /* Last channel */
chn2501drivers/sound/gus_wave.cguswave_setup_voice (int dev, int voice, int chn)
chn2504drivers/sound/gus_wave.c&synth_devs[dev]->chn_info[chn];
chn2719drivers/sound/gus_wave.cguswave_alloc (int dev, int chn, int note, struct voice_alloc_info *alloc)
chn80drivers/sound/ics2101.cwrite_mix (int dev, int chn, int vol)
chn89drivers/sound/ics2101.cif (chn == CHN_LEFT)
chn312drivers/sound/midi_synth.cint             msg, chn;
chn326drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn328drivers/sound/midi_synth.cif (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80))
chn402drivers/sound/midi_synth.cint             msg, chn;
chn416drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn418drivers/sound/midi_synth.cif (chn == channel && msg == 0x90)
chn611drivers/sound/midi_synth.cint             msg, chn;
chn621drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn623drivers/sound/midi_synth.cif (msg != 0xd0 || chn != channel)  /*
chn643drivers/sound/midi_synth.cint             chn, msg;
chn653drivers/sound/midi_synth.cchn = prev_out_status[orig_dev] & 0x0f;
chn655drivers/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);
chn1071drivers/sound/opl3.copl3_alloc_voice (int dev, int chn, int note, struct voice_alloc_info *alloc)
chn1078drivers/sound/opl3.cif (chn < 0 || chn > 15)
chn1081drivers/sound/opl3.cinstr_no = devc->chn_info[chn].pgm_num;
chn1138drivers/sound/opl3.copl3_setup_voice (int dev, int voice, int chn)
chn1141drivers/sound/opl3.c&synth_devs[dev]->chn_info[chn];
chn46drivers/sound/os.hextern int sound_alloc_dma(int chn, char *deviceID);
chn47drivers/sound/os.hextern int sound_open_dma(int chn, char *deviceID);
chn48drivers/sound/os.hextern void sound_free_dma(int chn);
chn49drivers/sound/os.hextern void sound_close_dma(int chn);
chn180drivers/sound/sb_mixer.cchange_bits (unsigned char *regval, int dev, int chn, int newval)
chn185drivers/sound/sb_mixer.cmask = (1 << (*iomap)[dev][chn].nbits) - 1;
chn190drivers/sound/sb_mixer.cshift = (*iomap)[dev][chn].bitoffs - (*iomap)[dev][LEFT_CHN].nbits + 1;
chn485drivers/sound/sequencer.cfind_voice (int dev, int chn, int note)
chn490drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn500drivers/sound/sequencer.calloc_voice (int dev, int chn, int note)
chn505drivers/sound/sequencer.ckey = (chn << 8) | (note + 1);
chn507drivers/sound/sequencer.cvoice = synth_devs[dev]->alloc_voice (dev, chn, note,
chn520drivers/sound/sequencer.cunsigned char   chn = event_rec[3];
chn535drivers/sound/sequencer.cvoice = find_voice (dev, chn, note);
chn552drivers/sound/sequencer.cvoice = alloc_voice (dev, chn, note);
chn556drivers/sound/sequencer.cvoice = chn;
chn565drivers/sound/sequencer.cif (chn == 9)
chn575drivers/sound/sequencer.csynth_devs[dev]->setup_voice (dev, voice, chn);
chn583drivers/sound/sequencer.cvoice = chn;
chn589drivers/sound/sequencer.cvoice = chn;
chn602drivers/sound/sequencer.cunsigned char   chn = event_rec[3];
chn620drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = p1;
chn622drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, chn, p1);
chn625drivers/sound/sequencer.csynth_devs[dev]->set_instr (dev, chn, p1);
chn632drivers/sound/sequencer.cif (chn > 15 || p1 > 127)
chn635drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers[p1] = w14 & 0x7f;
chn638drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers[p1 + 32] = 0;
chn648drivers/sound/sequencer.cchn_info[chn].controllers[p1 & ~32] & 0x7f) << 7)
chn650drivers/sound/sequencer.cchn_info[chn].controllers[p1 | 32] & 0x7f);
chn656drivers/sound/sequencer.ckey = ((int) chn << 8);
chn663drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn666drivers/sound/sequencer.csynth_devs[dev]->controller (dev, chn, p1, w14);
chn672drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].bender_value = w14;
chn678drivers/sound/sequencer.ckey = (chn << 8);
chn685drivers/sound/sequencer.csynth_devs[dev]->bender (dev, chn, w14);
chn688drivers/sound/sequencer.csynth_devs[dev]->bender (dev, chn, w14);
chn1062drivers/sound/sequencer.cint             chn;
chn1064drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1066drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].pgm_num = 0;
chn1068drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].controllers,
chn1070drivers/sound/sequencer.csynth_devs[dev]->chn_info[chn].bender_value = (1 << 7);  /* Neutral */
chn1429drivers/sound/sequencer.cint             chn;
chn1448drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1453drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 123, 0);  /* All notes off */
chn1454drivers/sound/sequencer.csynth_devs[i]->controller (i, chn, 121, 0);  /* Reset all ctl */
chn1455drivers/sound/sequencer.csynth_devs[i]->bender (i, chn, 1 << 13);  /* Bender off */
chn1474drivers/sound/sequencer.cfor (chn = 0; chn < 16; chn++)
chn1477drivers/sound/sequencer.c(unsigned char) (0xb0 + (chn & 0x0f)));  /* control change */
chn507drivers/sound/soundcard.csound_alloc_dma (int chn, char *deviceID)
chn511drivers/sound/soundcard.cif ((err = request_dma (chn, deviceID)) != 0)
chn514drivers/sound/soundcard.cdma_alloc_map[chn] = DMA_MAP_FREE;
chn520drivers/sound/soundcard.csound_open_dma (int chn, char *deviceID)
chn527drivers/sound/soundcard.cif (dma_alloc_map[chn] != DMA_MAP_FREE)
chn529drivers/sound/soundcard.cprintk ("sound_open_dma: DMA channel %d busy or not allocated\n", chn);
chn534drivers/sound/soundcard.cdma_alloc_map[chn] = DMA_MAP_BUSY;
chn540drivers/sound/soundcard.csound_free_dma (int chn)
chn542drivers/sound/soundcard.cif (dma_alloc_map[chn] != DMA_MAP_FREE)
chn547drivers/sound/soundcard.cfree_dma (chn);
chn548drivers/sound/soundcard.cdma_alloc_map[chn] = DMA_MAP_UNAVAIL;
chn552drivers/sound/soundcard.csound_close_dma (int chn)
chn559drivers/sound/soundcard.cif (dma_alloc_map[chn] != DMA_MAP_BUSY)
chn561drivers/sound/soundcard.cprintk ("sound_close_dma: Bad access to DMA channel %d\n", chn);
chn565drivers/sound/soundcard.cdma_alloc_map[chn] = DMA_MAP_FREE;
chn988include/linux/soundcard.h#define _CHN_VOICE(dev, event, chn, note, parm) \
chn993include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn1000include/linux/soundcard.h#define SEQ_START_NOTE(dev, chn, note, vol) \
chn1001include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
chn1003include/linux/soundcard.h#define SEQ_STOP_NOTE(dev, chn, note, vol) \
chn1004include/linux/soundcard.h_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
chn1006include/linux/soundcard.h#define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
chn1007include/linux/soundcard.h_CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
chn1013include/linux/soundcard.h#define _CHN_COMMON(dev, event, chn, p1, p2, w14) \
chn1018include/linux/soundcard.h_seqbuf[_seqbufptr+3] = (chn);\
chn1046include/linux/soundcard.h#define SEQ_CHN_PRESSURE(dev, chn, pressure) \
chn1047include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
chn1049include/linux/soundcard.h#define SEQ_SET_PATCH(dev, chn, patch) \
chn1050include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)
chn1052include/linux/soundcard.h#define SEQ_CONTROL(dev, chn, controller, value) \
chn1053include/linux/soundcard.h_CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)
chn1055include/linux/soundcard.h#define SEQ_BENDER(dev, chn, value) \
chn1056include/linux/soundcard.h_CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)
chn91include/linux/ultrasound.h#define _GUS_CMD(chn, voice, cmd, p1, p2) \
chn93include/linux/ultrasound.h_seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\
chn99include/linux/ultrasound.h#define GUS_NUMVOICES(chn, p1)      _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0)
chn100include/linux/ultrasound.h#define GUS_VOICESAMPLE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0)  /* OBSOLETE */
chn101include/linux/ultrasound.h#define GUS_VOICEON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0)
chn102include/linux/ultrasound.h#define GUS_VOICEOFF(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0)
chn103include/linux/ultrasound.h#define GUS_VOICEFADE(chn, voice)    _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0)
chn104include/linux/ultrasound.h#define GUS_VOICEMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0)
chn105include/linux/ultrasound.h#define GUS_VOICEBALA(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0)
chn106include/linux/ultrasound.h#define GUS_VOICEFREQ(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
chn108include/linux/ultrasound.h#define GUS_VOICEVOL(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0)
chn109include/linux/ultrasound.h#define GUS_VOICEVOL2(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0)
chn110include/linux/ultrasound.h#define GUS_RAMPRANGE(chn, voice, low, high)  _GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high))
chn111include/linux/ultrasound.h#define GUS_RAMPRATE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2))
chn112include/linux/ultrasound.h#define GUS_RAMPMODE(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0)
chn113include/linux/ultrasound.h#define GUS_RAMPON(chn, voice, p1)    _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0)
chn114include/linux/ultrasound.h#define GUS_RAMPOFF(chn, voice)      _GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0)
chn115include/linux/ultrasound.h#define GUS_VOLUME_SCALE(chn, voice, p1, p2)  _GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2))
chn116include/linux/ultrasound.h#define GUS_VOICE_POS(chn, voice, p)    _GUS_CMD(chn, voice, _GUS_VOICE_POS, \
chn1142net/ipv4/ip_fw.cint chn;
chn1148net/ipv4/ip_fw.cfor (chn = 0; chn < IP_FW_CHAINS; chn++)
chn1149net/ipv4/ip_fw.cfor (fw = *chains[chn]; fw; fw = fw->fw_next)
chn1154net/ipv4/ip_fw.cfor (chn = 0; chn < IP_FW_CHAINS; chn++)
chn1155net/ipv4/ip_fw.cfor (fw = *chains[chn]; fw; fw = fw->fw_next)