/Zephyr-latest/include/zephyr/shell/ |
D | shell_rpmsg.h | 58 #define SHELL_RPMSG_DEFINE(_name) \ argument 59 static struct shell_rpmsg _name##_shell_rpmsg; \ 60 struct shell_transport _name = { \ 62 .ctx = (struct shell_rpmsg *)&_name##_shell_rpmsg, \
|
D | shell_telnet.h | 67 #define SHELL_TELNET_DEFINE(_name) \ argument 68 static struct shell_telnet _name##_shell_telnet; \ 69 struct shell_transport _name = { \ 71 .ctx = (struct shell_telnet *)&_name##_shell_telnet \
|
D | shell_fprintf.h | 47 #define Z_SHELL_FPRINTF_DEFINE(_name, _user_ctx, _buf, _size, \ argument 50 _name##_shell_fprintf_ctx = { \ 54 static const struct shell_fprintf _name = { \ 59 .ctrl_blk = &_name##_shell_fprintf_ctx \
|
D | shell_uart.h | 90 #define SHELL_UART_DEFINE(_name, ...) \ argument 91 static SHELL_UART_STRUCT _name##_shell_uart; \ 92 struct shell_transport _name = { \ 94 .ctx = (struct shell_telnet *)&_name##_shell_uart, \
|
D | shell_mqtt.h | 107 #define SHELL_MQTT_DEFINE(_name) \ argument 108 static struct shell_mqtt _name##_shell_mqtt; \ 109 struct shell_transport _name = { .api = &shell_mqtt_transport_api, \ 110 .ctx = (struct shell_mqtt *)&_name##_shell_mqtt }
|
/Zephyr-latest/include/zephyr/net/ |
D | socket_service.h | 98 #define __z_net_socket_service_define(_name, _cb, _count, ...) \ argument 99 static int __z_net_socket_svc_get_idx(_name); \ 101 __z_net_socket_svc_get_name(_name)[_count] = { \ 108 const STRUCT_SECTION_ITERABLE(net_socket_service_desc, _name) = { \ 110 .pev = __z_net_socket_svc_get_name(_name), \ 112 .idx = &__z_net_socket_svc_get_idx(_name), \
|
D | wifi_nm.h | 69 #define DEFINE_WIFI_NM_INSTANCE(_name, _ops) \ argument 70 static STRUCT_SECTION_ITERABLE(wifi_nm_instance, WIFI_NM_NAME(_name)) = { \ 71 .name = STRINGIFY(_name), \
|
/Zephyr-latest/subsys/net/ip/ |
D | nbr.h | 37 #define NET_NBR_LLADDR_INIT(_name, _count) \ argument 38 struct net_nbr_lladdr _name[_count] = { } 75 #define NET_NBR_POOL_INIT(_name, _count, _size, _remove) \ argument 79 } _name[_count] = { \ 102 #define NET_NBR_TABLE_INIT(_type, _name, _pool, _clear) \ argument 103 _type struct net_nbr_table_##_name { \ 105 } net_##_name __used = { \
|
/Zephyr-latest/include/zephyr/sys/ |
D | sem.h | 64 #define SYS_SEM_DEFINE(_name, _initial_count, _count_limit) \ argument 65 struct sys_sem _name = { \ 75 #define SYS_SEM_DEFINE(_name, _initial_count, _count_limit) \ argument 76 STRUCT_SECTION_ITERABLE_ALTERNATE(k_sem, sys_sem, _name) = { \ 77 .kernel_sem = Z_SEM_INITIALIZER(_name.kernel_sem, \
|
/Zephyr-latest/include/zephyr/ |
D | net_buf.h | 48 #define NET_BUF_SIMPLE_DEFINE(_name, _size) \ argument 49 uint8_t net_buf_data_##_name[_size]; \ 50 struct net_buf_simple _name = { \ 51 .data = net_buf_data_##_name, \ 54 .__buf = net_buf_data_##_name, \ 67 #define NET_BUF_SIMPLE_DEFINE_STATIC(_name, _size) \ argument 68 static __noinit uint8_t net_buf_data_##_name[_size]; \ 69 static struct net_buf_simple _name = { \ 70 .data = net_buf_data_##_name, \ 73 .__buf = net_buf_data_##_name, \ [all …]
|
/Zephyr-latest/include/zephyr/arch/arm/mpu/ |
D | arm_mpu.h | 45 #define MPU_REGION_ENTRY(_name, _base, _size, _attr) \ argument 47 .name = _name, \ 53 #define MPU_REGION_ENTRY(_name, _base, _attr) \ argument 55 .name = _name, \
|
/Zephyr-latest/include/zephyr/net/prometheus/ |
D | collector.h | 76 #define PROMETHEUS_COLLECTOR_DEFINE(_name, ...) \ argument 77 STRUCT_SECTION_ITERABLE(prometheus_collector, _name) = { \ 78 .name = STRINGIFY(_name), \ 79 .metrics = SYS_SLIST_STATIC_INIT(&_name.metrics), \ 80 .lock = Z_MUTEX_INITIALIZER(_name.lock), \
|
D | gauge.h | 59 #define PROMETHEUS_GAUGE_DEFINE(_name, _desc, _label, _collector, ...) \ argument 60 STRUCT_SECTION_ITERABLE(prometheus_gauge, _name) = { \ 61 .base.name = STRINGIFY(_name), \
|
D | histogram.h | 79 #define PROMETHEUS_HISTOGRAM_DEFINE(_name, _desc, _label, _collector, ...) \ argument 80 STRUCT_SECTION_ITERABLE(prometheus_histogram, _name) = { \ 81 .base.name = STRINGIFY(_name), \
|
D | counter.h | 60 #define PROMETHEUS_COUNTER_DEFINE(_name, _desc, _label, _collector, ...) \ argument 61 STRUCT_SECTION_ITERABLE(prometheus_counter, _name) = { \ 62 .base.name = STRINGIFY(_name), \
|
D | summary.h | 83 #define PROMETHEUS_SUMMARY_DEFINE(_name, _desc, _label, _collector, ...) \ argument 84 STRUCT_SECTION_ITERABLE(prometheus_summary, _name) = { \ 85 .base.name = STRINGIFY(_name), \
|
/Zephyr-latest/include/zephyr/drivers/spi/ |
D | rtio.h | 38 #define SPI_RTIO_DEFINE(_name, _sq_sz, _cq_sz) \ argument 39 RTIO_DEFINE(CONCAT(_name, _r), _sq_sz, _cq_sz); \ 40 static struct spi_rtio _name = { \ 41 .r = &CONCAT(_name, _r), \
|
/Zephyr-latest/include/zephyr/drivers/i2c/ |
D | rtio.h | 39 #define I2C_RTIO_DEFINE(_name, _sq_sz, _cq_sz) \ argument 40 RTIO_DEFINE(CONCAT(_name, _r), _sq_sz, _cq_sz); \ 41 static struct i2c_rtio _name = { \ 42 .r = &CONCAT(_name, _r), \
|
/Zephyr-latest/include/zephyr/drivers/i3c/ |
D | rtio.h | 40 #define I3C_RTIO_DEFINE(_name, _sq_sz, _cq_sz) \ argument 41 RTIO_DEFINE(CONCAT(_name, _r), _sq_sz, _cq_sz); \ 42 static struct i3c_rtio _name = { \ 43 .r = &CONCAT(_name, _r), \
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_simulator.c | 23 #define EC_HOST_CMD_SIM_DEFINE(_name) \ argument 24 static struct ec_host_cmd_sim_ctx _name##_hc_sim; \ 25 struct ec_host_cmd_backend _name = { \ 27 .ctx = (struct ec_host_cmd_sim_ctx *)&_name##_hc_sim, \
|
/Zephyr-latest/include/zephyr/mctp/ |
D | mctp_uart.h | 70 #define MCTP_UART_DT_DEFINE(_name, _dev) \ argument 71 struct mctp_binding_uart _name = { \ 74 .name = STRINGIFY(_name), .version = 1, \
|
/Zephyr-latest/drivers/lora/ |
D | sx12xx_common.h | 18 #define sx12xx_configure_pin(_name, _flags) \ argument 19 COND_CODE_1(DT_INST_NODE_HAS_PROP(0, _name##_gpios), \ 20 (__sx12xx_configure_pin(&dev_config._name, _flags)),\
|
/Zephyr-latest/subsys/tracing/include/ |
D | tracing_backend.h | 50 #define TRACING_BACKEND_DEFINE(_name, _api) \ argument 51 static const STRUCT_SECTION_ITERABLE(tracing_backend, _name) = { \ 52 .name = STRINGIFY(_name), \
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | proxy.h | 56 #define BT_MESH_PROXY_CB_DEFINE(_name) \ argument 58 bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb_, _name))
|
/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | ias.h | 73 #define BT_IAS_CB_DEFINE(_name) \ argument 74 static const STRUCT_SECTION_ITERABLE(bt_ias_cb, _CONCAT(bt_ias_cb_, _name))
|