Home
last modified time | relevance | path

Searched refs:drv_name (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/include/
Ddevice.h93 #define SYS_DEVICE_DEFINE(drv_name, init_fn, pm_control_fn, level, prio) \ argument
94 DEVICE_DEFINE(Z_SYS_NAME(init_fn), drv_name, init_fn, \
137 #define DEVICE_DEFINE(dev_name, drv_name, init_fn, pm_control_fn, \ argument
139 Z_DEVICE_DEFINE(DT_INVALID_NODE, dev_name, drv_name, init_fn, \
787 #define Z_DEVICE_DEFINE(node_id, dev_name, drv_name, init_fn, pm_control_fn, \ argument
794 .name = drv_name, \
801 BUILD_ASSERT(sizeof(Z_STRINGIFY(drv_name)) <= Z_DEVICE_MAX_NAME_LEN, \
802 Z_STRINGIFY(DEVICE_NAME_GET(drv_name)) " too long"); \
/Zephyr-Core-2.7.6/include/net/
Dvirtual.h276 #define Z_NET_VIRTUAL_INTERFACE_INIT(node_id, dev_name, drv_name, \ argument
279 Z_NET_DEVICE_INIT(node_id, dev_name, drv_name, init_fn, \
308 #define NET_VIRTUAL_INTERFACE_INIT(dev_name, drv_name, init_fn, \ argument
312 drv_name, init_fn, pm_control_fn, \
Dnet_if.h2254 #define Z_NET_DEVICE_INIT(node_id, dev_name, drv_name, init_fn, \ argument
2257 Z_DEVICE_DEFINE(node_id, dev_name, drv_name, init_fn, \
2284 #define NET_DEVICE_INIT(dev_name, drv_name, init_fn, pm_control_fn, \ argument
2287 Z_NET_DEVICE_INIT(DT_INVALID_NODE, dev_name, drv_name, init_fn, \
2331 #define Z_NET_DEVICE_INIT_INSTANCE(node_id, dev_name, drv_name, \ argument
2335 Z_DEVICE_DEFINE(node_id, dev_name, drv_name, init_fn, \
2366 #define NET_DEVICE_INIT_INSTANCE(dev_name, drv_name, instance, init_fn, \ argument
2369 Z_NET_DEVICE_INIT_INSTANCE(DT_INVALID_NODE, dev_name, drv_name, \
2420 #define Z_NET_DEVICE_OFFLOAD_INIT(node_id, dev_name, drv_name, init_fn, \ argument
2423 Z_DEVICE_DEFINE(node_id, dev_name, drv_name, init_fn, \
[all …]
Dethernet.h829 #define Z_ETH_NET_DEVICE_INIT(node_id, dev_name, drv_name, init_fn, \ argument
831 Z_DEVICE_DEFINE(node_id, dev_name, drv_name, init_fn, \
839 #define Z_ETH_NET_DEVICE_INIT(node_id, dev_name, drv_name, init_fn, \ argument
841 Z_NET_DEVICE_INIT(node_id, dev_name, drv_name, init_fn, \
866 #define ETH_NET_DEVICE_INIT(dev_name, drv_name, init_fn, pm_control_fn, \ argument
868 Z_ETH_NET_DEVICE_INIT(DT_INVALID_NODE, dev_name, drv_name, \
/Zephyr-Core-2.7.6/tests/kernel/device/src/
Dmain.c125 char *drv_name = NULL; in test_null_dynamic_name() local
127 mux = device_get_binding(drv_name); in test_null_dynamic_name()