Home
last modified time | relevance | path

Searched refs:DEVICE_GET (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c238 const struct device *const eth_dev = DEVICE_GET(eth3_test); in ptp_test_1_init()
254 const struct device *const eth_dev = DEVICE_GET(eth2_test); in ptp_test_2_init()
297 if ((iface != net_if_lookup_by_dev(DEVICE_GET(eth3_test))) && in iface_cb()
298 (iface != net_if_lookup_by_dev(DEVICE_GET(eth2_test))) && in iface_cb()
299 (iface != net_if_lookup_by_dev(DEVICE_GET(eth1_test)))) { in iface_cb()
/Zephyr-latest/tests/subsys/pm/power_domain/src/
Dmain.c123 devc = DEVICE_GET(devc); in ZTEST()
286 devc = DEVICE_GET(devc); in ZTEST()
/Zephyr-latest/tests/net/icmp/src/
Dmain.c654 sender = net_if_lookup_by_dev(DEVICE_GET(test_sender_icmp)); in setup()
658 receiver = net_if_lookup_by_dev(DEVICE_GET(test_receiver_icmp)); in setup()
681 offload_sender = net_if_lookup_by_dev(DEVICE_GET(test_offload)); in setup()
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c244 test_iface = net_if_lookup_by_dev(DEVICE_GET(net_icmpv6_test)); in setup()
/Zephyr-latest/tests/lib/devicetree/devices/src/
Dmain.c62 #define DEV_HDL_NAME(name) device_handle_get(DEVICE_GET(name))
84 DEVICE_GET(manual_dev), NULL); in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/
Dmain.c269 const struct device *const dev = DEVICE_GET(pm_unsupported_device); in ZTEST()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c309 if ((iface != net_if_lookup_by_dev(DEVICE_GET(eth_test_dummy1))) && in iface_cb()
310 (iface != net_if_lookup_by_dev(DEVICE_GET(eth_test_dummy2))) && in iface_cb()
311 (iface != net_if_lookup_by_dev(DEVICE_GET(eth_test))) && in iface_cb()
/Zephyr-latest/tests/drivers/regulator/api/src/
Dmain.c35 static const struct device *const dummy_reg = DEVICE_GET(dummy_regulator);
37 static const struct device *const dummy_parent = DEVICE_GET(dummy_regulator_parent);
/Zephyr-latest/drivers/ethernet/
Deth_native_posix.c573 const struct device *const eth_dev = DEVICE_GET(eth_native_posix_##x); \
/Zephyr-latest/include/zephyr/
Ddevice.h333 #define DEVICE_GET(dev_id) (&DEVICE_NAME_GET(dev_id)) macro
/Zephyr-latest/tests/net/arp/src/
Dmain.c347 iface = net_if_lookup_by_dev(DEVICE_GET(net_arp_test)); in ZTEST()
/Zephyr-latest/doc/kernel/drivers/
Dindex.rst81 :c:macro:`DEVICE_GET()`
321 DEVICE_GET(my_driver_0), MY_DRIVER_0_FLAGS);
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c46 #define TEST_NET_IF net_if_lookup_by_dev(DEVICE_GET(eth_ipv6_net))
/Zephyr-latest/doc/kernel/services/
Dinterrupts.rst272 #define MY_ISR_ARG DEVICE_GET(my_device)