Lines Matching +full:2 +full:- +full:cell
9 * SPDX-License-Identifier: Apache-2.0
20 * @defgroup devicetree-dmas Devicetree DMA API
36 * dmas = <&dma1 1 2 0x400 0x3>,
64 * dmas = <&dma1 1 2 0x400 0x3>,
66 * dma-names = "tx", "rx";
75 * @param name lowercase-and-underscores name of a dmas element
76 * as defined by the node's dma-names property
109 * @param name lowercase-and-underscores name of a dmas element
110 * as defined by the node's dma-names property
127 * @brief Get a DMA specifier's cell value at an index
133 * #dma-cells = <2>;
138 * #dma-cells = <2>;
148 * dma-cells:
149 * - channel
150 * - config
161 * @param cell lowercase-and-underscores cell name
162 * @return the cell value at index "idx"
165 #define DT_DMAS_CELL_BY_IDX(node_id, idx, cell) \ argument
166 DT_PHA_BY_IDX(node_id, dmas, idx, cell)
169 * @brief Get a DT_DRV_COMPAT instance's DMA specifier's cell value at an index
172 * @param cell lowercase-and-underscores cell name
173 * @return the cell value at index "idx"
176 #define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) \ argument
177 DT_PHA_BY_IDX(DT_DRV_INST(inst), dmas, idx, cell)
180 * @brief Get a DMA specifier's cell value by name
186 * #dma-cells = <2>;
191 * #dma-cells = <2>;
197 * dma-names = "tx", "rx";
202 * dma-cells:
203 * - channel
204 * - config
214 * @param name lowercase-and-underscores name of a dmas element
215 * as defined by the node's dma-names property
216 * @param cell lowercase-and-underscores cell name
217 * @return the cell value in the specifier at the named element
220 #define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \ argument
221 DT_PHA_BY_NAME(node_id, dmas, name, cell)
227 * name, cell). The @p default_value parameter is not expanded in this case.
232 * @param name lowercase-and-underscores name of a dmas element
233 * as defined by the node's dma-names property
234 * @param cell lowercase-and-underscores cell name
236 * @return the cell's value or @p default_value
239 #define DT_DMAS_CELL_BY_NAME_OR(node_id, name, cell, default_value) \ argument
240 DT_PHA_BY_NAME_OR(node_id, dmas, name, cell, default_value)
243 * @brief Get a DT_DRV_COMPAT instance's DMA specifier's cell value by name
245 * @param name lowercase-and-underscores name of a dmas element
246 * as defined by the node's dma-names property
247 * @param cell lowercase-and-underscores cell name
248 * @return the cell value in the specifier at the named element
251 #define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \ argument
252 DT_DMAS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
275 * @param name lowercase-and-underscores name of a dmas element
276 * as defined by the node's dma-names property
285 * @param name lowercase-and-underscores name of a dmas element
286 * as defined by the node's dma-names property