Lines Matching refs:snd_ac97_rst_cfg
124 static struct snd_ac97_reset_cfg snd_ac97_rst_cfg; variable
128 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset()
130 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
132 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 1); in snd_soc_ac97_warm_reset()
136 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_warm_reset()
138 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
144 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset()
146 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
148 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_reset()
149 gpio_direction_output(snd_ac97_rst_cfg.gpio_sdata, 0); in snd_soc_ac97_reset()
150 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
154 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
156 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
277 snd_ac97_rst_cfg = cfg; in snd_soc_set_ac97_ops_of_reset()