/sound/soc/sof/ |
D | ops.c | 19 unsigned int old, new; in snd_sof_pci_update_bits_unlocked() local 23 old = ret; in snd_sof_pci_update_bits_unlocked() 24 dev_dbg(sdev->dev, "Debug PCIR: %8.8x at %8.8x\n", old & mask, offset); in snd_sof_pci_update_bits_unlocked() 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 59 old = ret; in snd_sof_dsp_update_bits_unlocked() 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 [all …]
|
/sound/pci/ice1712/ |
D | wtm.c | 67 unsigned char new, old; in stac9460_dac_mute_all() local 77 old = stac9460_get(ice, idx); in stac9460_dac_mute_all() 78 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 79 change = (new != old); in stac9460_dac_mute_all() 96 old = stac9460_2_get(ice, idx); 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() 144 unsigned char new, old; in stac9460_dac_mute_put() local 150 old = stac9460_get(ice, idx); in stac9460_dac_mute_put() 152 (old & ~0x80); in stac9460_dac_mute_put() [all …]
|
D | prodigy192.c | 81 unsigned char new, old; in stac9460_dac_mute() local 83 old = stac9460_get(ice, idx); in stac9460_dac_mute() 84 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute() 85 change = (new != old); in stac9460_dac_mute() 206 unsigned char new, old; in stac9460_adc_mute_put() local 212 old = stac9460_get(ice, reg); in stac9460_adc_mute_put() 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() 292 unsigned char new, old; in stac9460_mic_sw_put() local 294 old = stac9460_get(ice, STAC946X_GENERAL_PURPOSE); in stac9460_mic_sw_put() [all …]
|
D | quartet.c | 507 unsigned int old, new, smute; in qtet_mute_put() local 508 old = get_scr(ice) & SCR_MUTE; in qtet_mute_put() 520 if (old != 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() 570 masked_old = old & (SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 579 new = old & ~(SCR_AIN12_SEL1 | SCR_AIN12_SEL0); in qtet_ain12_sw_put() 587 new = old | SCR_RELAY; in qtet_ain12_sw_put() 594 new = old | SCR_RELAY; in qtet_ain12_sw_put() 623 unsigned int old, new; in qtet_php_put() local [all …]
|
D | juli.c | 210 unsigned char old, tmp, ak4358_dfs; in juli_akm_set_rate_val() local 238 old = inb(ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 239 outb(old | VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 241 outb(old & ~VT1724_AC97_COLD, ICEMT1724(ice, AC97_CMD)); in juli_akm_set_rate_val() 518 unsigned int old, new; in juli_set_rate() local 521 old = ice->gpio.get_data(ice); in juli_set_rate() 522 new = (old & ~GPIO_RATE_MASK) | get_gpio_val(rate); in juli_set_rate() 543 unsigned int old; in juli_set_spdif_clock() local 544 old = ice->gpio.get_data(ice); in juli_set_spdif_clock() 546 ice->gpio.set_data(ice, (old & ~GPIO_RATE_MASK) | GPIO_MULTI_1X | in juli_set_spdif_clock()
|
D | ice1724.c | 545 unsigned char old; in snd_vt1724_pcm_trigger() local 562 old = inb(ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger() 564 old |= what; in snd_vt1724_pcm_trigger() 566 old &= ~what; in snd_vt1724_pcm_trigger() 567 outb(old, ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger() 575 old = inb(ICEMT1724(ice, DMA_CONTROL)); in snd_vt1724_pcm_trigger() 577 old |= what; in snd_vt1724_pcm_trigger() 579 old &= ~what; in snd_vt1724_pcm_trigger() 580 outb(old, ICEMT1724(ice, DMA_CONTROL)); in snd_vt1724_pcm_trigger() 626 unsigned char val, old; in stdclock_set_mclk() local [all …]
|
D | revo.c | 41 unsigned char old, tmp, dfs; in revo_set_rate_val() local 63 old = (tmp >> shift) & 0x03; in revo_set_rate_val() 64 if (old == dfs) in revo_set_rate_val()
|
D | ice1712.c | 915 unsigned int old; in snd_ice1712_pro_trigger() local 921 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 923 old |= what; in snd_ice1712_pro_trigger() 925 old &= ~what; in snd_ice1712_pro_trigger() 926 outl(old, ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 934 unsigned int old; in snd_ice1712_pro_trigger() local 947 old = inl(ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() 949 old |= what; in snd_ice1712_pro_trigger() 951 old &= ~what; in snd_ice1712_pro_trigger() 952 outl(old, ICEMT(ice, PLAYBACK_CONTROL)); in snd_ice1712_pro_trigger() [all …]
|
/sound/aoa/core/ |
D | gpio-pmf.c | 135 notify_func_t old; in pmf_set_notify() local 159 old = notif->notify; in pmf_set_notify() 161 if (!old && !notify) { in pmf_set_notify() 166 if (old && notify) { in pmf_set_notify() 167 if (old == notify && notif->data == data) in pmf_set_notify() 172 if (old && !notify) { in pmf_set_notify() 178 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/intel/common/ |
D | sst-dsp.c | 87 unsigned int old, new; in sst_dsp_shim_update_bits_unlocked() local 92 old = ret; in sst_dsp_shim_update_bits_unlocked() 93 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_unlocked() 95 change = (old != new); in sst_dsp_shim_update_bits_unlocked() 107 unsigned int old, new; in sst_dsp_shim_update_bits_forced_unlocked() local 112 old = ret; in sst_dsp_shim_update_bits_forced_unlocked() 113 new = (old & (~mask)) | (value & mask); in sst_dsp_shim_update_bits_forced_unlocked()
|
/sound/soc/codecs/ |
D | cx20442.c | 156 int vls, vsp, old, len; in cx20442_write() local 167 old = cx20442->reg_cache; in cx20442_write() 179 (vls == cx20442_pm_to_v253_vls(old))) { in cx20442_write() 180 if (vsp == cx20442_pm_to_v253_vsp(old)) in cx20442_write() 183 } 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()
|
/sound/pci/ |
D | es1938.c | 276 unsigned char old, new, oval; in snd_es1938_mixer_bits() local 279 old = inb(SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 280 oval = old & mask; in snd_es1938_mixer_bits() 282 new = (old & ~mask) | (val & mask); in snd_es1938_mixer_bits() 286 reg, old, new); in snd_es1938_mixer_bits() 359 unsigned char old, new, oval; in snd_es1938_bits() local 363 old = snd_es1938_get_byte(chip); in snd_es1938_bits() 364 oval = old & mask; in snd_es1938_bits() 367 new = (old & ~mask) | (val & mask); in snd_es1938_bits() 370 reg, old, new); in snd_es1938_bits() [all …]
|
/sound/soc/ |
D | soc-component.c | 496 unsigned int old, new; in snd_soc_component_update_bits_legacy() local 501 old = soc_component_read_no_lock(component, reg); in snd_soc_component_update_bits_legacy() 503 new = (old & ~mask) | (val & mask); in snd_soc_component_update_bits_legacy() 504 *change = old != new; in snd_soc_component_update_bits_legacy() 608 unsigned int old, new; in snd_soc_component_test_bits() local 610 old = snd_soc_component_read(component, reg); in snd_soc_component_test_bits() 611 new = (old & ~mask) | value; in snd_soc_component_test_bits() 612 return old != new; in snd_soc_component_test_bits()
|
/sound/soc/intel/catpt/ |
D | dsp.c | 157 unsigned long old; in catpt_dsp_set_srampge() local 161 old = catpt_readl_pci(cdev, VDRTCTL0) & mask; in catpt_dsp_set_srampge() 163 mask, old, new); in catpt_dsp_set_srampge() 165 if (old == new) in catpt_dsp_set_srampge() 180 if (test_bit(b, &old)) { in catpt_dsp_set_srampge()
|
/sound/isa/ |
D | es18xx.c | 234 unsigned char old, new, oval; in snd_es18xx_bits() local 247 old = ret; in snd_es18xx_bits() 248 oval = old & mask; in snd_es18xx_bits() 253 new = (old & ~mask) | (val & mask); in snd_es18xx_bits() 259 reg, old, new, ret); in snd_es18xx_bits() 299 unsigned char old, new, oval; in snd_es18xx_mixer_bits() local 303 old = inb(chip->port + 0x05); in snd_es18xx_mixer_bits() 304 oval = old & mask; in snd_es18xx_mixer_bits() 306 new = (old & ~mask) | (val & mask); in snd_es18xx_mixer_bits() 310 reg, old, new); in snd_es18xx_mixer_bits() [all …]
|
D | sc6000.c | 386 int old = 0; in sc6000_init_board() local 417 old = 1; in sc6000_init_board() 419 if (!old) { in sc6000_init_board() 436 if (!old) { in sc6000_init_board()
|
/sound/mips/ |
D | hal2.c | 222 u32 old, new; in hal2_gain_put() local 230 old = hal2_i_read32(hal2, H2I_DAC_C2); in hal2_gain_put() 231 new = old & ~(H2I_C2_L_ATT_M | H2I_C2_R_ATT_M | H2I_C2_MUTE); in hal2_gain_put() 242 old = hal2_i_read32(hal2, H2I_ADC_C2); in hal2_gain_put() 243 new = old & ~(H2I_C2_L_GAIN_M | H2I_C2_R_GAIN_M); in hal2_gain_put() 251 return old != new; in hal2_gain_put()
|
/sound/i2c/other/ |
D | ak4113.c | 112 unsigned char old = chip->regmap[AK4113_REG_PWRDN], reg; in ak4113_init_regs() local 115 reg_write(chip, AK4113_REG_PWRDN, old & ~(AK4113_RST|AK4113_PWN)); in ak4113_init_regs() 118 reg_write(chip, AK4113_REG_PWRDN, (old | AK4113_RST) & ~AK4113_PWN); in ak4113_init_regs() 123 reg_write(chip, AK4113_REG_PWRDN, old | AK4113_RST | AK4113_PWN); in ak4113_init_regs()
|
D | ak4114.c | 125 unsigned char old = chip->regmap[AK4114_REG_PWRDN], reg; in ak4114_init_regs() local 128 reg_write(chip, AK4114_REG_PWRDN, old & ~(AK4114_RST|AK4114_PWN)); in ak4114_init_regs() 131 reg_write(chip, AK4114_REG_PWRDN, (old | AK4114_RST) & ~AK4114_PWN); in ak4114_init_regs() 138 reg_write(chip, AK4114_REG_PWRDN, old | AK4114_RST | AK4114_PWN); in ak4114_init_regs()
|
D | ak4117.c | 110 unsigned char old = chip->regmap[AK4117_REG_PWRDN], reg; in snd_ak4117_reinit() local 118 reg_write(chip, AK4117_REG_PWRDN, (old | AK4117_RST) & ~AK4117_PWN); in snd_ak4117_reinit() 123 reg_write(chip, AK4117_REG_PWRDN, old | AK4117_RST | AK4117_PWN); in snd_ak4117_reinit()
|
/sound/usb/6fire/ |
D | control.c | 237 u8 old = rt->output_mute; in usb6fire_control_output_mute_put() local 253 if (rt->output_mute != old) in usb6fire_control_output_mute_put() 256 return rt->output_mute != old; in usb6fire_control_output_mute_put()
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 161 unsigned short old, bits, reg, mask; in set_spdif_rate() local 196 old = snd_ac97_read(ac97, reg) & mask; in set_spdif_rate() 197 if (old != bits) { in set_spdif_rate()
|
/sound/soc/au1x/ |
D | Kconfig | 30 old DMA controller as found on the Au1000/Au1500/Au1100 chips.
|