Lines Matching +full:3 +full:- +full:cell
10 * SPDX-License-Identifier: Apache-2.0
21 * @defgroup devicetree-gpio Devicetree GPIO API
28 * gpio phandle-array property at an index
46 * @param gpio_pha lowercase-and-underscores GPIO property with
47 * type "phandle-array"
59 * @param gpio_pha lowercase-and-underscores GPIO property with
60 * type "phandle-array"
72 * @brief Get a label property from a gpio phandle-array property
99 * @param gpio_pha lowercase-and-underscores GPIO property with
100 * type "phandle-array"
114 * @param gpio_pha lowercase-and-underscores GPIO property with
115 * type "phandle-array"
123 * @brief Get a GPIO specifier's pin cell at an index
132 * #gpio-cells = <2>;
137 * #gpio-cells = <2>;
147 * gpio-cells:
148 * - pin
149 * - flags
157 * @param gpio_pha lowercase-and-underscores GPIO property with
158 * type "phandle-array"
160 * @return the pin cell value at index "idx"
169 * @param gpio_pha lowercase-and-underscores GPIO property with
170 * type "phandle-array"
171 * @return the pin cell value at index 0
178 * @brief Get a GPIO specifier's flags cell at an index
181 * If there is no "flags" cell in the GPIO specifier, zero is returned.
182 * Refer to the node's binding to check specifier cell names if necessary.
188 * #gpio-cells = <2>;
193 * #gpio-cells = <2>;
203 * gpio-cells:
204 * - pin
205 * - flags
213 * @param gpio_pha lowercase-and-underscores GPIO property with
214 * type "phandle-array"
216 * @return the flags cell value at index "idx", or zero if there is none
225 * @param gpio_pha lowercase-and-underscores GPIO property with
226 * type "phandle-array"
227 * @return the flags cell value at index 0, or zero if there is none
242 * #gpio-cells = <2>;
244 * n1: node-1 {
245 * gpio-hog;
247 * output-high;
250 * n2: node-2 {
251 * gpio-hog;
252 * gpios = <3 GPIO_ACTIVE_HIGH>;
253 * output-low;
259 * gpio-cells:
260 * - pin
261 * - flags
276 * @brief Get a GPIO hog specifier's pin cell at an index
285 * #gpio-cells = <2>;
287 * n1: node-1 {
288 * gpio-hog;
290 * output-high;
293 * n2: node-2 {
294 * gpio-hog;
295 * gpios = <3 GPIO_ACTIVE_HIGH>;
296 * output-low;
302 * gpio-cells:
303 * - pin
304 * - flags
310 * DT_GPIO_HOG_PIN_BY_IDX(DT_NODELABEL(n2), 0) // 3
314 * @return the pin cell value at index "idx"
320 * @brief Get a GPIO hog specifier's flags cell at an index
323 * If there is no "flags" cell in the GPIO specifier, zero is returned.
324 * Refer to the node's binding to check specifier cell names if necessary.
330 * #gpio-cells = <2>;
332 * n1: node-1 {
333 * gpio-hog;
335 * output-high;
338 * n2: node-2 {
339 * gpio-hog;
340 * gpios = <3 GPIO_ACTIVE_HIGH>;
341 * output-low;
347 * gpio-cells:
348 * - pin
349 * - flags
359 * @return the flags cell value at index "idx", or zero if there is none
372 * @param gpio_pha lowercase-and-underscores GPIO property with
373 * type "phandle-array"
386 * @param gpio_pha lowercase-and-underscores GPIO property with
387 * type "phandle-array"
394 * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's pin cell value
397 * @param gpio_pha lowercase-and-underscores GPIO property with
398 * type "phandle-array"
400 * @return the pin cell value at index "idx"
409 * @param gpio_pha lowercase-and-underscores GPIO property with
410 * type "phandle-array"
411 * @return the pin cell value at index 0
418 * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's flags cell
421 * @param gpio_pha lowercase-and-underscores GPIO property with
422 * type "phandle-array"
424 * @return the flags cell value at index "idx", or zero if there is none
433 * @param gpio_pha lowercase-and-underscores GPIO property with
434 * type "phandle-array"
435 * @return the flags cell value at index 0, or zero if there is none