/linux-2.4.37.9/include/linux/ |
D | ultrasound.h | 75 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument 77 _seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\ 83 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 84 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument 85 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 86 #define GUS_VOICEOFF(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0) argument 87 #define GUS_VOICEFADE(chn, voice) _GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0) argument 88 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 89 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 90 #define GUS_VOICEFREQ(chn, voice, p) _GUS_CMD(chn, voice, _GUS_VOICEFREQ, \ argument [all …]
|
D | soundcard.h | 1053 extern void OSS_patch_caching(int dev, int chn, int patch, 1055 extern void OSS_drum_caching(int dev, int chn, int patch, 1141 #define _CHN_VOICE(dev, event, chn, note, parm) \ argument 1146 _seqbuf[_seqbufptr+3] = (chn);\ 1153 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument 1154 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) 1156 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument 1157 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) 1159 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ argument 1160 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) [all …]
|
D | wavefront.h | 408 #define WF_SET_CHANNEL(samp,chn) \ argument 409 (samp)->Unused1 = chn & 0x1; \ 410 (samp)->Unused2 = chn & 0x2; \ 411 (samp)->Unused3 = chn & 0x4
|
/linux-2.4.37.9/drivers/sound/ |
D | sequencer.c | 415 static int find_voice(int dev, int chn, int note) in find_voice() argument 420 key = (chn << 8) | (note + 1); in find_voice() 427 static int alloc_voice(int dev, int chn, int note) in alloc_voice() argument 432 key = (chn << 8) | (note + 1); in alloc_voice() 434 voice = synth_devs[dev]->alloc_voice(dev, chn, note, in alloc_voice() 446 #define chn event_rec[3] in seq_chn_voice_event() macro 462 voice = find_voice(dev, chn, note); in seq_chn_voice_event() 480 voice = alloc_voice(dev, chn, note); in seq_chn_voice_event() 483 voice = chn; in seq_chn_voice_event() 492 if (chn == 9) in seq_chn_voice_event() [all …]
|
D | os.h | 42 extern int sound_alloc_dma(int chn, char *deviceID); 43 extern int sound_open_dma(int chn, char *deviceID); 44 extern void sound_free_dma(int chn); 45 extern void sound_close_dma(int chn);
|
D | soundcard.c | 652 int sound_alloc_dma(int chn, char *deviceID) in sound_alloc_dma() argument 656 if ((err = request_dma(chn, deviceID)) != 0) in sound_alloc_dma() 659 dma_alloc_map[chn] = DMA_MAP_FREE; in sound_alloc_dma() 664 int sound_open_dma(int chn, char *deviceID) in sound_open_dma() argument 668 if (!valid_dma(chn)) { in sound_open_dma() 669 printk(KERN_ERR "sound_open_dma: Invalid DMA channel %d\n", chn); in sound_open_dma() 675 if (dma_alloc_map[chn] != DMA_MAP_FREE) { in sound_open_dma() 676 printk("sound_open_dma: DMA channel %d busy or not allocated (%d)\n", chn, dma_alloc_map[chn]); in sound_open_dma() 680 dma_alloc_map[chn] = DMA_MAP_BUSY; in sound_open_dma() 685 void sound_free_dma(int chn) in sound_free_dma() argument [all …]
|
D | midi_synth.c | 284 int msg, chn; in midi_synth_kill_note() local 298 chn = prev_out_status[orig_dev] & 0x0f; in midi_synth_kill_note() 300 if (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80)) in midi_synth_kill_note() 372 int msg, chn; in midi_synth_start_note() local 386 chn = prev_out_status[orig_dev] & 0x0f; in midi_synth_start_note() 388 if (chn == channel && msg == 0x90) in midi_synth_start_note() 553 int msg, chn; in midi_synth_aftertouch() local 563 chn = prev_out_status[orig_dev] & 0x0f; in midi_synth_aftertouch() 565 if (msg != 0xd0 || chn != channel) /* in midi_synth_aftertouch() 584 int chn, msg; in midi_synth_controller() local [all …]
|
D | gus_wave.c | 2306 int this_one, is16bits, chn; in play_next_pcm_block() local 2315 for (chn = 0; chn < gus_audio_channels; chn++) in play_next_pcm_block() 2317 mode[chn] = 0x00; in play_next_pcm_block() 2318 ramp_mode[chn] = 0x03; /* Ramping and rollover off */ in play_next_pcm_block() 2320 if (chn == 0) in play_next_pcm_block() 2322 mode[chn] |= 0x20; /* Loop IRQ */ in play_next_pcm_block() 2323 voices[chn].loop_irq_mode = LMODE_PCM; in play_next_pcm_block() 2328 mode[chn] |= 0x04; /* 16 bit data */ in play_next_pcm_block() 2334 dram_loc += chn * pcm_banksize; in play_next_pcm_block() 2338 mode[chn] |= 0x08; /* Enable loop */ in play_next_pcm_block() [all …]
|
D | midi_synth.h | 15 void midi_synth_bender (int dev, int chn, int value); 16 void midi_synth_setup_voice (int dev, int voice, int chn);
|
D | ics2101.c | 66 static void write_mix(int dev, int chn, int vol) in write_mix() argument 75 if (chn == CHN_LEFT) in write_mix()
|
D | dev_table.h | 276 void (*bender) (int dev, int chn, int value); 277 int (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc); 278 void (*setup_voice) (int dev, int voice, int chn);
|
D | opl3.c | 1000 static int opl3_alloc_voice(int dev, int chn, int note, struct voice_alloc_info *alloc) in opl3_alloc_voice() argument 1007 if (chn < 0 || chn > 15) in opl3_alloc_voice() 1010 instr_no = devc->chn_info[chn].pgm_num; in opl3_alloc_voice() 1066 static void opl3_setup_voice(int dev, int voice, int chn) in opl3_setup_voice() argument 1069 &synth_devs[dev]->chn_info[chn]; in opl3_setup_voice()
|
D | sb_mixer.c | 233 static void change_bits(sb_devc * devc, unsigned char *regval, int dev, int chn, int newval) in change_bits() argument 238 mask = (1 << (*devc->iomap)[dev][chn].nbits) - 1; in change_bits() 241 shift = (*devc->iomap)[dev][chn].bitoffs - (*devc->iomap)[dev][LEFT_CHN].nbits + 1; in change_bits()
|
D | ac97.c | 55 ac97_is_valid_channel (struct ac97_hwint *dev, struct ac97_chn_desc *chn) in ac97_is_valid_channel() argument 57 return (dev->last_written_mixer_values[chn->ac97_regnum / 2] in ac97_is_valid_channel()
|
D | ad1816.c | 752 change_bits (int *regval, int dev, int chn, int newval) in change_bits() argument 759 if (mix_devices[dev][chn].polarity == 1) in change_bits() 762 mask = (1 << mix_devices[dev][chn].nbits) - 1; in change_bits() 763 shift = mix_devices[dev][chn].bitpos; in change_bits()
|
D | ad1848.c | 482 unsigned char *muteval, int dev, int chn, int newval) in change_bits() argument 490 set_mute_bit = (newval == 0) ^ devc->mix_devices[dev][chn].mutepol; in change_bits() 492 if (devc->mix_devices[dev][chn].polarity == 1) /* Reverse */ in change_bits() 495 mask = (1 << devc->mix_devices[dev][chn].nbits) - 1; in change_bits() 496 shift = devc->mix_devices[dev][chn].bitpos; in change_bits() 498 if (devc->mix_devices[dev][chn].mutepos == 8) in change_bits() 505 mute = (set_mute_bit << devc->mix_devices[dev][chn].mutepos); in change_bits() 506 mutemask = ~(1 << devc->mix_devices[dev][chn].mutepos); in change_bits()
|
D | awe_wave.c | 353 static int awe_alloc(int dev, int chn, int note, struct voice_alloc_info *alloc); 354 static void awe_setup_voice(int dev, int voice, int chn); 4242 awe_alloc(int dev, int chn, int note, struct voice_alloc_info *alloc) in awe_alloc() argument 4252 awe_setup_voice(int dev, int voice, int chn) in awe_setup_voice() argument 4256 (info = &synth_devs[dev]->chn_info[chn]) == NULL) in awe_setup_voice() 4262 DEBUG(2,printk("AWE32: [setup(%d) ch=%d]\n", voice, chn)); in awe_setup_voice() 4263 channels[chn].expression_vol = info->controllers[CTL_EXPRESSION]; in awe_setup_voice() 4264 channels[chn].main_vol = info->controllers[CTL_MAIN_VOLUME]; in awe_setup_voice() 4265 channels[chn].panning = in awe_setup_voice() 4267 channels[chn].bender = info->bender_value; /* zero center */ in awe_setup_voice() [all …]
|
/linux-2.4.37.9/drivers/char/rio/ |
D | debug.h | 33 #define DBPACKET(pkt, opt, str, chn) debug_packet((pkt), (opt), (str), (chn)) argument
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipfwadm_core.c | 1288 int chn; in ipfw_device_event() local 1294 for (chn = 0; chn < IP_FW_CHAINS; chn++) in ipfw_device_event() 1295 for (fw = *chains[chn]; fw; fw = fw->fw_next) in ipfw_device_event() 1300 for (chn = 0; chn < IP_FW_CHAINS; chn++) in ipfw_device_event() 1301 for (fw = *chains[chn]; fw; fw = fw->fw_next) in ipfw_device_event()
|
/linux-2.4.37.9/include/asm-s390/ |
D | s390mach.h | 52 __u32 chn : 1; /* chained */ member
|
/linux-2.4.37.9/include/asm-s390x/ |
D | s390mach.h | 52 __u32 chn : 1; /* chained */ member
|
/linux-2.4.37.9/drivers/s390/ |
D | s390mach.c | 541 tcrw.chn, in s390_collect_crw_info() 604 if ( pccrw->crw.chn ) in s390_collect_crw_info()
|
/linux-2.4.37.9/drivers/scsi/ |
D | gdth.c | 1908 gdth_getch_str *chn; in GDTH_INITFUNC() local 2036 chn = (gdth_getch_str *)ha->pscratch; in GDTH_INITFUNC() 2038 chn->channel_no = bus_no; in GDTH_INITFUNC() 2050 if (chn->siop_id < MAXID) in GDTH_INITFUNC() 2051 ha->bus_id[bus_no] = chn->siop_id; in GDTH_INITFUNC() 2111 chn = (gdth_getch_str *)ha->pscratch; in GDTH_INITFUNC() 2112 chn->channel_no = ha->raw[bus_no].local_no; in GDTH_INITFUNC() 2117 ha->raw[bus_no].pdev_cnt = chn->drive_cnt; in GDTH_INITFUNC() 2119 bus_no,chn->drive_cnt)); in GDTH_INITFUNC()
|
/linux-2.4.37.9/net/bluetooth/rfcomm/ |
D | core.c | 93 #define __dlci(dir, chn) (((chn & 0x1f) << 1) | dir) argument
|