Lines Matching +full:current +full:- +full:reference +full:- +full:control

3  * SPDX-License-Identifier: Apache-2.0
8 * Public APIs for pin control drivers
36 * @name Pin control states
51 /** Pin control state configuration. */
140 * @brief Helper macro to define pins for a given pin control state.
152 * @brief Helper macro to initialize a pin control state.
180 * @brief Helper macro to initialize pin control config.
214 * @brief Declare pin control configuration for a given node identifier.
216 * This macro should be used by tests or applications using runtime pin control
217 * to declare the pin control configuration for a device.
218 * #PINCTRL_DT_DEV_CONFIG_GET can later be used to obtain a reference to such
231 * @brief Define all pin control information for the given node identifier.
234 * defines and initializes the pin control configuration for the device
235 * represented by node_id. Each pin control state (pinctrl-0, ..., pinctrl-N) is
250 * @brief Define all pin control information for the given compatible index.
259 * @brief Obtain a reference to the pin control configuration given a node
267 * @brief Obtain a reference to the pin control configuration given current
285 * @retval -ENOENT If the state has not been found.
304 * @retval -errno Negative errno for other failures.
312 * @param config Pin control configuration.
316 * @retval -errno Negative errno for other failures.
325 reg = config->reg; in pinctrl_apply_state_direct()
331 return pinctrl_configure_pins(state->pins, state->pin_cnt, reg); in pinctrl_apply_state_direct()
337 * @param config Pin control configuration.
341 * @retval -ENOENT If given state id does not exist.
342 * @retval -errno Negative errno for other failures.
360 * @defgroup pinctrl_interface_dynamic Dynamic Pin Control
365 * @brief Helper macro to define the pins of a pin control state from
381 * @brief Utility macro to initialize a pin control state.
384 * when using dynamic pin control to define an alternative state configuration
427 * current list of states, it is expected that the new array of states also
430 * @param config Pin control configuration.
434 * @retval -EINVAL If the new configuration does not contain the same states as
435 * the current active configuration.
436 * @retval -ENOSYS If the functionality is not available.
452 return -ENOSYS; in pinctrl_update_states()