Lines Matching refs:snd_ac97_rst_cfg
262 static struct snd_ac97_reset_cfg snd_ac97_rst_cfg; variable
266 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset()
268 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset()
270 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 1); in snd_soc_ac97_warm_reset()
274 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 0); in snd_soc_ac97_warm_reset()
276 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset()
282 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset()
284 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset()
286 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 0); in snd_soc_ac97_reset()
287 gpiod_direction_output_raw(snd_ac97_rst_cfg.sdata_gpio, 0); in snd_soc_ac97_reset()
288 gpiod_direction_output_raw(snd_ac97_rst_cfg.reset_gpio, 0); in snd_soc_ac97_reset()
292 gpiod_direction_output_raw(snd_ac97_rst_cfg.reset_gpio, 1); in snd_soc_ac97_reset()
294 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset()
394 snd_ac97_rst_cfg = cfg; in snd_soc_set_ac97_ops_of_reset()