/sound/pci/au88x0/ |
D | au88x0_mpu401.c | 47 int temp, mode; in snd_vortex_midi() local 55 temp = in snd_vortex_midi() 58 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 61 temp = in snd_vortex_midi() 64 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 68 temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf; in snd_vortex_midi() 69 temp |= (MIDI_CLOCK_DIV << 8) | ((mode >> 24) & 0xff) << 4; in snd_vortex_midi() 70 hwwrite(vortex->mmio, VORTEX_CTRL2, temp); in snd_vortex_midi() 74 temp = hwread(vortex->mmio, VORTEX_MIDI_DATA); in snd_vortex_midi() 75 if (temp != MPU401_ACK /*0xfe */ ) { in snd_vortex_midi() [all …]
|
D | au88x0_core.c | 169 int addr, temp; 175 temp = hwread(vortex->mmio, VORTEX_MIX_ENIN + addr); 176 return ((temp >> (mixin & 3)) & 1); 183 int temp; in vortex_mix_setvolumebyte() local 186 temp = hwread(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2)); in vortex_mix_setvolumebyte() 187 if ((temp != 0x80) || (vol == 0x80)) in vortex_mix_setvolumebyte() 197 int temp; in vortex_mix_setinputvolumebyte() local 202 temp = in vortex_mix_setinputvolumebyte() 205 if ((temp != 0x80) || (vol == 0x80)) in vortex_mix_setinputvolumebyte() 215 int temp, addr; in vortex_mix_setenablebit() local [all …]
|
D | au88x0_synth.c | 42 int temp; in vortex_wt_setstereo() local 45 temp = hwread(vortex->mmio, WT_STEREO(wt)); in vortex_wt_setstereo() 46 temp = (temp & 0xfe) | (stereo & 1); in vortex_wt_setstereo() 48 hwwrite(vortex->mmio, WT_STEREO(wt), temp); in vortex_wt_setstereo() 54 int temp; in vortex_wt_setdsout() local 57 temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); in vortex_wt_setdsout() 59 temp |= (1 << (wt & 0x1f)); in vortex_wt_setdsout() 61 temp &= ~(1 << (wt & 0x1f)); in vortex_wt_setdsout() 62 hwwrite(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0), temp); in vortex_wt_setdsout() 69 int temp; in vortex_wt_allocroute() local [all …]
|
D | au88x0_xtalk.c | 654 u32 temp; in vortex_XtalkHw_SetSampleRate() local 656 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_SetSampleRate() 657 temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3); in vortex_XtalkHw_SetSampleRate() 658 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_SetSampleRate() 670 u32 temp; in vortex_XtalkHw_Enable() local 672 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_Enable() 673 temp |= 1; in vortex_XtalkHw_Enable() 674 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_Enable() 680 u32 temp; in vortex_XtalkHw_Disable() local 682 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_Disable() [all …]
|
/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 324 unsigned int temp; in start_voice() local 354 temp = FXBUS_MIDI_LEFT | (FXBUS_MIDI_RIGHT << 8) | in start_voice() 356 snd_emu10k1_ptr_write(hw, A_FXRT1, ch, temp); in start_voice() 358 temp = (FXBUS_MIDI_LEFT << 16) | (FXBUS_MIDI_RIGHT << 20) | in start_voice() 360 snd_emu10k1_ptr_write(hw, FXRT, ch, temp); in start_voice() 383 temp = (unsigned int)vp->acutoff << 8 | (unsigned char)vp->avol; in start_voice() 384 snd_emu10k1_ptr_write(hw, IFATN, vp->ch, temp); in start_voice() 401 temp = vp->reg.parm.reverb; in start_voice() 402 temp += (int)vp->chan->control[MIDI_CTL_E1_REVERB_DEPTH] * 9 / 10; in start_voice() 403 LIMITMAX(temp, 255); in start_voice() [all …]
|
D | memory.c | 523 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local 532 temp = nextofs - offset; in snd_emu10k1_synth_bzero() 534 if (temp1 < temp) in snd_emu10k1_synth_bzero() 535 temp = temp1; in snd_emu10k1_synth_bzero() 538 memset(ptr, 0, temp); in snd_emu10k1_synth_bzero() 553 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local 562 temp = nextofs - offset; in snd_emu10k1_synth_copy_from_user() 564 if (temp1 < temp) in snd_emu10k1_synth_copy_from_user() 565 temp = temp1; in snd_emu10k1_synth_copy_from_user() 567 if (ptr && copy_from_user(ptr, data, temp)) in snd_emu10k1_synth_copy_from_user() [all …]
|
/sound/pci/mixart/ |
D | mixart_mixer.c | 1115 struct snd_kcontrol_new temp; in snd_mixart_create_mixer() local 1119 temp = mixart_control_analog_level; in snd_mixart_create_mixer() 1120 temp.name = "Master Playback Volume"; in snd_mixart_create_mixer() 1121 temp.private_value = 0; /* playback */ in snd_mixart_create_mixer() 1122 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer() 1130 temp = mixart_control_analog_level; in snd_mixart_create_mixer() 1131 temp.name = "Master Capture Volume"; in snd_mixart_create_mixer() 1132 temp.private_value = 1; /* capture */ in snd_mixart_create_mixer() 1133 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0) in snd_mixart_create_mixer() 1137 temp = snd_mixart_pcm_vol; in snd_mixart_create_mixer() [all …]
|
/sound/isa/sb/ |
D | emu8000_callback.c | 236 unsigned int temp; in start_voice() local 286 temp = vp->reg.parm.chorus; in start_voice() 287 temp += (int)chan->control[MIDI_CTL_E3_CHORUS_DEPTH] * 9 / 10; in start_voice() 288 LIMITMAX(temp, 255); in start_voice() 289 temp = (temp <<24) | (unsigned int)addr; in start_voice() 290 EMU8000_CSL_WRITE(hw, ch, temp); in start_voice() 294 temp = vp->reg.parm.filterQ; in start_voice() 295 temp = (temp<<28) | (unsigned int)addr; in start_voice() 296 EMU8000_CCCA_WRITE(hw, ch, temp); in start_voice() 303 temp = vp->vtarget << 16; in start_voice() [all …]
|
D | emu8000_pcm.c | 286 unsigned int temp; in setup_voice() local 317 temp = rec->panning[ch]; in setup_voice() 318 temp = (temp <<24) | ((unsigned int)rec->loop_start[ch] - 1); in setup_voice() 319 EMU8000_PSST_WRITE(hw, ch, temp); in setup_voice() 321 temp = 0; // chorus in setup_voice() 322 temp = (temp << 24) | ((unsigned int)rec->loop_start[ch] + rec->buf_size - 1); in setup_voice() 323 EMU8000_CSL_WRITE(hw, ch, temp); in setup_voice() 325 temp = 0; // filterQ in setup_voice() 326 temp = (temp << 28) | ((unsigned int)rec->loop_start[ch] - 1); in setup_voice() 327 EMU8000_CCCA_WRITE(hw, ch, temp); in setup_voice() [all …]
|
/sound/drivers/vx/ |
D | vx_mixer.c | 938 struct snd_kcontrol_new temp; in snd_vx_mixer_new() local 946 temp = vx_control_output_level; in snd_vx_mixer_new() 947 temp.index = i; in snd_vx_mixer_new() 948 temp.tlv.p = chip->hw->output_level_db_scale; in snd_vx_mixer_new() 949 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new() 956 temp = vx_control_audio_gain; in snd_vx_mixer_new() 957 temp.index = i; in snd_vx_mixer_new() 958 temp.name = "PCM Playback Volume"; in snd_vx_mixer_new() 959 temp.private_value = val; in snd_vx_mixer_new() 960 if ((err = snd_ctl_add(card, snd_ctl_new1(&temp, chip))) < 0) in snd_vx_mixer_new() [all …]
|
/sound/pci/pcxhr/ |
D | pcxhr_mixer.c | 880 unsigned char temp; in pcxhr_iec958_capture_byte() local 923 temp = (unsigned char)rmh.stat[1]; in pcxhr_iec958_capture_byte() 925 temp = 0; in pcxhr_iec958_capture_byte() 928 temp <<= 1; in pcxhr_iec958_capture_byte() 930 temp |= 1; in pcxhr_iec958_capture_byte() 934 chip->chip_idx, aes_idx, temp); in pcxhr_iec958_capture_byte() 935 *aes_bits = temp; in pcxhr_iec958_capture_byte() 1135 struct snd_kcontrol_new temp; in pcxhr_create_mixer() local 1140 temp = pcxhr_control_analog_level; in pcxhr_create_mixer() 1141 temp.name = "Master Playback Volume"; in pcxhr_create_mixer() [all …]
|
D | pcxhr_mix22.c | 635 unsigned char temp = 0; in hr222_iec958_capture_byte() local 641 temp <<= 1; in hr222_iec958_capture_byte() 643 temp |= 1; in hr222_iec958_capture_byte() 646 chip->chip_idx, aes_idx, temp); in hr222_iec958_capture_byte() 647 *aes_bits = temp; in hr222_iec958_capture_byte()
|
/sound/pci/ice1712/ |
D | phase.c | 704 int temp, temp2; in phase28_deemp_put() local 705 temp = wm_get(ice, WM_DAC_CTRL2); in phase28_deemp_put() 706 temp2 = temp; in phase28_deemp_put() 708 temp |= 0xf; in phase28_deemp_put() 710 temp &= ~0xf; in phase28_deemp_put() 711 if (temp != temp2) { in phase28_deemp_put() 712 wm_put(ice, WM_DAC_CTRL2, temp); in phase28_deemp_put() 751 int temp, temp2; in phase28_oversampling_put() local 754 temp = wm_get(ice, WM_MASTER); in phase28_oversampling_put() 755 temp2 = temp; in phase28_oversampling_put() [all …]
|
D | ak4xxx.c | 126 int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp, in snd_ice1712_akm4xxx_init() argument 139 *ak = *temp; in snd_ice1712_akm4xxx_init()
|
D | aureon.c | 1375 int temp, temp2; in aureon_deemp_put() local 1376 temp2 = temp = wm_get(ice, WM_DAC_CTRL2); in aureon_deemp_put() 1378 temp |= 0xf; in aureon_deemp_put() 1380 temp &= ~0xf; in aureon_deemp_put() 1381 if (temp != temp2) { in aureon_deemp_put() 1382 wm_put(ice, WM_DAC_CTRL2, temp); in aureon_deemp_put() 1415 int temp, temp2; in aureon_oversampling_put() local 1418 temp2 = temp = wm_get(ice, WM_MASTER); in aureon_oversampling_put() 1421 temp |= 0x8; in aureon_oversampling_put() 1423 temp &= ~0x8; in aureon_oversampling_put() [all …]
|
/sound/pci/cs46xx/ |
D | dsp_spos_scb_lib.c | 1396 u32 temp = snd_cs46xx_peek (chip,pcm_channel->pcm_reader_scb->address << 2); in cs46xx_dsp_pcm_channel_set_period() local 1397 temp &= ~DMA_RQ_C1_SOURCE_SIZE_MASK; in cs46xx_dsp_pcm_channel_set_period() 1401 temp |= DMA_RQ_C1_SOURCE_MOD1024; in cs46xx_dsp_pcm_channel_set_period() 1404 temp |= DMA_RQ_C1_SOURCE_MOD512; in cs46xx_dsp_pcm_channel_set_period() 1407 temp |= DMA_RQ_C1_SOURCE_MOD256; in cs46xx_dsp_pcm_channel_set_period() 1410 temp |= DMA_RQ_C1_SOURCE_MOD128; in cs46xx_dsp_pcm_channel_set_period() 1413 temp |= DMA_RQ_C1_SOURCE_MOD64; in cs46xx_dsp_pcm_channel_set_period() 1416 temp |= DMA_RQ_C1_SOURCE_MOD32; in cs46xx_dsp_pcm_channel_set_period() 1419 temp |= DMA_RQ_C1_SOURCE_MOD16; in cs46xx_dsp_pcm_channel_set_period() 1426 snd_cs46xx_poke (chip,pcm_channel->pcm_reader_scb->address << 2,temp); in cs46xx_dsp_pcm_channel_set_period() [all …]
|
/sound/pci/asihpi/ |
D | hpi6205.c | 1255 u32 temp; in adapter_boot_load_dsp() local 1288 temp = C6205_HDCR_WARMRESET; in adapter_boot_load_dsp() 1289 iowrite32(temp, phw->prHDCR); in adapter_boot_load_dsp() 1293 temp = ioread32(phw->prHSR); in adapter_boot_load_dsp() 1294 if ((temp & (C6205_HSR_CFGERR | C6205_HSR_EEREAD)) != in adapter_boot_load_dsp() 1297 temp |= 0x04; in adapter_boot_load_dsp() 1299 iowrite32(temp, phw->prHSR); in adapter_boot_load_dsp() 1302 temp = ioread32(phw->prHDCR); in adapter_boot_load_dsp() 1303 if (!(temp & C6205_HDCR_PCIBOOT)) in adapter_boot_load_dsp() 1308 temp = 3; in adapter_boot_load_dsp() [all …]
|
/sound/oss/ |
D | waveartist.c | 354 unsigned int temp[2]; in waveartist_getrev() local 357 waveartist_cmd(devc, 1, &cmd, 2, temp); in waveartist_getrev() 359 rev[0] = temp[0] >> 8; in waveartist_getrev() 360 rev[1] = temp[0] & 255; in waveartist_getrev() 363 return temp[0]; in waveartist_getrev() 849 int temp = 1; in waveartist_intr() local 855 temp = 0; in waveartist_intr() 859 temp = 0; in waveartist_intr() 861 if (temp) //default: in waveartist_intr() 1735 unsigned int temp, old_hs, old_td; in vnc_slider() local [all …]
|
D | pas2_card.c | 334 char temp[100]; in attach_pas_card() local 341 sprintf(temp, in attach_pas_card() 344 conf_printf(temp, hw_config); in attach_pas_card()
|
/sound/pci/ali5451/ |
D | ali5451.c | 862 unsigned int temp, cspf; in snd_ali_update_ptr() local 884 temp = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); in snd_ali_update_ptr() 889 (u16)temp, cspf); in snd_ali_update_ptr() 2015 unsigned char temp; in snd_ali_chip_init() local 2027 pci_read_config_byte(pci_dev, 0x59, &temp); in snd_ali_chip_init() 2028 temp |= 0x80; in snd_ali_chip_init() 2029 pci_write_config_byte(pci_dev, 0x59, temp); in snd_ali_chip_init() 2032 pci_read_config_byte(pci_dev, 0xb8, &temp); in snd_ali_chip_init() 2033 temp |= 0x20; in snd_ali_chip_init() 2034 pci_write_config_byte(pci_dev, 0xB8, temp); in snd_ali_chip_init()
|
/sound/pci/nm256/ |
D | nm256.c | 1343 void __iomem *temp; in snd_nm256_peek_for_sig() local 1348 temp = ioremap_nocache(chip->buffer_addr + chip->buffer_end - 0x400, 16); in snd_nm256_peek_for_sig() 1349 if (temp == NULL) { in snd_nm256_peek_for_sig() 1354 sig = readl(temp); in snd_nm256_peek_for_sig() 1356 u32 pointer = readl(temp + 4); in snd_nm256_peek_for_sig() 1365 iounmap(temp); in snd_nm256_peek_for_sig() 1374 iounmap(temp); in snd_nm256_peek_for_sig()
|
/sound/pci/trident/ |
D | trident_main.c | 1412 unsigned int temp; in snd_trident_spdif_prepare() local 1518 temp = inl(TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_spdif_prepare() 1519 temp &= ~(1<<19); in snd_trident_spdif_prepare() 1520 outl(temp, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_spdif_prepare() 1521 temp = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)); in snd_trident_spdif_prepare() 1522 temp |= SPDIF_EN; in snd_trident_spdif_prepare() 1523 outl(temp, TRID_REG(trident, SI_SERIAL_INTF_CTRL)); in snd_trident_spdif_prepare() 1949 unsigned int temp; in snd_trident_spdif_close() local 1958 temp = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)); in snd_trident_spdif_close() 1960 temp |= SPDIF_EN; in snd_trident_spdif_close() [all …]
|
/sound/pci/ |
D | ens1370.c | 535 unsigned int temp, i, orig, r; in snd_es1371_src_read() local 538 temp = orig = snd_es1371_wait_src_ready(ensoniq); in snd_es1371_src_read() 541 r = temp & (ES_1371_SRC_DISABLE | ES_1371_DIS_P1 | in snd_es1371_src_read() 547 temp = snd_es1371_wait_src_ready(ensoniq); in snd_es1371_src_read() 549 if ((temp & 0x00870000) != 0x00010000) { in snd_es1371_src_read() 552 temp = inl(ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_src_read() 553 if ((temp & 0x00870000) == 0x00010000) in snd_es1371_src_read() 564 return temp; in snd_es1371_src_read()
|
/sound/pci/lx6464es/ |
D | lx_core.c | 1062 u32 temp; in lx_interrupt_test_ack() local 1065 while ((temp = lx_plx_reg_read(chip, ePLX_L2PCIDB))) { in lx_interrupt_test_ack() 1067 irqcs |= temp; in lx_interrupt_test_ack() 1068 lx_plx_reg_write(chip, ePLX_L2PCIDB, temp); in lx_interrupt_test_ack()
|
/sound/pci/hda/ |
D | hda_generic.h | 308 const struct snd_kcontrol_new *temp);
|