Lines Matching refs:pin_states
39 struct pinctrl_state *pin_states[PIN_STATE_MAX]; member
310 if (IS_ERR(priv->pin_states[PIN_TDM_OUT_ON])) in mt8183_mt6358_tdm_startup()
311 return PTR_ERR(priv->pin_states[PIN_TDM_OUT_ON]); in mt8183_mt6358_tdm_startup()
314 priv->pin_states[PIN_TDM_OUT_ON]); in mt8183_mt6358_tdm_startup()
329 if (IS_ERR(priv->pin_states[PIN_TDM_OUT_OFF])) in mt8183_mt6358_tdm_shutdown()
333 priv->pin_states[PIN_TDM_OUT_OFF]); in mt8183_mt6358_tdm_shutdown()
354 priv->pin_states[PIN_WOV]); in mt8183_mt6358_ts3a227_max98357_wov_startup()
368 priv->pin_states[PIN_STATE_DEFAULT]); in mt8183_mt6358_ts3a227_max98357_wov_shutdown()
829 priv->pin_states[i] = pinctrl_lookup_state(priv->pinctrl, in mt8183_mt6358_ts3a227_max98357_dev_probe()
831 if (IS_ERR(priv->pin_states[i])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
832 ret = PTR_ERR(priv->pin_states[i]); in mt8183_mt6358_ts3a227_max98357_dev_probe()
838 if (!IS_ERR(priv->pin_states[PIN_TDM_OUT_OFF])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
840 priv->pin_states[PIN_TDM_OUT_OFF]); in mt8183_mt6358_ts3a227_max98357_dev_probe()
847 if (!IS_ERR(priv->pin_states[PIN_STATE_DEFAULT])) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
849 priv->pin_states[PIN_STATE_DEFAULT]); in mt8183_mt6358_ts3a227_max98357_dev_probe()