AC97_GPIO_CFG
reg = wm97xx_reg_read(wm, AC97_GPIO_CFG);
wm97xx_reg_write(wm, AC97_GPIO_CFG, reg | WM97XX_GPIO_4);
if (reg >= AC97_GPIO_CFG && reg <= AC97_MISC_AFE)
wm->gpio[(reg - AC97_GPIO_CFG) >> 1] = val;
reg = wm97xx_reg_read(wm, AC97_GPIO_CFG);
wm97xx_reg_write(wm, AC97_GPIO_CFG, reg);
wm->gpio[0] = wm97xx_reg_read(wm, AC97_GPIO_CFG);
wm97xx_reg_write(wm, AC97_GPIO_CFG, wm->gpio[0]);
case AC97_GPIO_CFG ... 0x5c:
snd_ac97_write(ac97, AC97_GPIO_CFG, 0xffff & ~(AC97_GPIO_LINE1_OH));
AC97_GPIO_CFG,
AC97_GPIO_CFG, pin_config,
case AC97_GPIO_CFG ... 0x5c:
u16 gpio = snd_soc_component_read(component, AC97_GPIO_CFG) & 0xffc5;
snd_soc_component_write(component, AC97_GPIO_CFG, gpio);
return snd_soc_component_update_bits(component, AC97_GPIO_CFG,
return snd_soc_component_update_bits(component, AC97_GPIO_CFG,