Home
last modified time | relevance | path

Searched refs:item_size (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.7.0/components/esp_wifi/esp32/
Desp_adapter.c110 wifi_static_queue_t* wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
121 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
126 …queue->handle = xQueueCreateStatic( queue_len, item_size, ((uint8_t*)(queue->storage)) + sizeof(St… in wifi_create_queue()
145 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
165 static void * wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
167 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
255 static void * queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
257 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/components/esp_wifi/esp32s2/
Desp_adapter.c101 wifi_static_queue_t* wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
112 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
117 …queue->handle = xQueueCreateStatic( queue_len, item_size, ((uint8_t*)(queue->storage)) + sizeof(St… in wifi_create_queue()
136 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
156 static void * wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
158 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
246 static void * queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
248 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c897 size_t item_size = 0; in btc_spp_write() local
898 uint8_t *data = xRingbufferReceiveUpTo(slot->ringbuf_write, &item_size, 0, slot->mtu); in btc_spp_write()
899 if (item_size > 0) { in btc_spp_write()
901 slot->write_data_len = item_size; in btc_spp_write()
903 BTA_JvRfcommWrite(arg->write.handle, slot->id, item_size, data); in btc_spp_write()
1113 size_t item_size = 0; in btc_spp_cb_handler() local
1130 … uint8_t *data = xRingbufferReceiveUpTo(slot->ringbuf_write, &item_size, 0, slot->mtu); in btc_spp_cb_handler()
1131 if (item_size > 0) { in btc_spp_cb_handler()
1133 slot->write_data_len = item_size; in btc_spp_cb_handler()
1135 BTA_JvRfcommWrite(p_data->rfc_write.handle, slot->id, item_size, data); in btc_spp_cb_handler()
[all …]
/hal_espressif-3.7.0/components/esp_wifi/esp32s3/
Desp_adapter.c104 wifi_static_queue_t* wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
115 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
120 …queue->handle = xQueueCreateStatic( queue_len, item_size, ((uint8_t*)(queue->storage)) + sizeof(St… in wifi_create_queue()
139 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
159 static void * wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
161 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
249 static void * queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
251 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/components/esp_wifi/esp32c2/
Desp_adapter.c75 wifi_static_queue_t* wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
84 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
96 static void * wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
98 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
198 static void * queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
200 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/components/esp_wifi/esp32c6/
Desp_adapter.c81 wifi_static_queue_t *wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
90 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
102 static void *wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
104 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
204 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
206 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/components/esp_wifi/esp32c3/
Desp_adapter.c78 wifi_static_queue_t* wifi_create_queue( int queue_len, int item_size) in wifi_create_queue() argument
87 queue->handle = xQueueCreate( queue_len, item_size); in wifi_create_queue()
99 static void * wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
101 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
201 static void * queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
203 return (void *)xQueueCreate(queue_len, item_size); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32/src/wifi/
Desp_wifi_adapter.c108 wifi_static_queue_t *wifi_create_queue(int queue_len, int item_size) in wifi_create_queue() argument
118 wifi_msgq_buffer = wifi_malloc(queue_len * item_size); in wifi_create_queue()
131 k_msgq_init((struct k_msgq *)queue->handle, wifi_msgq_buffer, item_size, queue_len); in wifi_create_queue()
144 static void *wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
146 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
299 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
308 k_msgq_init((struct k_msgq *)queue, wifi_msgq_buffer, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32s2/src/wifi/
Desp_wifi_adapter.c104 wifi_static_queue_t *wifi_create_queue(int queue_len, int item_size) in wifi_create_queue() argument
114 wifi_msgq_buffer = wifi_malloc(queue_len * item_size); in wifi_create_queue()
127 k_msgq_init((struct k_msgq *)queue->handle, wifi_msgq_buffer, item_size, queue_len); in wifi_create_queue()
140 static void *wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
142 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
295 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
304 k_msgq_init((struct k_msgq *)queue, wifi_msgq_buffer, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32s3/src/wifi/
Desp_wifi_adapter.c106 wifi_static_queue_t *wifi_create_queue(int queue_len, int item_size) in wifi_create_queue() argument
116 wifi_msgq_buffer = wifi_malloc(queue_len * item_size); in wifi_create_queue()
129 k_msgq_init((struct k_msgq *)queue->handle, wifi_msgq_buffer, item_size, queue_len); in wifi_create_queue()
142 static void *wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
144 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
322 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
331 k_msgq_init((struct k_msgq *)queue, wifi_msgq_buffer, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32c3/src/wifi/
Desp_wifi_adapter.c105 wifi_static_queue_t *wifi_create_queue(int queue_len, int item_size) in wifi_create_queue() argument
115 wifi_msgq_buffer = wifi_malloc(queue_len * item_size); in wifi_create_queue()
128 k_msgq_init((struct k_msgq *)queue->handle, wifi_msgq_buffer, item_size, queue_len); in wifi_create_queue()
141 static void *wifi_create_queue_wrapper(int queue_len, int item_size) in wifi_create_queue_wrapper() argument
143 return wifi_create_queue(queue_len, item_size); in wifi_create_queue_wrapper()
296 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
305 k_msgq_init((struct k_msgq *)queue, wifi_msgq_buffer, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/components/bt/controller/esp32/
Dbt.c135 void *(* _queue_create)(uint32_t queue_len, uint32_t item_size);
177 void *(* _customer_queue_create)(uint32_t queue_len, uint32_t item_size);
265 static void *queue_create_hlevel_wrapper(uint32_t queue_len, uint32_t item_size);
272 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size);
311 static void *customer_queue_create_hlevel_wrapper(uint32_t queue_len, uint32_t item_size);
672 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
680 queue->handle = xQueueCreate( queue_len, item_size); in queue_create_wrapper()
698 static void *queue_create_hlevel_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_hlevel_wrapper() argument
700 btdm_queue_item_t *queue_item = queue_create_wrapper(queue_len, item_size); in queue_create_hlevel_wrapper()
704 hli_queue_handle_t queue = hli_queue_create(queue_len, item_size, downstream_queue); in queue_create_hlevel_wrapper()
[all …]
/hal_espressif-3.7.0/components/esp_wifi/include/esp_private/
Dwifi_os_adapter.h49 void *(* _queue_create)(uint32_t queue_len, uint32_t item_size);
126 void * (* _wifi_create_queue)(int queue_len, int item_size);
/hal_espressif-3.7.0/zephyr/esp32/src/bt/
Desp_bt_adapter.c111 void *(*_queue_create)(uint32_t queue_len, uint32_t item_size);
154 void *(* _customer_queue_create)(uint32_t queue_len, uint32_t item_size);
226 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size);
546 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
555 queue->pool = (uint8_t *)k_malloc(queue_len * item_size * sizeof(uint8_t)); in queue_create_wrapper()
563 k_msgq_init(&queue->queue, queue->pool, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32c3/src/bt/
Desp_bt_adapter.c135 void *(* _queue_create)(uint32_t queue_len, uint32_t item_size);
238 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size);
578 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
587 queue->pool = (uint8_t *)k_malloc(queue_len * item_size * sizeof(uint8_t)); in queue_create_wrapper()
595 k_msgq_init(&queue->queue, queue->pool, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/zephyr/esp32s3/src/bt/
Desp_bt_adapter.c136 void *(* _queue_create)(uint32_t queue_len, uint32_t item_size);
239 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size);
573 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
582 queue->pool = (uint8_t *)k_malloc(queue_len * item_size * sizeof(uint8_t)); in queue_create_wrapper()
590 k_msgq_init(&queue->queue, queue->pool, item_size, queue_len); in queue_create_wrapper()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/l2cap/
Dbtc_l2cap.c1126 ssize_t item_size = 0; in l2cap_vfs_read() local
1157 item_size = -1; in l2cap_vfs_read()
1165 item_size += p_buf->len; in l2cap_vfs_read()
1171 item_size += size; in l2cap_vfs_read()
1177 return item_size; in l2cap_vfs_read()
/hal_espressif-3.7.0/components/bt/controller/esp32c3/
Dbt.c163 void *(* _queue_create)(uint32_t queue_len, uint32_t item_size);
286 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size);
579 static void *queue_create_wrapper(uint32_t queue_len, uint32_t item_size) in queue_create_wrapper() argument
587 queue->handle = xQueueCreate( queue_len, item_size); in queue_create_wrapper()