/sound/pci/ice1712/ |
D | wtm.c | 81 unsigned char new, old; in stac9460_dac_mute_all() local 91 old = stac9460_get(ice, idx); in stac9460_dac_mute_all() 92 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 93 change = (new != old); in stac9460_dac_mute_all() 110 old = stac9460_2_get(ice, idx); 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() 158 unsigned char new, old; in stac9460_dac_mute_put() local 164 old = stac9460_get(ice, idx); in stac9460_dac_mute_put() 166 (old & ~0x80); in stac9460_dac_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() 306 unsigned char new, old; in stac9460_mic_sw_put() local 308 old = stac9460_get(ice, STAC946X_GENERAL_PURPOSE); in stac9460_mic_sw_put() [all …]
|
D | quartet.c | 523 unsigned int old, new, smute; in qtet_mute_put() local 524 old = get_scr(ice) & SCR_MUTE; in qtet_mute_put() 536 if (old != 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() 586 masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 595 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 603 new = old | SCR_RELAY; in qtet_ain12_sw_put() 610 new = old | SCR_RELAY; in qtet_ain12_sw_put() 639 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() 533 unsigned int old, new; in juli_set_rate() local 536 old = ice->gpio.get_data(ice); in juli_set_rate() 537 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate() 558 unsigned int old; in juli_set_spdif_clock() local 559 old = ice->gpio.get_data(ice); in juli_set_spdif_clock() 561 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() 640 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 | 953 unsigned int old; in snd_ice1712_pro_trigger() local 959 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 961 old |= what; in snd_ice1712_pro_trigger() 963 old &= ~what; in snd_ice1712_pro_trigger() 964 outl(old, ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 972 unsigned int old; in snd_ice1712_pro_trigger() local 985 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 987 old |= what; in snd_ice1712_pro_trigger() 989 old &= ~what; in snd_ice1712_pro_trigger() 990 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/soc/intel/common/ |
D | sst-dsp.c | 166 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local 171 old = ret; in sst_dsp_shim_update_bits_unlocked() 172 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked() 174 change = (old != new); in sst_dsp_shim_update_bits_unlocked() 186 u64 old, new; in sst_dsp_shim_update_bits64_unlocked() local 188 old = sst_dsp_shim_read64_unlocked(sst, offset); in sst_dsp_shim_update_bits64_unlocked() 190 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits64_unlocked() 192 change = (old != new); in sst_dsp_shim_update_bits64_unlocked() 204 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local 209 old = ret; in sst_dsp_shim_update_bits_forced_unlocked() [all …]
|
/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 | 316 notify_func_t old; in ftr_set_notify() local 346 old = notif->notify; in ftr_set_notify() 348 if (!old && !notify) { in ftr_set_notify() 353 if (old && notify) { in ftr_set_notify() 354 if (old == notify && notif->data == data) in ftr_set_notify() 359 if (old && !notify) in ftr_set_notify() 362 if (!old && notify) { in ftr_set_notify()
|
/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()
|
D | wm9712.c | 224 unsigned int mixer, mask, shift, old; in wm9712_hp_mixer_put() local 233 old = wm9712->hp_mixer[mixer]; in wm9712_hp_mixer_put() 239 change = old != wm9712->hp_mixer[mixer]; in wm9712_hp_mixer_put()
|
D | wm9713.c | 233 unsigned int mixer, mask, shift, old; in wm9713_hp_mixer_put() local 242 old = wm9713->hp_mixer[mixer]; in wm9713_hp_mixer_put() 248 change = old != wm9713->hp_mixer[mixer]; in wm9713_hp_mixer_put()
|
/sound/pci/ |
D | es1938.c | 291 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 294 old = inb(SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 295 oval = old & mask; in snd_es1938_mixer_bits() 297 new = (old & ~mask) | (val & mask); 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 378 old = snd_es1938_get_byte(chip); in snd_es1938_bits() 379 oval = old & mask; in snd_es1938_bits() 382 new = (old & ~mask) | (val & mask); in snd_es1938_bits() 385 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 | 249 unsigned char old, new, oval; in snd_es18xx_bits() local 262 old = ret; in snd_es18xx_bits() 263 oval = old & mask; in snd_es18xx_bits() 268 new = (old & ~mask) | (val & mask); 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 318 old = inb(chip->port + 0x05); in snd_es18xx_mixer_bits() 319 oval = old & mask; in snd_es18xx_mixer_bits() 321 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits() 325 reg, old, new); in snd_es18xx_mixer_bits() [all …]
|
/sound/mips/ |
D | hal2.c | 235 u32 old, new; in hal2_gain_put() local 243 old = hal2_i_read32(hal2, H2I_DAC_C2); in hal2_gain_put() 244 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put() 255 old = hal2_i_read32(hal2, H2I_ADC_C2); in hal2_gain_put() 256 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put() 264 return old != new; in hal2_gain_put()
|
/sound/i2c/other/ |
D | ak4113.c | 127 unsigned char old = chip->regmap[AK4113_REG_PWRDN], reg; in ak4113_init_regs() local 130 reg_write(chip, AK4113_REG_PWRDN, old & ~(AK4113_RST|AK4113_PWN)); in ak4113_init_regs() 133 reg_write(chip, AK4113_REG_PWRDN, (old | AK4113_RST) & ~AK4113_PWN); in ak4113_init_regs() 138 reg_write(chip, AK4113_REG_PWRDN, old | AK4113_RST | AK4113_PWN); in ak4113_init_regs()
|
D | ak4114.c | 140 unsigned char old = chip->regmap[AK4114_REG_PWRDN], reg; in ak4114_init_regs() local 143 reg_write(chip, AK4114_REG_PWRDN, old & ~(AK4114_RST|AK4114_PWN)); in ak4114_init_regs() 146 reg_write(chip, AK4114_REG_PWRDN, (old | AK4114_RST) & ~AK4114_PWN); in ak4114_init_regs() 153 reg_write(chip, AK4114_REG_PWRDN, old | AK4114_RST | AK4114_PWN); in ak4114_init_regs()
|
D | ak4117.c | 125 unsigned char old = chip->regmap[AK4117_REG_PWRDN], reg; in snd_ak4117_reinit() local 133 reg_write(chip, AK4117_REG_PWRDN, (old | AK4117_RST) & ~AK4117_PWN); in snd_ak4117_reinit() 138 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 | 417 unsigned short old, new; in snd_ac97_update_bits_nolock() local 419 old = snd_ac97_read_cache(ac97, reg); in snd_ac97_update_bits_nolock() 420 new = (old & ~mask) | (value & mask); in snd_ac97_update_bits_nolock() 421 change = old != new; in snd_ac97_update_bits_nolock() 433 unsigned short old, new, cfg; in snd_ac97_ad18xx_update_pcm_bits() local 436 old = ac97->spec.ad18xx.pcmreg[codec]; in snd_ac97_ad18xx_update_pcm_bits() 437 new = (old & ~mask) | (value & mask); in snd_ac97_ad18xx_update_pcm_bits() 438 change = old != new; in snd_ac97_ad18xx_update_pcm_bits() 830 unsigned short value, old, new; in snd_ac97_put_spsa() local 838 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.
|