Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 25) sorted by relevance

/sound/pci/ice1712/
Dquartet.c526 unsigned int old, new, smute; in qtet_mute_put() local
530 new = 0; in qtet_mute_put()
535 new = SCR_MUTE; in qtet_mute_put()
539 if (old != new) { in qtet_mute_put()
541 set_scr(ice, (get_scr(ice) & ~SCR_MUTE) | new); in qtet_mute_put()
597 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local
598 old = new = get_scr(ice); in qtet_ain12_sw_put()
608 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
609 set_scr(ice, new); in qtet_ain12_sw_put()
611 new &= ~SCR_RELAY; in qtet_ain12_sw_put()
[all …]
Dwtm.c99 unsigned char new, old; in stac9460_dac_mute_put() local
106 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
108 change = (new != old); in stac9460_dac_mute_put()
110 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
111 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_put()
120 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
122 change = (new != old); in stac9460_dac_mute_put()
125 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
127 stac9460_2_put(ice, idx - 6, new); in stac9460_dac_mute_put()
239 unsigned char new, old; in stac9460_adc_mute_put() local
[all …]
Dprodigy192.c95 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()
314 unsigned char new, old; in stac9460_mic_sw_put() local
317 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
[all …]
Djuli.c534 unsigned int old, new; in juli_set_rate() local
538 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate()
543 ice->gpio.set_data(ice, new); in juli_set_rate()
Daureon.c1019 unsigned short new, old; in wm_adc_mute_put() local
1025 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put()
1026 if (new != old) { in wm_adc_mute_put()
1027 wm_put(ice, WM_ADC_GAIN + i, new); in wm_adc_mute_put()
/sound/mips/
Dhal2.c233 u32 old, new; in hal2_gain_put() local
242 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put()
246 new |= (l << H2I_C2_L_ATT_SHIFT); in hal2_gain_put()
247 new |= (r << H2I_C2_R_ATT_SHIFT); in hal2_gain_put()
249 new |= H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE; in hal2_gain_put()
250 hal2_i_write32(hal2, H2I_DAC_C2, new); in hal2_gain_put()
254 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put()
255 new |= (l << H2I_C2_L_GAIN_SHIFT); in hal2_gain_put()
256 new |= (r << H2I_C2_R_GAIN_SHIFT); in hal2_gain_put()
257 hal2_i_write32(hal2, H2I_ADC_C2, new); in hal2_gain_put()
[all …]
/sound/pci/ac97/
Dac97_codec.c409 unsigned short old, new; in snd_ac97_update_bits_nolock() local
412 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock()
413 change = old != new; in snd_ac97_update_bits_nolock()
415 ac97->regs[reg] = new; in snd_ac97_update_bits_nolock()
416 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock()
425 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local
429 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits()
430 change = old != new; in snd_ac97_ad18xx_update_pcm_bits()
434 ac97->spec.ad18xx.pcmreg[codec] = new; in snd_ac97_ad18xx_update_pcm_bits()
440 ac97->bus->ops->write(ac97, AC97_PCM, new); in snd_ac97_ad18xx_update_pcm_bits()
[all …]
/sound/pci/
Des1938.c297 unsigned char old, new, oval; in snd_es1938_mixer_bits() local
303 new = (old & ~mask) | (val & mask); in snd_es1938_mixer_bits()
304 outb(new, SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits()
307 reg, old, new); in snd_es1938_mixer_bits()
384 unsigned char old, new, oval; in snd_es1938_bits() local
392 new = (old & ~mask) | (val & mask); in snd_es1938_bits()
393 snd_es1938_write_cmd(chip, new); in snd_es1938_bits()
396 reg, old, new); in snd_es1938_bits()
787 size_t old, new; in snd_es1938_capture_pointer()
790 while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old) in snd_es1938_capture_pointer()
[all …]
Dfm801.c230 unsigned short old, new; in snd_fm801_update_bits() local
234 new = (old & ~mask) | value; in snd_fm801_update_bits()
235 change = old != new; in snd_fm801_update_bits()
237 outw(new, chip->port + reg); in snd_fm801_update_bits()
Dazt3328.c394 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() local
396 new = (do_set) ? (prev|mask) : (prev & ~mask); in snd_azf3328_io_reg_setb()
399 outb(new, reg); in snd_azf3328_io_reg_setb()
400 if (new != prev) in snd_azf3328_io_reg_setb()
DKconfig274 Say Y here to use a new DSP image for SPDIF and dual codecs.
/sound/aoa/
DKconfig6 This option enables the new driver for the various
/sound/isa/
Des18xx.c248 unsigned char old, new, oval; in snd_es18xx_bits() local
267 new = (old & ~mask) | (val & mask); in snd_es18xx_bits()
268 ret = snd_es18xx_dsp_command(chip, new); in snd_es18xx_bits()
273 reg, old, new, ret); in snd_es18xx_bits()
313 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local
320 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits()
321 outb(new, chip->port + 0x05); in snd_es18xx_mixer_bits()
324 reg, old, new); in snd_es18xx_mixer_bits()
334 int old, expected, new; in snd_es18xx_mixer_writable() local
341 new = inb(chip->port + 0x05); in snd_es18xx_mixer_writable()
[all …]
/sound/soc/
Dsoc-pcm.c926 int i, new = 0, err; in dpcm_add_paths() local
966 new++; in dpcm_add_paths()
969 dev_dbg(fe->dev, "ASoC: found %d new BE paths\n", new); in dpcm_add_paths()
970 return new; in dpcm_add_paths()
978 int stream, struct snd_soc_dapm_widget_list **list, int new) in dpcm_process_paths() argument
980 if (new) in dpcm_process_paths()
1835 int i, old, new, paths; in soc_dpcm_runtime_update() local
1874 new = dpcm_process_paths(fe, SNDRV_PCM_STREAM_PLAYBACK, &list, 1); in soc_dpcm_runtime_update()
1875 if (new) { in soc_dpcm_runtime_update()
1903 new = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, 1); in soc_dpcm_runtime_update()
[all …]
Dsoc-dapm.c260 unsigned int old, new; in soc_widget_update_bits_locked() local
277 new = (old & ~mask) | (value & mask); in soc_widget_update_bits_locked()
278 change = old != new; in soc_widget_update_bits_locked()
280 ret = soc_widget_write(w, reg, new); in soc_widget_update_bits_locked()
2570 if (w->new) in snd_soc_dapm_new_widgets()
2613 w->new = 1; in snd_soc_dapm_new_widgets()
Dsoc-core.c2153 unsigned int old, new; in snd_soc_update_bits() local
2165 new = (old & ~mask) | (value & mask); in snd_soc_update_bits()
2166 change = old != new; in snd_soc_update_bits()
2168 ret = snd_soc_write(codec, reg, new); in snd_soc_update_bits()
2219 unsigned int old, new; in snd_soc_test_bits() local
2222 new = (old & ~mask) | value; in snd_soc_test_bits()
2223 change = old != new; in snd_soc_test_bits()
/sound/core/
DKconfig85 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
134 Note that this option is exclusive with the new RTC drivers
Dpcm_lib.c1162 struct snd_pcm_hw_rule *new; in snd_pcm_hw_rule_add() local
1164 new = kcalloc(new_rules, sizeof(*c), GFP_KERNEL); in snd_pcm_hw_rule_add()
1165 if (!new) { in snd_pcm_hw_rule_add()
1170 memcpy(new, constrs->rules, in snd_pcm_hw_rule_add()
1174 constrs->rules = new; in snd_pcm_hw_rule_add()
/sound/soc/codecs/
Dwm8995.c732 int change, new; in configure_clock() local
752 new = WM8995_SYSCLK_SRC; in configure_clock()
754 new = 0; in configure_clock()
757 WM8995_SYSCLK_SRC_MASK, new); in configure_clock()
Dwm8994.c215 int change, new; in configure_clock() local
234 new = WM8994_SYSCLK_SRC; in configure_clock()
236 new = 0; in configure_clock()
239 WM8994_SYSCLK_SRC, new); in configure_clock()
/sound/oss/
DCHANGELOG92 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
DKconfig492 bool "SC-6600 based audio cards (new Audio Excel DSP 16)"
495 The SC6600 is the new version of DSP mounted on the Audio Excel DSP
/sound/pci/ctxfi/
Dctmixer.c710 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/
DKconfig65 the new base sound system.
/sound/pci/hda/
DKconfig207 bool "Support new DSP code for CA0132 codec"