Home
last modified time | relevance | path

Searched refs:xval (Results 1 – 3 of 3) sorted by relevance

/sound/pci/
Dvia82xx_modem.c422 unsigned int xval; in snd_via82xx_codec_write() local
427 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY; in snd_via82xx_codec_write()
428 xval <<= VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_write()
429 xval |= reg << VIA_REG_AC97_CMD_SHIFT; in snd_via82xx_codec_write()
430 xval |= val << VIA_REG_AC97_DATA_SHIFT; in snd_via82xx_codec_write()
431 snd_via82xx_codec_xwrite(chip, xval); in snd_via82xx_codec_write()
438 unsigned int xval, val = 0xffff; in snd_via82xx_codec_read() local
441 xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_read()
442 xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID; in snd_via82xx_codec_read()
443 xval |= VIA_REG_AC97_READ; in snd_via82xx_codec_read()
[all …]
Dvia82xx.c569 unsigned int xval; in snd_via82xx_codec_write() local
571 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY; in snd_via82xx_codec_write()
572 xval <<= VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_write()
573 xval |= reg << VIA_REG_AC97_CMD_SHIFT; in snd_via82xx_codec_write()
574 xval |= val << VIA_REG_AC97_DATA_SHIFT; in snd_via82xx_codec_write()
575 snd_via82xx_codec_xwrite(chip, xval); in snd_via82xx_codec_write()
582 unsigned int xval, val = 0xffff; in snd_via82xx_codec_read() local
585 xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_read()
586 xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID; in snd_via82xx_codec_read()
587 xval |= VIA_REG_AC97_READ; in snd_via82xx_codec_read()
[all …]
/sound/soc/codecs/
Dwm8958-dsp2.c539 #define WM8958_MBC_SWITCH(xname, xval) {\ argument
544 .private_value = xval }
666 #define WM8958_VSS_SWITCH(xname, xval) {\ argument
671 .private_value = xval }
739 #define WM8958_HPF_SWITCH(xname, xval) {\ argument
744 .private_value = xval }
833 #define WM8958_ENH_EQ_SWITCH(xname, xval) {\ argument
838 .private_value = xval }