Lines Matching full:cell

17 #define ATMEL_SAM0_DT_INST_CELL_REG_ADDR_OFFSET(n, cell)		\  argument
19 (DT_REG_ADDR(DT_INST_PHANDLE_BY_NAME(n, clocks, cell)) + \
20 DT_INST_CLOCKS_CELL_BY_NAME(n, cell, offset))
22 #define ATMEL_SAM0_DT_INST_CELL_PERIPH_MASK(n, name, cell) \ argument
23 BIT(DT_INST_CLOCKS_CELL_BY_NAME(n, name, cell))
35 #define ATMEL_SAM0_DT_INST_MCLK_PM_PERIPH_MASK(n, cell) \ argument
37 (ATMEL_SAM0_DT_INST_CELL_PERIPH_MASK(n, mclk, cell)), \
38 (ATMEL_SAM0_DT_INST_CELL_PERIPH_MASK(n, pm, cell)))
43 #define ATMEL_SAM0_DT_INST_DMA_CELL(n, name, cell) \ argument
45 (DT_INST_DMAS_CELL_BY_NAME(n, name, cell)), \
106 * property cell. Otherwise, it expands to 0.
127 * @param name lowercase-and-underscores clock-names cell value name to check
224 * @brief Get a atmel,assigned-clock specifier's cell value at an index
250 * @param cell lowercase-and-underscores cell name
251 * @return the cell value at index "idx"
254 #define ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_IDX(node_id, idx, cell) \ argument
255 DT_PHA_BY_IDX(node_id, atmel_assigned_clocks, idx, cell)
258 * @brief Get a atmel,assigned-clock specifier's cell value by name
286 * @param cell lowercase-and-underscores cell name
287 * @return the cell value in the specifier at the named element
290 #define ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_NAME(node_id, name, cell) \ argument
291 DT_PHA_BY_NAME(node_id, atmel_assigned_clocks, name, cell)
294 * @brief Equivalent to ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_IDX(node_id, 0, cell)
296 * @param cell lowercase-and-underscores cell name
297 * @return the cell value at index 0
300 #define ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL(node_id, cell) \ argument
301 ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_IDX(node_id, 0, cell)
318 * @param name lowercase-and-underscores clock-names cell value name to check
370 * @brief Get a DT_DRV_COMPAT instance's atmel,assigned-clock specifier's cell
374 * @param cell lowercase-and-underscores cell name
375 * @return the cell value at index "idx"
378 #define ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL_BY_IDX(inst, idx, cell) \ argument
379 ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
382 * @brief Get a DT_DRV_COMPAT instance's atmel,assigned-clock specifier's cell
387 * @param cell lowercase-and-underscores cell name
388 * @return the cell value in the specifier at the named element
391 #define ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL_BY_NAME(inst, name, cell) \ argument
392 ATMEL_SAM0_DT_ASSIGNED_CLOCKS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
395 * @brief Equivalent to ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL_BY_IDX(inst, 0, cell)
397 * @param cell lowercase-and-underscores cell name
398 * @return the value of the cell inside the specifier at index 0
400 #define ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL(inst, cell) \ argument
401 ATMEL_SAM0_DT_INST_ASSIGNED_CLOCKS_CELL_BY_IDX(inst, 0, cell)