Home
last modified time | relevance | path

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

12

/sound/pci/ice1712/
Dwtm.c67 unsigned char new, old; in stac9460_dac_mute_all() local
78 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
79 change = (new != old); in stac9460_dac_mute_all()
81 stac9460_put(ice, idx, new); in stac9460_dac_mute_all()
97 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
98 change = (new != old); in stac9460_dac_mute_all()
100 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_all()
144 unsigned char new, old; in stac9460_dac_mute_put() local
151 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
153 change = (new != old); in stac9460_dac_mute_put()
[all …]
Dquartet.c507 unsigned int old, new, smute; in qtet_mute_put() local
511 new = 0; in qtet_mute_put()
516 new = SCR_MUTE; in qtet_mute_put()
520 if (old != new) { in qtet_mute_put()
522 set_scr(ice, (get_scr(ice) & ~SCR_MUTE) | new); in qtet_mute_put()
568 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local
569 old = new = get_scr(ice); in qtet_ain12_sw_put()
579 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put()
580 set_scr(ice, new); in qtet_ain12_sw_put()
582 new &= ~SCR_RELAY; in qtet_ain12_sw_put()
[all …]
Dprodigy192.c81 unsigned char new, old; in stac9460_dac_mute() local
84 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute()
85 change = (new != old); in stac9460_dac_mute()
88 stac9460_put(ice, idx, new); in stac9460_dac_mute()
206 unsigned char new, old; in stac9460_adc_mute_put() local
213 new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80); in stac9460_adc_mute_put()
214 change = (new != old); in stac9460_adc_mute_put()
216 stac9460_put(ice, reg, new); in stac9460_adc_mute_put()
292 unsigned char new, old; in stac9460_mic_sw_put() local
295 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
[all …]
Djuli.c518 unsigned int old, new; in juli_set_rate() local
522 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate()
527 ice->gpio.set_data(ice, new); in juli_set_rate()
Daureon.c999 unsigned short new, old; in wm_adc_mute_put() local
1005 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put()
1006 if (new != old) { in wm_adc_mute_put()
1007 wm_put(ice, WM_ADC_GAIN + i, new); in wm_adc_mute_put()
/sound/soc/sof/
Dops.c19 unsigned int old, new; in snd_sof_pci_update_bits_unlocked() local
26 new = (old & ~mask) | (value & mask); in snd_sof_pci_update_bits_unlocked()
28 if (old == new) in snd_sof_pci_update_bits_unlocked()
31 pci_write_config_dword(pci, offset, new); in snd_sof_pci_update_bits_unlocked()
54 unsigned int old, new; in snd_sof_dsp_update_bits_unlocked() local
60 new = (old & ~mask) | (value & mask); in snd_sof_dsp_update_bits_unlocked()
62 if (old == new) in snd_sof_dsp_update_bits_unlocked()
65 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_unlocked()
74 u64 old, new; in snd_sof_dsp_update_bits64_unlocked() local
78 new = (old & ~mask) | (value & mask); in snd_sof_dsp_update_bits64_unlocked()
[all …]
/sound/soc/intel/common/
Dsst-dsp.c87 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local
93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked()
95 change = (old != new); in sst_dsp_shim_update_bits_unlocked()
97 sst_dsp_shim_write_unlocked(sst, offset, new); in sst_dsp_shim_update_bits_unlocked()
107 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local
113 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked()
115 sst_dsp_shim_write_unlocked(sst, offset, new); in sst_dsp_shim_update_bits_forced_unlocked()
/sound/soc/intel/catpt/
Ddsp.c155 unsigned long mask, unsigned long new) in catpt_dsp_set_srampge() argument
163 mask, old, new); in catpt_dsp_set_srampge()
165 if (old == new) in catpt_dsp_set_srampge()
168 catpt_updatel_pci(cdev, VDRTCTL0, mask, new); in catpt_dsp_set_srampge()
176 for_each_clear_bit_from(b, &new, fls_long(mask)) { in catpt_dsp_set_srampge()
193 unsigned long new = 0; in catpt_dsp_update_srampge() local
201 new |= GENMASK(h, l); in catpt_dsp_update_srampge()
205 new = ~(new << __ffs(mask)) & mask; in catpt_dsp_update_srampge()
210 catpt_dsp_set_srampge(cdev, sram, mask, new); in catpt_dsp_update_srampge()
/sound/mips/
Dhal2.c222 u32 old, new; in hal2_gain_put() local
231 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put()
235 new |= (l << H2I_C2_L_ATT_SHIFT); in hal2_gain_put()
236 new |= (r << H2I_C2_R_ATT_SHIFT); in hal2_gain_put()
238 new |= H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE; in hal2_gain_put()
239 hal2_i_write32(hal2, H2I_DAC_C2, new); in hal2_gain_put()
243 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put()
244 new |= (l << H2I_C2_L_GAIN_SHIFT); in hal2_gain_put()
245 new |= (r << H2I_C2_R_GAIN_SHIFT); in hal2_gain_put()
246 hal2_i_write32(hal2, H2I_ADC_C2, new); in hal2_gain_put()
[all …]
/sound/pci/ac97/
Dac97_codec.c402 unsigned short old, new; in snd_ac97_update_bits_nolock() local
405 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock()
406 change = old != new; in snd_ac97_update_bits_nolock()
408 ac97->regs[reg] = new; in snd_ac97_update_bits_nolock()
409 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock()
418 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local
422 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits()
423 change = old != new; in snd_ac97_ad18xx_update_pcm_bits()
427 ac97->spec.ad18xx.pcmreg[codec] = new; in snd_ac97_ad18xx_update_pcm_bits()
433 ac97->bus->ops->write(ac97, AC97_PCM, new); in snd_ac97_ad18xx_update_pcm_bits()
[all …]
/sound/pci/
Des1938.c272 unsigned char old, new, oval; in snd_es1938_mixer_bits() local
278 new = (old & ~mask) | (val & mask); in snd_es1938_mixer_bits()
279 outb(new, SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits()
282 reg, old, new); in snd_es1938_mixer_bits()
358 unsigned char old, new, oval; in snd_es1938_bits() local
366 new = (old & ~mask) | (val & mask); in snd_es1938_bits()
367 snd_es1938_write_cmd(chip, new); in snd_es1938_bits()
369 reg, old, new); in snd_es1938_bits()
759 size_t old, new; in snd_es1938_capture_pointer()
762 while ((new = inw(SLDM_REG(chip, DMACOUNT))) != old) in snd_es1938_capture_pointer()
[all …]
Dfm801.c285 unsigned short old, new; in snd_fm801_update_bits() local
289 new = (old & ~mask) | value; in snd_fm801_update_bits()
290 change = old != new; in snd_fm801_update_bits()
292 fm801_iowrite16(chip, reg, new); in snd_fm801_update_bits()
Dazt3328.c324 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() local
326 new = (do_set) ? (prev|mask) : (prev & ~mask); in snd_azf3328_io_reg_setb()
329 outb(new, reg); in snd_azf3328_io_reg_setb()
330 if (new != prev) in snd_azf3328_io_reg_setb()
/sound/hda/
DKconfig59 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
64 Set this option to Y to make the kernel default to the new SOF
/sound/firewire/dice/
Ddice-stream.c62 __be32 reg, new; in select_clock() local
86 new = cpu_to_be32(data); in select_clock()
88 &new, sizeof(new)); in select_clock()
94 if (reg != new) in select_clock()
/sound/soc/
Dsoc-component.c763 unsigned int old, new; in snd_soc_component_update_bits_legacy() local
770 new = (old & ~mask) | (val & mask); in snd_soc_component_update_bits_legacy()
771 *change = old != new; in snd_soc_component_update_bits_legacy()
773 ret = soc_component_write_no_lock(component, reg, new); in snd_soc_component_update_bits_legacy()
916 unsigned int old, new; in snd_soc_component_test_bits() local
919 new = (old & ~mask) | value; in snd_soc_component_test_bits()
920 return old != new; in snd_soc_component_test_bits()
Dsoc-pcm.c1476 int i, new = 0, err; in dpcm_add_paths() local
1517 new++; in dpcm_add_paths()
1520 dev_dbg(fe->dev, "ASoC: found %d new BE paths\n", new); in dpcm_add_paths()
1521 return new; in dpcm_add_paths()
1529 int stream, struct snd_soc_dapm_widget_list **list, int new) in dpcm_process_paths() argument
1531 if (new) in dpcm_process_paths()
2595 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update() argument
2616 new ? "new" : "old", fe->dai_link->name); in soc_dpcm_fe_runtime_update()
2635 count = dpcm_process_paths(fe, stream, &list, new); in soc_dpcm_fe_runtime_update()
2638 if (new) in soc_dpcm_fe_runtime_update()
/sound/aoa/
DKconfig7 This option enables the new driver for the various
/sound/isa/
Des18xx.c231 unsigned char old, new, oval; in snd_es18xx_bits() local
250 new = (old & ~mask) | (val & mask); in snd_es18xx_bits()
251 ret = snd_es18xx_dsp_command(chip, new); in snd_es18xx_bits()
256 reg, old, new, ret); in snd_es18xx_bits()
296 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local
303 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits()
304 outb(new, chip->port + 0x05); in snd_es18xx_mixer_bits()
307 reg, old, new); in snd_es18xx_mixer_bits()
317 int old, expected, new; in snd_es18xx_mixer_writable() local
324 new = inb(chip->port + 0x05); in snd_es18xx_mixer_writable()
[all …]
/sound/ac97/
DKconfig10 This is the new AC97 bus type, successor of AC97_BUS. The ported
/sound/pci/oxygen/
Dxonar_dg_mixer.c76 unsigned int new = value->value.enumerated.item[0]; in output_select_put() local
81 if (data->output_sel != new) { in output_select_put()
82 data->output_sel = new; in output_select_put()
/sound/soc/codecs/
Dwm8995.c723 int change, new; in configure_clock() local
743 new = WM8995_SYSCLK_SRC; in configure_clock()
745 new = 0; in configure_clock()
748 WM8995_SYSCLK_SRC_MASK, new); in configure_clock()
/sound/
DKconfig48 the new base sound system.
/sound/pci/ctxfi/
Dctmixer.c706 ct_mixer_kcontrol_new(struct ct_mixer *mixer, struct snd_kcontrol_new *new) in ct_mixer_kcontrol_new() argument
711 kctl = snd_ctl_new1(new, mixer->atc); in ct_mixer_kcontrol_new()
722 switch (new->private_value) { in ct_mixer_kcontrol_new()
/sound/core/
Dpcm_lib.c1130 struct snd_pcm_hw_rule *new; in snd_pcm_hw_rule_add() local
1132 new = krealloc_array(constrs->rules, new_rules, in snd_pcm_hw_rule_add()
1134 if (!new) { in snd_pcm_hw_rule_add()
1138 constrs->rules = new; in snd_pcm_hw_rule_add()

12