Home
last modified time | relevance | path

Searched refs:DEVICE_DT_GET (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/cavs/
Dirq.c32 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_enable()
35 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_enable()
38 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(2)); in z_soc_irq_enable()
41 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(3)); in z_soc_irq_enable()
70 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_disable()
73 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_disable()
76 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(2)); in z_soc_irq_disable()
79 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(3)); in z_soc_irq_disable()
111 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_is_enabled()
114 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_is_enabled()
[all …]
/Zephyr-Core-3.4.0/tests/drivers/clock_control/stm32_clock_configuration/stm32_common_devices/src/
Dtest_stm32_clock_configuration_i2c.c34 int r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in i2c_set_clock()
56 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in i2c_set_clock()
61 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in i2c_set_clock()
82 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
88 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
94 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
113 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
127 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_adc.c59 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
65 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
71 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
79 r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
102 status = clock_control_get_status(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
107 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
127 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_lptim.c33 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
42 r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
64 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
80 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
94 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_i2s.c28 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
38 r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
56 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
69 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.4.0/tests/drivers/bbram/emul/src/
Dmain.c16 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
27 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
40 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
55 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
65 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
75 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
85 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
95 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST()
106 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in before()
/Zephyr-Core-3.4.0/tests/lib/devicetree/devices/src/
Dmain.c62 #define DEV_HDL(node_id) device_handle_get(DEVICE_DT_GET(node_id))
69 DEVICE_DT_GET(TEST_GPIO), NULL); in ZTEST()
71 DEVICE_DT_GET(TEST_I2C), NULL); in ZTEST()
73 DEVICE_DT_GET(TEST_DEVA), NULL); in ZTEST()
75 DEVICE_DT_GET(TEST_DEVB), NULL); in ZTEST()
77 DEVICE_DT_GET(TEST_GPIOX), NULL); in ZTEST()
79 DEVICE_DT_GET(TEST_DEVC), NULL); in ZTEST()
81 DEVICE_DT_GET(TEST_PARTITION), NULL); in ZTEST()
83 DEVICE_DT_GET(TEST_GPIO_INJECTED), NULL); in ZTEST()
87 DEVICE_DT_GET(TEST_NOLABEL), NULL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/boards/arm/efm32gg_stk3701a/
Dboard.c20 cur_dev = DEVICE_DT_GET(BC_ENABLE_GPIO_NODE); in efm32gg_stk3701a_init()
31 cur_dev = DEVICE_DT_GET(ETH_PWR_ENABLE_GPIO_NODE); in efm32gg_stk3701a_init()
41 cur_dev = DEVICE_DT_GET(ETH_REF_CLK_GPIO_NODE); in efm32gg_stk3701a_init()
59 cur_dev = DEVICE_DT_GET(ETH_RESET_GPIO_NODE); in efm32gg_stk3701a_init()
/Zephyr-Core-3.4.0/tests/drivers/clock_control/stm32_clock_configuration/stm32u5_devices/src/
Dtest_stm32_clock_configuration.c45 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
54 r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
76 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
89 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
101 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.4.0/drivers/cache/
Dcache_aspeed.c53 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in aspeed_cache_init()
116 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_data_disable()
128 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_instr_disable()
135 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_data_invd_all()
165 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_data_invd_range()
197 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_instr_invd_all()
226 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_instr_invd_range()
312 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_data_line_size_get()
324 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in cache_instr_line_size_get()
/Zephyr-Core-3.4.0/boards/riscv/rv32m1_vega/
Dboard.c13 const struct device *const gpiob = DEVICE_DT_GET(DT_NODELABEL(gpiob)); in rv32m1_vega_board_init()
14 const struct device *const gpioc = DEVICE_DT_GET(DT_NODELABEL(gpioc)); in rv32m1_vega_board_init()
15 const struct device *const gpiod = DEVICE_DT_GET(DT_NODELABEL(gpiod)); in rv32m1_vega_board_init()
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/ace/
Dirq.c14 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(ace_intc)); in z_soc_irq_enable()
28 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(ace_intc)); in z_soc_irq_disable()
42 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(ace_intc)); in z_soc_irq_is_enabled()
/Zephyr-Core-3.4.0/samples/boards/up_squared/gpio_counter/src/
Dmain.c50 .gpio_dev = DEVICE_DT_GET(UP2_HAT_PIN_35_DEV),
55 .gpio_dev = DEVICE_DT_GET(UP2_HAT_PIN_37_DEV),
60 .gpio_dev = DEVICE_DT_GET(UP2_HAT_PIN_38_DEV),
65 .gpio_dev = DEVICE_DT_GET(UP2_HAT_PIN_40_DEV),
72 .gpio_dev = DEVICE_DT_GET(UP2_HAT_PIN_16_DEV),
/Zephyr-Core-3.4.0/tests/drivers/clock_control/stm32_clock_configuration/stm32h7_devices/src/
Dtest_stm32_clock_configuration.c46 r = clock_control_on(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
57 r = clock_control_configure(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
112 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
125 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
139 r = clock_control_off(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.4.0/tests/drivers/syscon/src/
Dmain.c17 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in ZTEST()
29 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in ZTEST()
38 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in ZTEST()
52 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(syscon)); in ZTEST()
/Zephyr-Core-3.4.0/drivers/edac/
Dshell.c100 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_edac_info()
131 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_inject_addr()
178 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_inject_mask()
223 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_inject_trigger()
271 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_inject_error_type_show()
293 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in set_error_type()
321 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_inject_test()
365 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_ecc_error_show()
380 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_ecc_error_clear()
409 dev = DEVICE_DT_GET(DT_NODELABEL(ibecc)); in cmd_parity_error_show()
[all …]
/Zephyr-Core-3.4.0/tests/drivers/spi/dt_spec/src/
Dmain.c24 zassert_equal(spi_cs.bus, DEVICE_DT_GET(DT_NODELABEL(test_spi_cs)), ""); in ZTEST()
26 zassert_equal(spi_cs.config.cs.gpio.port, DEVICE_DT_GET(DT_NODELABEL(test_gpio)), ""); in ZTEST()
35 zassert_equal(spi_no_cs.bus, DEVICE_DT_GET(DT_NODELABEL(test_spi_no_cs)), ""); in ZTEST()
/Zephyr-Core-3.4.0/tests/drivers/smbus/smbus_api/src/
Dtest_smbus.c28 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(smbus0)); in ZTEST_USER()
50 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(smbus0)); in ZTEST_USER()
95 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(smbus0)); in ZTEST_USER()
140 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(smbus0)); in ZTEST_USER()
162 const struct device *const dev = DEVICE_DT_GET(DT_NODELABEL(smbus0)); in smbus_test_setup()
/Zephyr-Core-3.4.0/samples/boards/rpi_pico/uart_pio/src/
Dmain.c14 const struct device *uart0 = DEVICE_DT_GET(DT_NODELABEL(pio1_uart0)); in main()
15 const struct device *uart1 = DEVICE_DT_GET(DT_NODELABEL(pio1_uart1)); in main()
/Zephyr-Core-3.4.0/tests/drivers/kscan/kscan_api/src/
Dtest_kscan.c24 const struct device *const kscan_dev = DEVICE_DT_GET(DT_ALIAS(kscan0)); in test_kb_callback()
41 const struct device *const kscan_dev = DEVICE_DT_GET(DT_ALIAS(kscan0)); in test_null_callback()
58 const struct device *const kscan_dev = DEVICE_DT_GET(DT_ALIAS(kscan0)); in test_disable_enable_callback()
/Zephyr-Core-3.4.0/boards/arm/mimxrt595_evk/
Dboard.c17 static const struct device *sw1 = DEVICE_DT_GET(NODE_SW1);
18 static const struct device *sw2 = DEVICE_DT_GET(NODE_SW2);
19 static const struct device *ldo1 = DEVICE_DT_GET(NODE_LDO1);
20 static const struct device *ldo2 = DEVICE_DT_GET(NODE_LDO2);
/Zephyr-Core-3.4.0/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_gpiote_zephyr.c60 dev = DEVICE_DT_GET(DT_NODELABEL(gpio1)); in nrf_802154_gpiote_init()
62 dev = DEVICE_DT_GET(DT_NODELABEL(gpio0)); in nrf_802154_gpiote_init()
65 dev = DEVICE_DT_GET(DT_NODELABEL(gpio0)); in nrf_802154_gpiote_init()
/Zephyr-Core-3.4.0/drivers/serial/
Duart_nxp_s32_linflexd.c468 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(0)); in s32_uart_callback()
473 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(1)); in s32_uart_callback()
478 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(2)); in s32_uart_callback()
483 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(3)); in s32_uart_callback()
488 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(4)); in s32_uart_callback()
493 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(5)); in s32_uart_callback()
498 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(6)); in s32_uart_callback()
503 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(7)); in s32_uart_callback()
508 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(8)); in s32_uart_callback()
513 dev = DEVICE_DT_GET(UART_NXP_S32_NODE(9)); in s32_uart_callback()
[all …]
/Zephyr-Core-3.4.0/samples/drivers/uart/stm32/single_wire/src/
Dmain.c15 const struct device *const sl_uart1 = DEVICE_DT_GET(UART_NODE1);
16 const struct device *const sl_uart2 = DEVICE_DT_GET(UART_NODE2);
/Zephyr-Core-3.4.0/tests/drivers/gpio/gpio_basic_api/src/
Dmain.c23 const struct device *const in_dev = DEVICE_DT_GET(DEV_OUT); in board_setup()
24 const struct device *const out_dev = DEVICE_DT_GET(DEV_IN); in board_setup()
85 const struct device *const dev = DEVICE_DT_GET(DEV); in board_setup()

12345678910>>...24