Lines Matching refs:snd_ac97_rst_cfg
265 static struct snd_ac97_reset_cfg snd_ac97_rst_cfg; variable
269 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset()
271 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
273 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 1); in snd_soc_ac97_warm_reset()
277 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_warm_reset()
279 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
285 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset()
287 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
289 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_reset()
290 gpio_direction_output(snd_ac97_rst_cfg.gpio_sdata, 0); in snd_soc_ac97_reset()
291 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
295 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
297 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
420 snd_ac97_rst_cfg = cfg; in snd_soc_set_ac97_ops_of_reset()