Lines Matching refs:pname
108 #define UDC_BUF_POOL_VAR_DEFINE(pname, count, size, ud_size, fdestroy) \ argument
109 _NET_BUF_ARRAY_DEFINE(pname, count, ud_size); \
110 UDC_K_HEAP_DEFINE(net_buf_mem_pool_##pname, size); \
111 static const struct net_buf_data_alloc net_buf_data_alloc_##pname = { \
113 .alloc_data = &net_buf_mem_pool_##pname, \
116 static STRUCT_SECTION_ITERABLE(net_buf_pool, pname) = \
117 NET_BUF_POOL_INITIALIZER(pname, &net_buf_data_alloc_##pname, \
118 _net_buf_##pname, count, ud_size, \
135 #define UDC_BUF_POOL_DEFINE(pname, count, size, ud_size, fdestroy) \ argument
136 _NET_BUF_ARRAY_DEFINE(pname, count, ud_size); \
140 net_buf_data_##pname[count][ROUND_UP(size, UDC_BUF_GRANULARITY)];\
141 static const struct net_buf_pool_fixed net_buf_fixed_##pname = { \
142 .data_pool = (uint8_t *)net_buf_data_##pname, \
144 static const struct net_buf_data_alloc net_buf_fixed_alloc_##pname = { \
146 .alloc_data = (void *)&net_buf_fixed_##pname, \
149 static STRUCT_SECTION_ITERABLE(net_buf_pool, pname) = \
150 NET_BUF_POOL_INITIALIZER(pname, &net_buf_fixed_alloc_##pname, \
151 _net_buf_##pname, count, ud_size, \