/Zephyr-Core-2.7.6/include/ |
D | device.h | 93 #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/ |
D | virtual.h | 276 #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, \
|
D | net_if.h | 2254 #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 …]
|
D | ethernet.h | 829 #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/ |
D | main.c | 125 char *drv_name = NULL; in test_null_dynamic_name() local 127 mux = device_get_binding(drv_name); in test_null_dynamic_name()
|