Lines Matching refs:pin_states
39 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()
259 if (IS_ERR(priv->pin_states[i])) { in mt8365_mt6357_gpio_probe()
264 priv->pin_states[i]); in mt8365_mt6357_gpio_probe()