Home
last modified time | relevance | path

Searched refs:pin_states (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/mediatek/mt8365/
Dmt8365-mt6357.c39 struct pinctrl_state *pin_states[PIN_STATE_MAX]; member
71 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 …]
/linux-6.12.1/sound/soc/mediatek/mt8183/
Dmt8183-mt6358-ts3a227-max98357.c39 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()
[all …]