/Zephyr-Core-2.7.6/samples/drivers/adc/src/ |
D | main.c | 11 #if !DT_NODE_EXISTS(DT_PATH(zephyr_user)) || \ 12 !DT_NODE_HAS_PROP(DT_PATH(zephyr_user), io_channels) 16 #define ADC_NUM_CHANNELS DT_PROP_LEN(DT_PATH(zephyr_user), io_channels) 23 DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), io_channels, 0), \ 24 DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), io_channels, 1)) 28 #define ADC_NODE DT_PHANDLE(DT_PATH(zephyr_user), io_channels) 38 DT_IO_CHANNELS_INPUT_BY_IDX(DT_PATH(zephyr_user), 0), 40 DT_IO_CHANNELS_INPUT_BY_IDX(DT_PATH(zephyr_user), 1)
|
/Zephyr-Core-2.7.6/soc/riscv/riscv-privilege/telink_b91/ |
D | soc.c | 59 #if ((DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_16MHZ) && \ 60 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_24MHZ) && \ 61 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_32MHZ) && \ 62 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_48MHZ) && \ 63 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_64MHZ) && \ 64 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_96MHZ)) 75 unsigned int cclk = DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency); in soc_b91_init()
|
/Zephyr-Core-2.7.6/drivers/can/ |
D | can_mcan.h | 11 #define NUM_STD_FILTER_ELEMENTS DT_PROP(DT_PATH(soc, can), std_filter_elements) 12 #define NUM_EXT_FILTER_ELEMENTS DT_PROP(DT_PATH(soc, can), ext_filter_elements) 13 #define NUM_RX_FIFO0_ELEMENTS DT_PROP(DT_PATH(soc, can), rx_fifo0_elements) 14 #define NUM_RX_FIFO1_ELEMENTS DT_PROP(DT_PATH(soc, can), rx_fifo0_elements) 15 #define NUM_RX_BUF_ELEMENTS DT_PROP(DT_PATH(soc, can), rx_buffer_elements) 17 DT_PROP(DT_PATH(soc, can), tx_event_fifo_elements) 18 #define NUM_TX_BUF_ELEMENTS DT_PROP(DT_PATH(soc, can), tx_buffer_elements)
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_backend_swo.c | 41 #if DT_NODE_HAS_PROP(DT_PATH(cpus, cpu_0), swo_ref_frequency) 42 #define SWO_REF_FREQ DT_PROP(DT_PATH(cpus, cpu_0), swo_ref_frequency) 43 #elif DT_NODE_HAS_PROP(DT_PATH(cpus, cpu_0), clock_frequency) 44 #define SWO_REF_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/soc/arm/nuvoton_npcx/common/ |
D | soc_dt.h | 386 #define NPCX_DT_NODE_FROM_MIWU_MAP(i) DT_PATH(npcx_miwus_int_map, \ 425 #define NPCX_DT_NODE_FROM_VWTABLE(name) DT_CHILD(DT_PATH(npcx_espi_vws_map), \ 494 #define NPCX_DT_NODE_DEF_LVOL_LIST DT_PATH(def_lvol_io_list) 563 #define NPCX_DT_NODE_PSL_IN_LIST DT_PATH(vsby_psl_in_list) 697 DT_PROP(DT_PATH(booter_variant), hif_type_auto)
|
/Zephyr-Core-2.7.6/soc/arc/snps_arc_iot/ |
D | soc.c | 16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/samples/drivers/dac/src/ |
D | main.c | 11 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user)
|
/Zephyr-Core-2.7.6/samples/boards/nrf/battery/src/ |
D | battery.c | 23 #define VBATT DT_PATH(vbatt) 24 #define ZEPHYR_USER DT_PATH(zephyr_user)
|
/Zephyr-Core-2.7.6/tests/lib/devicetree/api/src/ |
D | main.c | 41 #define TEST_CHILDREN DT_PATH(test, test_children) 42 #define TEST_DEADBEEF DT_PATH(test, gpio_deadbeef) 43 #define TEST_ABCD1234 DT_PATH(test, gpio_abcd1234) 54 #define TEST_I2C_DEV DT_PATH(test, i2c_11112222, test_i2c_dev_10) 65 #define TEST_SPI_DEV_0 DT_PATH(test, spi_33334444, test_spi_dev_0) 68 #define TEST_SPI_DEV_1 DT_PATH(test, spi_33334444, test_spi_dev_1) 229 zassert_equal(DT_NODE_HAS_STATUS(DT_PATH(test, gpio_0), okay), 0, ""); in test_has_path() 230 zassert_equal(DT_NODE_HAS_STATUS(DT_PATH(test, gpio_deadbeef), okay), 1, in test_has_path() 232 zassert_equal(DT_NODE_HAS_STATUS(DT_PATH(test, gpio_abcd1234), okay), 1, in test_has_path() 1174 zassert_true(!strcmp(TO_STRING(DT_PATH(test, gpio_deadbeef)), in test_macro_names() [all …]
|
/Zephyr-Core-2.7.6/soc/arm/nxp_lpc/lpc54xxx/ |
D | soc.c | 36 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kl2x/ |
D | soc.c | 78 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
|
/Zephyr-Core-2.7.6/tests/drivers/regulator/fixed/src/ |
D | main.c | 11 #define REGULATOR_NODE DT_PATH(regulator) 12 #define CHECK_NODE DT_PATH(resources)
|
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kwx/ |
D | soc_kw2xd.c | 141 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
|
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k6x/ |
D | soc.c | 112 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
|
/Zephyr-Core-2.7.6/include/ |
D | cache.h | 131 #define CPU DT_PATH(cpus, cpu_0)
|
D | devicetree.h | 129 #define DT_PATH(...) DT_PATH_INTERNAL(__VA_ARGS__) macro
|
/Zephyr-Core-2.7.6/soc/arm/atmel_sam/common/ |
D | atmel_sam_dt.h | 100 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/soc/arm/atmel_sam0/common/ |
D | atmel_sam0_dt.h | 49 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/drivers/interrupt_controller/ |
D | intc_gic.c | 20 DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
|
/Zephyr-Core-2.7.6/arch/arm64/core/ |
D | smp.c | 51 DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
|
/Zephyr-Core-2.7.6/doc/guides/dts/ |
D | troubleshooting.rst | 56 #define MY_CLOCK_FREQ DT_PROP(DT_PATH(soc, i2c@1234000), clock-frequency) 61 #define MY_CLOCK_FREQ DT_PROP(DT_PATH(soc, i2c_1234000), clock_frequency)
|
D | api-usage.rst | 37 Use :c:func:`DT_PATH()` along with the node's full path in the devicetree, 81 - ``DT_PATH(soc, i2c_40002000)`` 157 DT_PROP(DT_PATH(soc, i2c_40002000), clock_frequency) /* This is 100000, */
|
/Zephyr-Core-2.7.6/drivers/spi/ |
D | spi_cc13xx_cc26xx.c | 38 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/drivers/entropy/ |
D | entropy_cc13xx_cc26xx.c | 25 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_cc13xx_cc26xx.c | 241 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|