Lines Matching full:state
41 /** Default state (state used when the device is in operational state). */
43 /** Sleep state (state used when the device is in low power mode). */
51 /** Pin control state configuration. */
57 /** State identifier (see @ref PINCTRL_STATES). */
70 /** List of state configurations. */
72 /** Number of state configurations. */
82 /** Out of power management configurations, ignore "sleep" state. */
87 * @brief Obtain the state identifier for the given node and state index.
89 * @param state_idx State index.
116 * identifier and state index.
118 * @param state_idx State index.
125 * @brief Utility macro to check if given state has to be skipped.
127 * If a certain state has to be skipped, a macro named PINCTRL_SKIP_<STATE>
129 * automatically ignore the sleep state if no device power management is
132 * @param state_idx State index.
140 * @brief Helper macro to define pins for a given pin control state.
142 * @param state_idx State index.
152 * @brief Helper macro to initialize a pin control state.
154 * @param state_idx State index.
235 * represented by node_id. Each pin control state (pinctrl-0, ..., pinctrl-N) is
278 * @brief Find the state configuration for the given state id.
281 * @param id Pin controller state id (see @ref PINCTRL_STATES).
282 * @param state Found state.
284 * @retval 0 If state has been found.
285 * @retval -ENOENT If the state has not been found.
288 const struct pinctrl_state **state);
310 * @brief Apply a state directly from the provided state configuration.
313 * @param state State.
320 const struct pinctrl_state *state) in pinctrl_apply_state_direct() argument
331 return pinctrl_configure_pins(state->pins, state->pin_cnt, reg); in pinctrl_apply_state_direct()
335 * @brief Apply a state from the given device configuration.
338 * @param id Id of the state to be applied (see @ref PINCTRL_STATES).
341 * @retval -ENOENT If given state id does not exist.
348 const struct pinctrl_state *state; in pinctrl_apply_state() local
350 ret = pinctrl_lookup_state(config, id, &state); in pinctrl_apply_state()
355 return pinctrl_apply_state_direct(config, state); in pinctrl_apply_state()
365 * @brief Helper macro to define the pins of a pin control state from
368 * The name of the defined state pins variable is the same used by @p prop. This
372 * @param prop Property within @p node_id containing state configuration.
381 * @brief Utility macro to initialize a pin control state.
384 * when using dynamic pin control to define an alternative state configuration
410 * @param prop Property name in Devicetree containing state configuration.
411 * @param state State represented by @p prop (see @ref PINCTRL_STATES).
415 #define PINCTRL_DT_STATE_INIT(prop, state) \ argument
419 .id = state \