| /sound/pci/ice1712/ |
| A D | wtm.c | 67 unsigned char new, old; in stac9460_dac_mute_all() local 79 change = (new != old); in stac9460_dac_mute_all() 98 change = (new != old); in stac9460_dac_mute_all() 144 unsigned char new, old; in stac9460_dac_mute_put() local 153 change = (new != old); in stac9460_dac_mute_put() 167 change = (new != old); in stac9460_dac_mute_put() 284 unsigned char new, old; in stac9460_adc_mute_put() local 415 unsigned char new, old; in stac9460_mic_sw_put() local 424 change = (new != old); in stac9460_mic_sw_put() 440 unsigned char old, new; in stac9460_set_rate_val() local [all …]
|
| A D | quartet.c | 511 new = 0; in qtet_mute_put() 516 new = SCR_MUTE; in qtet_mute_put() 520 if (old != new) { in qtet_mute_put() 589 new = (new & ~SCR_AIN12_SEL1) | SCR_AIN12_SEL0; in qtet_ain12_sw_put() 630 set_scr(ice, new); in qtet_php_put() 632 new &= ~SCR_PHP; in qtet_php_put() 641 new |= SCR_PHP; in qtet_php_put() 644 if (old != new) in qtet_php_put() 705 if (old != new) { in qtet_sw_put() 830 unsigned int new; in qtet_set_rate() local [all …]
|
| A D | prodigy192.c | 81 unsigned char new, old; in stac9460_dac_mute() local 85 change = (new != old); in stac9460_dac_mute() 88 stac9460_put(ice, idx, new); in stac9460_dac_mute() 201 unsigned char new, old; in stac9460_adc_mute_put() local 209 change = (new != old); in stac9460_adc_mute_put() 211 stac9460_put(ice, reg, new); in stac9460_adc_mute_put() 287 unsigned char new, old; in stac9460_mic_sw_put() local 291 change = (new != old); in stac9460_mic_sw_put() 301 unsigned char old, new; in stac9460_set_rate_val() local 315 if (old == new) in stac9460_set_rate_val() [all …]
|
| A D | juli.c | 496 unsigned int old, new; in juli_set_rate() local 500 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate() 505 ice->gpio.set_data(ice, new); in juli_set_rate()
|
| /sound/soc/sof/ |
| A D | ops.c | 19 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() 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() 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() 80 if (old == new) in snd_sof_dsp_update_bits64_unlocked() 122 unsigned int old, new; in snd_sof_dsp_update_bits_forced_unlocked() local [all …]
|
| A D | ipc4.c | 634 void *new; in sof_ipc4_module_notification_handler() local 639 new = krealloc(ipc4_msg->data_ptr, ipc4_msg->data_size, GFP_KERNEL); in sof_ipc4_module_notification_handler() 640 if (!new) { in sof_ipc4_module_notification_handler() 646 ipc4_msg->data_ptr = new; in sof_ipc4_module_notification_handler()
|
| /sound/soc/intel/catpt/ |
| A D | dsp.c | 155 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/core/seq/ |
| A D | seq_ump_client.c | 247 struct snd_seq_port_info *new __free(kfree) = NULL; in update_port_infos() 251 new = kzalloc(sizeof(*new), GFP_KERNEL); in update_port_infos() 252 if (!old || !new) in update_port_infos() 266 fill_port_info(new, client, &client->ump->groups[i]); in update_port_infos() 267 if (old->capability == new->capability && in update_port_infos() 268 !strcmp(old->name, new->name)) in update_port_infos() 272 new); in update_port_infos()
|
| /sound/mips/ |
| A D | hal2.c | 222 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/ |
| A D | es1938.c | 270 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 280 reg, old, new); in snd_es1938_mixer_bits() 356 unsigned char old, new, oval; in snd_es1938_bits() local 365 snd_es1938_write_cmd(chip, new); in snd_es1938_bits() 367 reg, old, new); in snd_es1938_bits() 757 size_t old, new; in snd_es1938_capture_pointer() 761 old = new; in snd_es1938_capture_pointer() 762 ptr = chip->dma1_size - 1 - new; in snd_es1938_capture_pointer() 798 size_t old, new; in snd_es1938_playback2_pointer() local 803 old = new; in snd_es1938_playback2_pointer() [all …]
|
| A D | fm801.c | 283 unsigned short old, new; in snd_fm801_update_bits() local 287 new = (old & ~mask) | value; in snd_fm801_update_bits() 288 change = old != new; in snd_fm801_update_bits() 290 fm801_iowrite16(chip, reg, new); in snd_fm801_update_bits()
|
| /sound/pci/ac97/ |
| A D | ac97_codec.c | 401 unsigned short old, new; in snd_ac97_update_bits_nolock() local 405 change = old != new; in snd_ac97_update_bits_nolock() 407 ac97->regs[reg] = new; in snd_ac97_update_bits_nolock() 417 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local 422 change = old != new; in snd_ac97_ad18xx_update_pcm_bits() 731 unsigned int new = 0; in snd_ac97_spdif_default_put() local 755 switch ((new >> 24) & 0xff) { in snd_ac97_spdif_default_put() 765 ac97->spdif_status = new; in snd_ac97_spdif_default_put() 809 unsigned short value, old, new; in snd_ac97_put_spsa() local 818 new = (old & ~mask) | value; in snd_ac97_put_spsa() [all …]
|
| /sound/hda/core/ |
| A D | Kconfig | 45 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF 50 Set this option to Y to make the kernel default to the new SOF
|
| /sound/firewire/dice/ |
| A D | dice-stream.c | 62 __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/ |
| A D | soc-component.c | 805 unsigned int old, new; in snd_soc_component_update_bits_legacy() local 812 new = (old & ~mask) | (val & mask); in snd_soc_component_update_bits_legacy() 813 *change = old != new; in snd_soc_component_update_bits_legacy() 815 ret = soc_component_write_no_lock(component, reg, new); in snd_soc_component_update_bits_legacy() 958 unsigned int old, new; in snd_soc_component_test_bits() local 961 new = (old & ~mask) | value; in snd_soc_component_test_bits() 962 return old != new; in snd_soc_component_test_bits()
|
| A D | soc-pcm.c | 1554 int i, new = 0, err; in dpcm_add_paths() local 1558 return new; in dpcm_add_paths() 1608 new++; in dpcm_add_paths() 1611 dev_dbg(fe->dev, "ASoC: found %d new BE paths\n", new); in dpcm_add_paths() 1612 return new; in dpcm_add_paths() 2629 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update() argument 2648 new ? "new" : "old", fe->dai_link->name); in soc_dpcm_fe_runtime_update() 2671 if (new) in soc_dpcm_fe_runtime_update() 2677 if (new) in soc_dpcm_fe_runtime_update()
|
| /sound/aoa/ |
| A D | Kconfig | 7 This option enables the new driver for the various
|
| /sound/ac97/ |
| A D | Kconfig | 10 This is the new AC97 bus type, successor of AC97_BUS. The ported
|
| /sound/isa/ |
| A D | es18xx.c | 230 unsigned char old, new, oval; in snd_es18xx_bits() local 249 new = (old & ~mask) | (val & mask); in snd_es18xx_bits() 255 reg, old, new, ret); in snd_es18xx_bits() 295 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local 302 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits() 303 outb(new, chip->port + 0x05); in snd_es18xx_mixer_bits() 306 reg, old, new); in snd_es18xx_mixer_bits() 316 int old, expected, new; in snd_es18xx_mixer_writable() local 323 new = inb(chip->port + 0x05); in snd_es18xx_mixer_writable() 327 reg, old, expected, new); in snd_es18xx_mixer_writable() [all …]
|
| /sound/soc/renesas/rcar/ |
| A D | msiof.c | 88 u32 new = (old & ~mask) | (val & mask); in msiof_update() local 90 if (old != new) in msiof_update() 91 msiof_write(priv, reg, new); in msiof_update()
|
| /sound/pci/oxygen/ |
| A D | xonar_dg_mixer.c | 76 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/sdw_utils/ |
| A D | soc_sdw_utils.c | 1180 const struct snd_soc_acpi_endpoint *new) in asoc_sdw_find_dailink() argument 1183 if (new->aggregated && dailinks->group_id == new->group_id) in asoc_sdw_find_dailink() 1190 dailinks->group_id = new->group_id; in asoc_sdw_find_dailink()
|
| /sound/soc/codecs/ |
| A D | wm8995.c | 723 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/ |
| A D | Kconfig | 46 the new base sound system.
|
| /sound/pci/ctxfi/ |
| A D | ctmixer.c | 706 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()
|