/sound/pci/ice1712/ |
D | wtm.c | 81 unsigned char new, old; in stac9460_dac_mute_all() local 92 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 93 change = (new != old); in stac9460_dac_mute_all() 95 stac9460_put(ice, idx, new); in stac9460_dac_mute_all() 111 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 112 change = (new != old); in stac9460_dac_mute_all() 114 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_all() 158 unsigned char new, old; in stac9460_dac_mute_put() local 165 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put() 167 change = (new != old); in stac9460_dac_mute_put() [all …]
|
D | quartet.c | 523 unsigned int old, new, smute; in qtet_mute_put() local 527 new = 0; in qtet_mute_put() 532 new = SCR_MUTE; in qtet_mute_put() 536 if (old != new) { in qtet_mute_put() 538 set_scr(ice, (get_scr(ice) & ~SCR_MUTE) | new); in qtet_mute_put() 584 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local 585 old = new = get_scr(ice); in qtet_ain12_sw_put() 595 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 596 set_scr(ice, new); in qtet_ain12_sw_put() 598 new &= ~SCR_RELAY; in qtet_ain12_sw_put() [all …]
|
D | prodigy192.c | 95 unsigned char new, old; in stac9460_dac_mute() local 98 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute() 99 change = (new != old); in stac9460_dac_mute() 102 stac9460_put(ice, idx, new); in stac9460_dac_mute() 220 unsigned char new, old; in stac9460_adc_mute_put() local 227 new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80); in stac9460_adc_mute_put() 228 change = (new != old); in stac9460_adc_mute_put() 230 stac9460_put(ice, reg, new); in stac9460_adc_mute_put() 306 unsigned char new, old; in stac9460_mic_sw_put() local 309 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put() [all …]
|
D | juli.c | 533 unsigned int old, new; in juli_set_rate() local 537 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate() 542 ice->gpio.set_data(ice, new); in juli_set_rate()
|
D | aureon.c | 1013 unsigned short new, old; in wm_adc_mute_put() local 1019 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put() 1020 if (new != old) { in wm_adc_mute_put() 1021 wm_put(ice, WM_ADC_GAIN + i, new); in wm_adc_mute_put()
|
/sound/soc/ |
D | soc-io.c | 68 unsigned int old, new; in snd_soc_component_update_bits_legacy() local 80 new = (old & ~mask) | (val & mask); in snd_soc_component_update_bits_legacy() 81 *change = old != new; in snd_soc_component_update_bits_legacy() 83 ret = component->write(component, reg, new); in snd_soc_component_update_bits_legacy() 185 unsigned int old, new; in snd_soc_component_test_bits() local 191 new = (old & ~mask) | value; in snd_soc_component_test_bits() 192 return old != new; in snd_soc_component_test_bits()
|
D | soc-pcm.c | 1386 int i, new = 0, err; in dpcm_add_paths() local 1431 new++; in dpcm_add_paths() 1434 dev_dbg(fe->dev, "ASoC: found %d new BE paths\n", new); in dpcm_add_paths() 1435 return new; in dpcm_add_paths() 1443 int stream, struct snd_soc_dapm_widget_list **list, int new) in dpcm_process_paths() argument 1445 if (new) in dpcm_process_paths() 2507 int old, new, paths; in soc_dpcm_runtime_update() local 2544 new = dpcm_process_paths(fe, SNDRV_PCM_STREAM_PLAYBACK, &list, 1); in soc_dpcm_runtime_update() 2545 if (new) { in soc_dpcm_runtime_update() 2580 new = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, 1); in soc_dpcm_runtime_update() [all …]
|
/sound/soc/intel/common/ |
D | sst-dsp.c | 166 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local 172 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked() 174 change = (old != new); in sst_dsp_shim_update_bits_unlocked() 176 sst_dsp_shim_write_unlocked(sst, offset, new); in sst_dsp_shim_update_bits_unlocked() 186 u64 old, new; in sst_dsp_shim_update_bits64_unlocked() local 190 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits64_unlocked() 192 change = (old != new); in sst_dsp_shim_update_bits64_unlocked() 194 sst_dsp_shim_write64_unlocked(sst, offset, new); in sst_dsp_shim_update_bits64_unlocked() 204 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local 210 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked() [all …]
|
/sound/mips/ |
D | hal2.c | 235 u32 old, new; in hal2_gain_put() local 244 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put() 248 new |= (l << H2I_C2_L_ATT_SHIFT); in hal2_gain_put() 249 new |= (r << H2I_C2_R_ATT_SHIFT); in hal2_gain_put() 251 new |= H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE; in hal2_gain_put() 252 hal2_i_write32(hal2, H2I_DAC_C2, new); in hal2_gain_put() 256 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put() 257 new |= (l << H2I_C2_L_GAIN_SHIFT); in hal2_gain_put() 258 new |= (r << H2I_C2_R_GAIN_SHIFT); in hal2_gain_put() 259 hal2_i_write32(hal2, H2I_ADC_C2, new); in hal2_gain_put() [all …]
|
/sound/pci/ac97/ |
D | ac97_codec.c | 417 unsigned short old, new; in snd_ac97_update_bits_nolock() local 420 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock() 421 change = old != new; in snd_ac97_update_bits_nolock() 423 ac97->regs[reg] = new; in snd_ac97_update_bits_nolock() 424 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock() 433 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local 437 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits() 438 change = old != new; in snd_ac97_ad18xx_update_pcm_bits() 442 ac97->spec.ad18xx.pcmreg[codec] = new; in snd_ac97_ad18xx_update_pcm_bits() 448 ac97->bus->ops->write(ac97, AC97_PCM, new); in snd_ac97_ad18xx_update_pcm_bits() [all …]
|
/sound/pci/ |
D | es1938.c | 291 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 297 new = (old & ~mask) | (val & mask); in snd_es1938_mixer_bits() 298 outb(new, SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 301 reg, old, new); in snd_es1938_mixer_bits() 374 unsigned char old, new, oval; in snd_es1938_bits() local 382 new = (old & ~mask) | (val & mask); in snd_es1938_bits() 383 snd_es1938_write_cmd(chip, new); in snd_es1938_bits() 385 reg, old, new); in snd_es1938_bits() 775 size_t old, new; in snd_es1938_capture_pointer() 778 while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old) in snd_es1938_capture_pointer() [all …]
|
D | fm801.c | 270 unsigned short old, new; in snd_fm801_update_bits() local 274 new = (old & ~mask) | value; in snd_fm801_update_bits() 275 change = old != new; in snd_fm801_update_bits() 277 fm801_iowrite16(chip, reg, new); in snd_fm801_update_bits()
|
D | azt3328.c | 339 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() local 341 new = (do_set) ? (prev|mask) : (prev & ~mask); in snd_azf3328_io_reg_setb() 344 outb(new, reg); in snd_azf3328_io_reg_setb() 345 if (new != prev) in snd_azf3328_io_reg_setb()
|
/sound/aoa/ |
D | Kconfig | 6 This option enables the new driver for the various
|
/sound/isa/ |
D | es18xx.c | 249 unsigned char old, new, oval; in snd_es18xx_bits() local 268 new = (old & ~mask) | (val & mask); in snd_es18xx_bits() 269 ret = snd_es18xx_dsp_command(chip, new); in snd_es18xx_bits() 274 reg, old, new, ret); in snd_es18xx_bits() 314 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local 321 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits() 322 outb(new, chip->port + 0x05); in snd_es18xx_mixer_bits() 325 reg, old, new); in snd_es18xx_mixer_bits() 335 int old, expected, new; in snd_es18xx_mixer_writable() local 342 new = inb(chip->port + 0x05); in snd_es18xx_mixer_writable() [all …]
|
/sound/pci/oxygen/ |
D | xonar_dg_mixer.c | 86 unsigned int new = value->value.enumerated.item[0]; in output_select_put() local 91 if (data->output_sel != new) { in output_select_put() 92 data->output_sel = new; in output_select_put()
|
/sound/soc/codecs/ |
D | wm8995.c | 726 int change, new; in configure_clock() local 746 new = WM8995_SYSCLK_SRC; in configure_clock() 748 new = 0; in configure_clock() 751 WM8995_SYSCLK_SRC_MASK, new); in configure_clock()
|
D | wm8994.c | 217 int change, new; in configure_clock() local 236 new = WM8994_SYSCLK_SRC; in configure_clock() 238 new = 0; in configure_clock() 241 WM8994_SYSCLK_SRC, new); in configure_clock()
|
/sound/core/ |
D | pcm_lib.c | 1136 struct snd_pcm_hw_rule *new; in snd_pcm_hw_rule_add() local 1138 new = kcalloc(new_rules, sizeof(*c), GFP_KERNEL); in snd_pcm_hw_rule_add() 1139 if (!new) { in snd_pcm_hw_rule_add() 1144 memcpy(new, constrs->rules, in snd_pcm_hw_rule_add() 1148 constrs->rules = new; in snd_pcm_hw_rule_add()
|
D | Kconfig | 78 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
|
/sound/pci/ctxfi/ |
D | ctmixer.c | 710 ct_mixer_kcontrol_new(struct ct_mixer *mixer, struct snd_kcontrol_new *new) in ct_mixer_kcontrol_new() argument 715 kctl = snd_ctl_new1(new, mixer->atc); in ct_mixer_kcontrol_new() 726 switch (new->private_value) { in ct_mixer_kcontrol_new()
|
/sound/oss/ |
D | CHANGELOG | 92 The most noticeable new feature is support for multiple SB cards at the same 199 new local.h which is compatible with current version of the driver. 362 - It's possible to use smaller buffers than earlier. There is a new
|
D | Kconfig | 483 bool "SC-6600 based audio cards (new Audio Excel DSP 16)" 486 The SC6600 is the new version of DSP mounted on the Audio Excel DSP
|
/sound/ |
D | Kconfig | 65 the new base sound system.
|
/sound/pci/hda/ |
D | Kconfig | 178 bool "Support new DSP code for CA0132 codec"
|