Lines Matching full:gpio
3 * @brief GPIO Devicetree macro public API header file.
21 * @defgroup devicetree-gpio Devicetree GPIO API
28 * gpio phandle-array property at an index
32 * gpio1: gpio@... { };
34 * gpio2: gpio@... { };
46 * @param gpio_pha lowercase-and-underscores GPIO property with
49 * @return the node identifier for the gpio controller referenced at
59 * @param gpio_pha lowercase-and-underscores GPIO property with
61 * @return a node identifier for the gpio controller at index 0
69 * @brief Get a GPIO specifier's pin cell at an index
71 * This macro only works for GPIO specifiers with cells named "pin".
76 * gpio1: gpio@... {
77 * compatible = "vnd,gpio";
78 * #gpio-cells = <2>;
81 * gpio2: gpio@... {
82 * compatible = "vnd,gpio";
83 * #gpio-cells = <2>;
91 * Bindings fragment for the vnd,gpio compatible:
93 * gpio-cells:
103 * @param gpio_pha lowercase-and-underscores GPIO property with
115 * @param gpio_pha lowercase-and-underscores GPIO property with
124 * @brief Get a GPIO specifier's flags cell at an index
126 * This macro expects GPIO specifiers with cells named "flags".
127 * If there is no "flags" cell in the GPIO specifier, zero is returned.
132 * gpio1: gpio@... {
133 * compatible = "vnd,gpio";
134 * #gpio-cells = <2>;
137 * gpio2: gpio@... {
138 * compatible = "vnd,gpio";
139 * #gpio-cells = <2>;
147 * Bindings fragment for the vnd,gpio compatible:
149 * gpio-cells:
159 * @param gpio_pha lowercase-and-underscores GPIO property with
171 * @param gpio_pha lowercase-and-underscores GPIO property with
180 * @brief Get the number of GPIO hogs in a node
186 * gpio1: gpio@... {
187 * compatible = "vnd,gpio";
188 * #gpio-cells = <2>;
191 * gpio-hog;
197 * gpio-hog;
203 * Bindings fragment for the vnd,gpio compatible:
205 * gpio-cells:
214 * @param node_id node identifier; may or may not be a GPIO hog node.
222 * @brief Get a GPIO hog specifier's pin cell at an index
224 * This macro only works for GPIO specifiers with cells named "pin".
229 * gpio1: gpio@... {
230 * compatible = "vnd,gpio";
231 * #gpio-cells = <2>;
234 * gpio-hog;
240 * gpio-hog;
246 * Bindings fragment for the vnd,gpio compatible:
248 * gpio-cells:
266 * @brief Get a GPIO hog specifier's flags cell at an index
268 * This macro expects GPIO specifiers with cells named "flags".
269 * If there is no "flags" cell in the GPIO specifier, zero is returned.
274 * gpio1: gpio@... {
275 * compatible = "vnd,gpio";
276 * #gpio-cells = <2>;
279 * gpio-hog;
285 * gpio-hog;
291 * Bindings fragment for the vnd,gpio compatible:
293 * gpio-cells:
312 * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's pin cell value
315 * @param gpio_pha lowercase-and-underscores GPIO property with
327 * @param gpio_pha lowercase-and-underscores GPIO property with
336 * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's flags cell
339 * @param gpio_pha lowercase-and-underscores GPIO property with
351 * @param gpio_pha lowercase-and-underscores GPIO property with