Lines Matching refs:snd_ac97_rst_cfg
263 static struct snd_ac97_reset_cfg snd_ac97_rst_cfg; variable
267 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset()
269 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
271 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 1); in snd_soc_ac97_warm_reset()
275 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_warm_reset()
277 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
283 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset()
285 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
287 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_reset()
288 gpio_direction_output(snd_ac97_rst_cfg.gpio_sdata, 0); in snd_soc_ac97_reset()
289 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
293 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
295 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
418 snd_ac97_rst_cfg = cfg; in snd_soc_set_ac97_ops_of_reset()