Lines Matching refs:snd_ac97_rst_cfg
144 static struct snd_ac97_reset_cfg snd_ac97_rst_cfg; variable
148 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset()
150 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
152 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 1); in snd_soc_ac97_warm_reset()
156 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_warm_reset()
158 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
164 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset()
166 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
168 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_reset()
169 gpio_direction_output(snd_ac97_rst_cfg.gpio_sdata, 0); in snd_soc_ac97_reset()
170 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
174 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
176 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
297 snd_ac97_rst_cfg = cfg; in snd_soc_set_ac97_ops_of_reset()