Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/
Dvia82xx_modem.c412 unsigned int xval; in snd_via82xx_codec_write() local
417 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY; in snd_via82xx_codec_write()
418 xval <<= VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_write()
419 xval |= reg << VIA_REG_AC97_CMD_SHIFT; in snd_via82xx_codec_write()
420 xval |= val << VIA_REG_AC97_DATA_SHIFT; in snd_via82xx_codec_write()
421 snd_via82xx_codec_xwrite(chip, xval); in snd_via82xx_codec_write()
428 unsigned int xval, val = 0xffff; in snd_via82xx_codec_read() local
431 xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_read()
432 xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID; in snd_via82xx_codec_read()
433 xval |= VIA_REG_AC97_READ; in snd_via82xx_codec_read()
[all …]
Dvia82xx.c559 unsigned int xval; in snd_via82xx_codec_write() local
561 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY; in snd_via82xx_codec_write()
562 xval <<= VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_write()
563 xval |= reg << VIA_REG_AC97_CMD_SHIFT; in snd_via82xx_codec_write()
564 xval |= val << VIA_REG_AC97_DATA_SHIFT; in snd_via82xx_codec_write()
565 snd_via82xx_codec_xwrite(chip, xval); in snd_via82xx_codec_write()
572 unsigned int xval, val = 0xffff; in snd_via82xx_codec_read() local
575 xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT; in snd_via82xx_codec_read()
576 xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID; in snd_via82xx_codec_read()
577 xval |= VIA_REG_AC97_READ; in snd_via82xx_codec_read()
[all …]
/linux-6.1.9/sound/soc/codecs/
Dwm8958-dsp2.c536 #define WM8958_MBC_SWITCH(xname, xval) {\ argument
541 .private_value = xval }
663 #define WM8958_VSS_SWITCH(xname, xval) {\ argument
668 .private_value = xval }
736 #define WM8958_HPF_SWITCH(xname, xval) {\ argument
741 .private_value = xval }
830 #define WM8958_ENH_EQ_SWITCH(xname, xval) {\ argument
835 .private_value = xval }