Home
last modified time | relevance | path

Searched refs:DT_PATH (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-2.7.6/samples/drivers/adc/src/
Dmain.c11 #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/
Dsoc.c59 #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/
Dcan_mcan.h11 #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/
Dlog_backend_swo.c41 #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/
Dsoc_dt.h386 #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/
Dsoc.c16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/samples/drivers/dac/src/
Dmain.c11 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user)
/Zephyr-Core-2.7.6/samples/boards/nrf/battery/src/
Dbattery.c23 #define VBATT DT_PATH(vbatt)
24 #define ZEPHYR_USER DT_PATH(zephyr_user)
/Zephyr-Core-2.7.6/tests/lib/devicetree/api/src/
Dmain.c41 #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/
Dsoc.c36 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kl2x/
Dsoc.c78 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
/Zephyr-Core-2.7.6/tests/drivers/regulator/fixed/src/
Dmain.c11 #define REGULATOR_NODE DT_PATH(regulator)
12 #define CHECK_NODE DT_PATH(resources)
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kwx/
Dsoc_kw2xd.c141 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k6x/
Dsoc.c112 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)); in clock_init()
/Zephyr-Core-2.7.6/include/
Dcache.h131 #define CPU DT_PATH(cpus, cpu_0)
Ddevicetree.h129 #define DT_PATH(...) DT_PATH_INTERNAL(__VA_ARGS__) macro
/Zephyr-Core-2.7.6/soc/arm/atmel_sam/common/
Datmel_sam_dt.h100 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/soc/arm/atmel_sam0/common/
Datmel_sam0_dt.h49 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/drivers/interrupt_controller/
Dintc_gic.c20 DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
/Zephyr-Core-2.7.6/arch/arm64/core/
Dsmp.c51 DT_FOREACH_CHILD_STATUS_OKAY(DT_PATH(cpus), CPU_REG_ID)
/Zephyr-Core-2.7.6/doc/guides/dts/
Dtroubleshooting.rst56 #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)
Dapi-usage.rst37 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/
Dspi_cc13xx_cc26xx.c38 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/drivers/entropy/
Dentropy_cc13xx_cc26xx.c25 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_cc13xx_cc26xx.c241 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)

12