Lines Matching refs:pin_states
38 struct pinctrl_state *pin_states[PIN_STATE_MAX]; member
271 if (IS_ERR(priv->pin_states[PIN_TDM_OUT_ON])) in mt8183_mt6358_tdm_startup()
272 return PTR_ERR(priv->pin_states[PIN_TDM_OUT_ON]); in mt8183_mt6358_tdm_startup()
275 priv->pin_states[PIN_TDM_OUT_ON]); in mt8183_mt6358_tdm_startup()
290 if (IS_ERR(priv->pin_states[PIN_TDM_OUT_OFF])) in mt8183_mt6358_tdm_shutdown()
294 priv->pin_states[PIN_TDM_OUT_OFF]); in mt8183_mt6358_tdm_shutdown()
315 priv->pin_states[PIN_WOV]); in mt8183_mt6358_ts3a227_max98357_wov_startup()
329 priv->pin_states[PIN_STATE_DEFAULT]); in mt8183_mt6358_ts3a227_max98357_wov_shutdown()
696 priv->pin_states[i] = pinctrl_lookup_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
698 if (IS_ERR(priv->pin_states[i])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
699 ret = PTR_ERR(priv->pin_states[i]); in mt8183_mt6358_ts3a227_max98357_dev_probe()
705 if (!IS_ERR(priv->pin_states[PIN_TDM_OUT_OFF])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
707 priv->pin_states[PIN_TDM_OUT_OFF]); in mt8183_mt6358_ts3a227_max98357_dev_probe()
714 if (!IS_ERR(priv->pin_states[PIN_STATE_DEFAULT])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
716 priv->pin_states[PIN_STATE_DEFAULT]); in mt8183_mt6358_ts3a227_max98357_dev_probe()