Searched refs:pin_states (Results 1 – 2 of 2) sorted by relevance
39 struct pinctrl_state *pin_states[PIN_STATE_MAX]; member71 if (IS_ERR(priv->pin_states[PIN_STATE_MOSI_ON])) in mt8365_mt6357_int_adda_startup()75 priv->pin_states[PIN_STATE_MOSI_ON]); in mt8365_mt6357_int_adda_startup()82 if (IS_ERR(priv->pin_states[PIN_STATE_MISO_ON])) in mt8365_mt6357_int_adda_startup()86 priv->pin_states[PIN_STATE_MISO_ON]); in mt8365_mt6357_int_adda_startup()102 if (IS_ERR(priv->pin_states[PIN_STATE_MOSI_OFF])) in mt8365_mt6357_int_adda_shutdown()106 priv->pin_states[PIN_STATE_MOSI_OFF]); in mt8365_mt6357_int_adda_shutdown()113 if (IS_ERR(priv->pin_states[PIN_STATE_MISO_OFF])) in mt8365_mt6357_int_adda_shutdown()117 priv->pin_states[PIN_STATE_MISO_OFF]); in mt8365_mt6357_int_adda_shutdown()257 priv->pin_states[i] = pinctrl_lookup_state(priv->pinctrl, in mt8365_mt6357_gpio_probe()[all …]
39 struct pinctrl_state *pin_states[PIN_STATE_MAX]; member310 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()[all …]