/sound/pci/ice1712/ |
D | wtm.c | 99 unsigned char new, old; in stac9460_dac_mute_put() local 105 old = stac9460_get(ice, idx); in stac9460_dac_mute_put() 107 (old & ~0x80); in stac9460_dac_mute_put() 108 change = (new != old); in stac9460_dac_mute_put() 117 old = stac9460_get(ice, idx); in stac9460_dac_mute_put() 119 old = stac9460_2_get(ice, idx - 6); in stac9460_dac_mute_put() 121 (old & ~0x80); in stac9460_dac_mute_put() 122 change = (new != old); in stac9460_dac_mute_put() 239 unsigned char new, old; in stac9460_adc_mute_put() local 247 old = stac9460_get(ice, reg); in stac9460_adc_mute_put() [all …]
|
D | prodigy192.c | 95 unsigned char new, old; in stac9460_dac_mute() local 97 old = stac9460_get(ice, idx); in stac9460_dac_mute() 98 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute() 99 change = (new != old); in stac9460_dac_mute() 220 unsigned char new, old; in stac9460_adc_mute_put() local 226 old = stac9460_get(ice, reg); in stac9460_adc_mute_put() 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() 314 unsigned char new, old; in stac9460_mic_sw_put() local 316 old = stac9460_get(ice, STAC946X_GENERAL_PURPOSE); in stac9460_mic_sw_put() [all …]
|
D | quartet.c | 528 unsigned int old, new, smute; in qtet_mute_put() local 529 old = get_scr(ice) & SCR_MUTE; in qtet_mute_put() 541 if (old != new) { in qtet_mute_put() 599 unsigned int old, new, tmp, masked_old; in qtet_ain12_sw_put() local 600 old = new = get_scr(ice); in qtet_ain12_sw_put() 601 masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 610 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 618 new = old | SCR_RELAY; in qtet_ain12_sw_put() 625 new = old | SCR_RELAY; in qtet_ain12_sw_put() 654 unsigned int old, new; in qtet_php_put() local [all …]
|
D | juli.c | 224 unsigned char old, tmp, ak4358_dfs; in juli_akm_set_rate_val() local 252 old = inb(ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 253 outb(old | VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 255 outb(old & ~VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 534 unsigned int old, new; in juli_set_rate() local 537 old = ice->gpio.get_data(ice); in juli_set_rate() 538 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate() 559 unsigned int old; in juli_set_spdif_clock() local 560 old = ice->gpio.get_data(ice); in juli_set_spdif_clock() 562 ice->gpio.set_data(ice, (old & ~GPIO_RATE_MASK) | GPIO_MULTI_1X | in juli_set_spdif_clock()
|
D | ice1724.c | 559 unsigned char old; in snd_vt1724_pcm_trigger() local 576 old = inb(ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger() 578 old |= what; in snd_vt1724_pcm_trigger() 580 old &= ~what; in snd_vt1724_pcm_trigger() 581 outb(old, ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger() 589 old = inb(ICEMT1724(ice, DMA_CONTROL)); in snd_vt1724_pcm_trigger() 591 old |= what; in snd_vt1724_pcm_trigger() 593 old &= ~what; in snd_vt1724_pcm_trigger() 594 outb(old, ICEMT1724(ice, DMA_CONTROL)); in snd_vt1724_pcm_trigger() 642 unsigned char val, old; in stdclock_set_mclk() local [all …]
|
D | revo.c | 55 unsigned char old, tmp, dfs; in revo_set_rate_val() local 77 old = (tmp >> shift) & 0x03; in revo_set_rate_val() 78 if (old == dfs) in revo_set_rate_val()
|
D | ice1712.c | 964 unsigned int old; in snd_ice1712_pro_trigger() local 970 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 972 old |= what; in snd_ice1712_pro_trigger() 974 old &= ~what; in snd_ice1712_pro_trigger() 975 outl(old, ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 983 unsigned int old; in snd_ice1712_pro_trigger() local 996 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 998 old |= what; in snd_ice1712_pro_trigger() 1000 old &= ~what; in snd_ice1712_pro_trigger() 1001 outl(old, ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() [all …]
|
/sound/soc/ |
D | soc-io.c | 68 unsigned int old, new; in snd_soc_component_update_bits_legacy() local 76 ret = component->read(component, reg, &old); in snd_soc_component_update_bits_legacy() 80 new = (old & ~mask) | (val & mask); in snd_soc_component_update_bits_legacy() 81 *change = old != new; in snd_soc_component_update_bits_legacy() 185 unsigned int old, new; in snd_soc_component_test_bits() local 188 ret = snd_soc_component_read(component, reg, &old); in snd_soc_component_test_bits() 191 new = (old & ~mask) | value; in snd_soc_component_test_bits() 192 return old != new; in snd_soc_component_test_bits()
|
/sound/aoa/core/ |
D | gpio-pmf.c | 136 notify_func_t old; in pmf_set_notify() local 160 old = notif->notify; in pmf_set_notify() 162 if (!old && !notify) { in pmf_set_notify() 167 if (old && notify) { in pmf_set_notify() 168 if (old == notify && notif->data == data) in pmf_set_notify() 173 if (old && !notify) { in pmf_set_notify() 179 if (!old && notify) { in pmf_set_notify()
|
D | gpio-feature.c | 314 notify_func_t old; in ftr_set_notify() local 344 old = notif->notify; in ftr_set_notify() 346 if (!old && !notify) { in ftr_set_notify() 351 if (old && notify) { in ftr_set_notify() 352 if (old == notify && notif->data == data) in ftr_set_notify() 357 if (old && !notify) in ftr_set_notify() 360 if (!old && notify) { in ftr_set_notify()
|
/sound/soc/intel/ |
D | sst-dsp.c | 165 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local 170 old = ret; in sst_dsp_shim_update_bits_unlocked() 171 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked() 173 change = (old != new); in sst_dsp_shim_update_bits_unlocked() 185 u64 old, new; in sst_dsp_shim_update_bits64_unlocked() local 187 old = sst_dsp_shim_read64_unlocked(sst, offset); in sst_dsp_shim_update_bits64_unlocked() 189 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits64_unlocked() 191 change = (old != new); in sst_dsp_shim_update_bits64_unlocked()
|
/sound/soc/codecs/ |
D | cx20442.c | 160 int vls, vsp, old, len; in cx20442_write() local 171 old = reg_cache[reg]; in cx20442_write() 183 (vls == cx20442_pm_to_v253_vls(old))) { in cx20442_write() 184 if (vsp == cx20442_pm_to_v253_vsp(old)) in cx20442_write() 187 } else if (vsp == cx20442_pm_to_v253_vsp(old)) in cx20442_write()
|
/sound/pci/ |
D | es1938.c | 292 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 295 old = inb(SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 296 oval = old & mask; in snd_es1938_mixer_bits() 298 new = (old & ~mask) | (val & mask); in snd_es1938_mixer_bits() 302 reg, old, new); in snd_es1938_mixer_bits() 375 unsigned char old, new, oval; in snd_es1938_bits() local 379 old = snd_es1938_get_byte(chip); in snd_es1938_bits() 380 oval = old & mask; in snd_es1938_bits() 383 new = (old & ~mask) | (val & mask); in snd_es1938_bits() 386 reg, old, new); in snd_es1938_bits() [all …]
|
/sound/isa/ |
D | sc6000.c | 399 int old = 0; in sc6000_init_board() local 430 old = 1; in sc6000_init_board() 432 if (!old) { in sc6000_init_board() 449 if (!old) { in sc6000_init_board()
|
D | es18xx.c | 248 unsigned char old, new, oval; in snd_es18xx_bits() local 261 old = ret; in snd_es18xx_bits() 262 oval = old & mask; in snd_es18xx_bits() 267 new = (old & ~mask) | (val & mask); 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 317 old = inb(chip->port + 0x05); in snd_es18xx_mixer_bits() 318 oval = old & mask; in snd_es18xx_mixer_bits() 320 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits() 324 reg, old, new); in snd_es18xx_mixer_bits() [all …]
|
/sound/mips/ |
D | hal2.c | 233 u32 old, new; in hal2_gain_put() local 241 old = hal2_i_read32(hal2, H2I_DAC_C2); in hal2_gain_put() 242 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put() 253 old = hal2_i_read32(hal2, H2I_ADC_C2); in hal2_gain_put() 254 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put() 260 return old != new; in hal2_gain_put()
|
/sound/i2c/other/ |
D | ak4113.c | 126 unsigned char old = chip->regmap[AK4113_REG_PWRDN], reg; in ak4113_init_regs() local 129 reg_write(chip, AK4113_REG_PWRDN, old & ~(AK4113_RST|AK4113_PWN)); in ak4113_init_regs() 132 reg_write(chip, AK4113_REG_PWRDN, (old | AK4113_RST) & ~AK4113_PWN); in ak4113_init_regs() 137 reg_write(chip, AK4113_REG_PWRDN, old | AK4113_RST | AK4113_PWN); in ak4113_init_regs()
|
D | ak4114.c | 137 unsigned char old = chip->regmap[AK4114_REG_PWRDN], reg; in ak4114_init_regs() local 140 reg_write(chip, AK4114_REG_PWRDN, old & ~(AK4114_RST|AK4114_PWN)); in ak4114_init_regs() 143 reg_write(chip, AK4114_REG_PWRDN, (old | AK4114_RST) & ~AK4114_PWN); in ak4114_init_regs() 150 reg_write(chip, AK4114_REG_PWRDN, old | AK4114_RST | AK4114_PWN); in ak4114_init_regs()
|
D | ak4117.c | 127 unsigned char old = chip->regmap[AK4117_REG_PWRDN], reg; in snd_ak4117_reinit() local 135 reg_write(chip, AK4117_REG_PWRDN, (old | AK4117_RST) & ~AK4117_PWN); in snd_ak4117_reinit() 140 reg_write(chip, AK4117_REG_PWRDN, old | AK4117_RST | AK4117_PWN); in snd_ak4117_reinit()
|
/sound/usb/6fire/ |
D | control.c | 241 u8 old = rt->output_mute; in usb6fire_control_output_mute_put() local 257 if (rt->output_mute != old) in usb6fire_control_output_mute_put() 260 return rt->output_mute != old; in usb6fire_control_output_mute_put()
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 176 unsigned short old, bits, reg, mask; in set_spdif_rate() local 211 old = snd_ac97_read(ac97, reg) & mask; in set_spdif_rate() 212 if (old != bits) { in set_spdif_rate()
|
D | ac97_codec.c | 416 unsigned short old, new; in snd_ac97_update_bits_nolock() local 418 old = snd_ac97_read_cache(ac97, reg); in snd_ac97_update_bits_nolock() 419 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock() 420 change = old != new; in snd_ac97_update_bits_nolock() 432 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local 435 old = ac97->spec.ad18xx.pcmreg[codec]; in snd_ac97_ad18xx_update_pcm_bits() 436 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits() 437 change = old != new; in snd_ac97_ad18xx_update_pcm_bits() 835 unsigned short value, old, new; in snd_ac97_put_spsa() local 843 old = snd_ac97_read_cache(ac97, reg); in snd_ac97_put_spsa() [all …]
|
/sound/soc/au1x/ |
D | Kconfig | 29 old DMA controller as found on the Au1000/Au1500/Au1100 chips.
|
/sound/core/ |
D | Kconfig | 138 (CONFIG_RTC_CLASS) since this requires the old API. 173 bool "Support old ALSA API"
|
/sound/atmel/ |
D | abdac.c | 60 #define DAC_BFINS(name, value, old) \ argument 61 (((old) & ~(((1 << DAC_##name##_SIZE) - 1) \
|