Searched refs:xval (Results 1 – 3 of 3) sorted by relevance
412 unsigned int xval; in snd_via82xx_codec_write() local417 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() local431 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 …]
559 unsigned int xval; in snd_via82xx_codec_write() local561 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() local575 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 …]
536 #define WM8958_MBC_SWITCH(xname, xval) {\ argument541 .private_value = xval }663 #define WM8958_VSS_SWITCH(xname, xval) {\ argument668 .private_value = xval }736 #define WM8958_HPF_SWITCH(xname, xval) {\ argument741 .private_value = xval }830 #define WM8958_ENH_EQ_SWITCH(xname, xval) {\ argument835 .private_value = xval }