Home
last modified time | relevance | path

Searched refs:what (Results 1 – 17 of 17) sorted by relevance

/sound/isa/gus/
Dgus_reset.c72 void snd_gf1_set_default_handlers(struct snd_gus_card * gus, unsigned int what) in snd_gf1_set_default_handlers() argument
74 if (what & SNDRV_GF1_HANDLER_MIDI_OUT) in snd_gf1_set_default_handlers()
76 if (what & SNDRV_GF1_HANDLER_MIDI_IN) in snd_gf1_set_default_handlers()
78 if (what & SNDRV_GF1_HANDLER_TIMER1) in snd_gf1_set_default_handlers()
80 if (what & SNDRV_GF1_HANDLER_TIMER2) in snd_gf1_set_default_handlers()
82 if (what & SNDRV_GF1_HANDLER_VOICE) { in snd_gf1_set_default_handlers()
85 voice = &gus->gf1.voices[what & 0xffff]; in snd_gf1_set_default_handlers()
91 if (what & SNDRV_GF1_HANDLER_DMA_WRITE) in snd_gf1_set_default_handlers()
93 if (what & SNDRV_GF1_HANDLER_DMA_READ) in snd_gf1_set_default_handlers()
/sound/isa/sb/
Dsb16_main.c669 static int snd_sb16_set_dma_mode(struct snd_sb *chip, int what) in snd_sb16_set_dma_mode() argument
672 if (snd_BUG_ON(what)) in snd_sb16_set_dma_mode()
676 if (what == 0) { in snd_sb16_set_dma_mode()
678 } else if (what == 1) { in snd_sb16_set_dma_mode()
680 } else if (what == 2) { in snd_sb16_set_dma_mode()
/sound/drivers/
DKconfig52 what you want. To make this driver play nicely with other
62 Say Y only if you really know what you do.
87 If you don't know what MIDI is, say N here.
/sound/sparc/
Dcs4231.c443 unsigned int what, int on) in cs4231_dma_trigger() argument
448 if (what & CS4231_PLAYBACK_ENABLE) { in cs4231_dma_trigger()
460 if (what & CS4231_RECORD_ENABLE) { in cs4231_dma_trigger()
483 unsigned int what = 0; in snd_cs4231_trigger() local
489 what |= CS4231_PLAYBACK_ENABLE; in snd_cs4231_trigger()
492 what |= CS4231_RECORD_ENABLE; in snd_cs4231_trigger()
499 cs4231_dma_trigger(substream, what, 1); in snd_cs4231_trigger()
500 chip->image[CS4231_IFACE_CTRL] |= what; in snd_cs4231_trigger()
502 cs4231_dma_trigger(substream, what, 0); in snd_cs4231_trigger()
503 chip->image[CS4231_IFACE_CTRL] &= ~what; in snd_cs4231_trigger()
/sound/pci/
Dens1370.c799 unsigned int what = 0; in snd_ensoniq_trigger() local
803 what |= ES_P1_PAUSE; in snd_ensoniq_trigger()
806 what |= ES_P2_PAUSE; in snd_ensoniq_trigger()
813 ensoniq->sctrl |= what; in snd_ensoniq_trigger()
815 ensoniq->sctrl &= ~what; in snd_ensoniq_trigger()
823 unsigned int what = 0; in snd_ensoniq_trigger() local
827 what |= ES_DAC1_EN; in snd_ensoniq_trigger()
830 what |= ES_DAC2_EN; in snd_ensoniq_trigger()
833 what |= ES_ADC_EN; in snd_ensoniq_trigger()
839 ensoniq->ctrl |= what; in snd_ensoniq_trigger()
[all …]
Dsonicvibes.c560 static int snd_sonicvibes_trigger(struct sonicvibes * sonic, int what, int cmd) in snd_sonicvibes_trigger() argument
566 if (!(sonic->enable & what)) { in snd_sonicvibes_trigger()
567 sonic->enable |= what; in snd_sonicvibes_trigger()
571 if (sonic->enable & what) { in snd_sonicvibes_trigger()
572 sonic->enable &= ~what; in snd_sonicvibes_trigger()
/sound/i2c/l3/
Duda1341.c238 static int snd_uda1341_cfg_write(struct l3_client *clnt, unsigned short what, in snd_uda1341_cfg_write() argument
248 printk(KERN_DEBUG "cfg_write what: %d value: %d\n", what, value); in snd_uda1341_cfg_write()
251 uda->cfg[what] = value; in snd_uda1341_cfg_write()
253 switch(what) { in snd_uda1341_cfg_write()
/sound/isa/wss/
Dwss_lib.c493 unsigned int what; in snd_wss_trigger() local
508 what = 0; in snd_wss_trigger()
511 what |= CS4231_PLAYBACK_ENABLE; in snd_wss_trigger()
514 what |= CS4231_RECORD_ENABLE; in snd_wss_trigger()
520 chip->image[CS4231_IFACE_CTRL] |= what; in snd_wss_trigger()
522 chip->trigger(chip, what, 1); in snd_wss_trigger()
524 chip->image[CS4231_IFACE_CTRL] &= ~what; in snd_wss_trigger()
526 chip->trigger(chip, what, 0); in snd_wss_trigger()
/sound/pci/ali5451/
Dali5451.c1162 unsigned int what, whati, capture_flag; in snd_ali_trigger() local
1180 what = whati = capture_flag = 0; in snd_ali_trigger()
1185 what |= 1 << (pvoice->number & 0x1f); in snd_ali_trigger()
1190 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1208 outl(what, ALI_REG(codec, ALI_STOP)); in snd_ali_trigger()
1216 outl(what, ALI_REG(codec, ALI_START)); in snd_ali_trigger()
1217 snd_ali_printk("trigger: what=%xh whati=%xh\n", what, whati); in snd_ali_trigger()
/sound/sh/
Daica.c105 static void spu_memset(u32 toi, u32 what, int length) in spu_memset() argument
115 writel(what, toi + SPU_MEMORY_BASE); in spu_memset()
/sound/pci/ice1712/
Dice1712.c950 unsigned int what; in snd_ice1712_pro_trigger() local
954 what = ICE1712_PLAYBACK_PAUSE; in snd_ice1712_pro_trigger()
959 old |= what; in snd_ice1712_pro_trigger()
961 old &= ~what; in snd_ice1712_pro_trigger()
969 unsigned int what = 0; in snd_ice1712_pro_trigger() local
975 what |= ICE1712_PLAYBACK_START; in snd_ice1712_pro_trigger()
978 what |= ICE1712_CAPTURE_START_SHADOW; in snd_ice1712_pro_trigger()
985 old |= what; in snd_ice1712_pro_trigger()
987 old &= ~what; in snd_ice1712_pro_trigger()
Dice1724.c521 unsigned char what; in snd_vt1724_pcm_trigger() local
525 what = 0; in snd_vt1724_pcm_trigger()
530 what |= reg->start; in snd_vt1724_pcm_trigger()
541 old |= what; in snd_vt1724_pcm_trigger()
543 old &= ~what; in snd_vt1724_pcm_trigger()
553 old |= what; in snd_vt1724_pcm_trigger()
555 old &= ~what; in snd_vt1724_pcm_trigger()
/sound/oss/
Dpas2_mixer.c25 #define DEB(what) /* (what) */ argument
/sound/aoa/codecs/
Donyx.c776 enum clock_switch what) in onyx_switch_clock() argument
782 switch (what) { in onyx_switch_clock()
/sound/isa/ad1816a/
Dad1816a_lib.c176 static int snd_ad1816a_trigger(struct snd_ad1816a *chip, unsigned char what, in snd_ad1816a_trigger() argument
199 snd_printk("invalid trigger mode 0x%x.\n", what); in snd_ad1816a_trigger()
/sound/pci/trident/
Dtrident_main.c1543 unsigned int what, whati, capture_flag, spdif_flag; in snd_trident_trigger() local
1561 what = whati = capture_flag = spdif_flag = 0; in snd_trident_trigger()
1568 what |= 1 << (voice->number & 0x1f); in snd_trident_trigger()
1572 what |= 1 << (evoice->number & 0x1f); in snd_trident_trigger()
1604 outl(what, TRID_REG(trident, T4D_STOP_B)); in snd_trident_trigger()
1613 outl(what, TRID_REG(trident, T4D_START_B)); in snd_trident_trigger()
/sound/core/
DKconfig30 unless you know what you're doing.