Searched refs:xval (Results 1 – 3 of 3) sorted by relevance
422 unsigned int xval; in snd_via82xx_codec_write() local427 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() local441 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 …]
569 unsigned int xval; in snd_via82xx_codec_write() local571 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() local585 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 …]
539 #define WM8958_MBC_SWITCH(xname, xval) {\ argument544 .private_value = xval }666 #define WM8958_VSS_SWITCH(xname, xval) {\ argument671 .private_value = xval }739 #define WM8958_HPF_SWITCH(xname, xval) {\ argument744 .private_value = xval }833 #define WM8958_ENH_EQ_SWITCH(xname, xval) {\ argument838 .private_value = xval }