Home
last modified time | relevance | path

Searched refs:heap_caps_calloc (Results 1 – 25 of 58) sorted by relevance

123

/hal_espressif-3.4.0/components/mbedtls/port/
Desp_mem.c25 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT);
27 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT);
36 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT);
/hal_espressif-3.4.0/components/bt/host/nimble/port/src/
Desp_nimble_mem.c43 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in nimble_platform_mem_calloc()
45 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in nimble_platform_mem_calloc()
/hal_espressif-3.4.0/components/driver/
Dtwai.c341 twai_obj_t *p_obj = heap_caps_calloc(1, sizeof(twai_obj_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
348 … p_obj->tx_queue_buff = heap_caps_calloc(tx_queue_len, sizeof(twai_hal_frame_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
349 p_obj->tx_queue_struct = heap_caps_calloc(1, sizeof(StaticQueue_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
354 … p_obj->rx_queue_buff = heap_caps_calloc(rx_queue_len, sizeof(twai_hal_frame_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
355 p_obj->rx_queue_struct = heap_caps_calloc(1, sizeof(StaticQueue_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
356 p_obj->semphr_struct = heap_caps_calloc(1, sizeof(StaticSemaphore_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
Duart.c1459 uart_obj_t *uart_obj = heap_caps_calloc(1, sizeof(uart_obj_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1465 …uart_obj->event_queue_storage = heap_caps_calloc(event_queue_size, sizeof(uart_event_t), UART_MALL… in uart_alloc_driver_obj()
1466 uart_obj->event_queue_struct = heap_caps_calloc(1, sizeof(StaticQueue_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1472 uart_obj->tx_ring_buf_storage = heap_caps_calloc(1, tx_buffer_size, UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1473 … uart_obj->tx_ring_buf_struct = heap_caps_calloc(1, sizeof(StaticRingbuffer_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1478 uart_obj->rx_ring_buf_storage = heap_caps_calloc(1, rx_buffer_size, UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1479 … uart_obj->rx_ring_buf_struct = heap_caps_calloc(1, sizeof(StaticRingbuffer_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1480 uart_obj->rx_mux_struct = heap_caps_calloc(1, sizeof(StaticSemaphore_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1481 uart_obj->tx_mux_struct = heap_caps_calloc(1, sizeof(StaticSemaphore_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
1482 uart_obj->tx_brk_sem_struct = heap_caps_calloc(1, sizeof(StaticSemaphore_t), UART_MALLOC_CAPS); in uart_alloc_driver_obj()
[all …]
Dgdma.c143 alloc_tx_channel = heap_caps_calloc(1, sizeof(gdma_tx_channel_t), GDMA_MEM_ALLOC_CAPS); in gdma_new_channel()
147 alloc_rx_channel = heap_caps_calloc(1, sizeof(gdma_rx_channel_t), GDMA_MEM_ALLOC_CAPS); in gdma_new_channel()
554 gdma_group_t *pre_alloc_group = heap_caps_calloc(1, sizeof(gdma_group_t), GDMA_MEM_ALLOC_CAPS); in gdma_acquire_group_handle()
618 gdma_pair_t *pre_alloc_pair = heap_caps_calloc(1, sizeof(gdma_pair_t), GDMA_MEM_ALLOC_CAPS); in gdma_acquire_pair_handle()
Dsigmadelta.c81 …p_sigmadelta_obj[sigmadelta_port] = (sigmadelta_obj_t *) heap_caps_calloc(1, sizeof(sigmadelta_obj… in sigmadelta_init()
Dusb_serial_jtag.c100 …p_usb_serial_jtag_obj = (usb_serial_jtag_obj_t*) heap_caps_calloc(1, sizeof(usb_serial_jtag_obj_t)… in usb_serial_jtag_driver_install()
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/append_mode/master/main/
Dapp_main.c70 uint8_t *recv_buf = heap_caps_calloc(1, TRANSACTION_LEN, MALLOC_CAP_DMA); in receiver()
106 uint8_t *send_buf = heap_caps_calloc(1, TRANSACTION_LEN, MALLOC_CAP_DMA); in sender()
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/segment_mode/seg_master/main/
Dapp_main.c213 uint8_t *recv_buf = heap_caps_calloc(1, rx_buf_size, MALLOC_CAP_DMA); in app_main()
218 uint8_t *send_buf = heap_caps_calloc(1, slave_max_rx_buf_size, MALLOC_CAP_DMA); in app_main()
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/main/
Dapp_main.c169 send_buf[i] = heap_caps_calloc(1, send_buf_size, MALLOC_CAP_DMA); in sender()
239 recv_buf[i] = heap_caps_calloc(1, recv_buf_size, MALLOC_CAP_DMA); in receiver()
/hal_espressif-3.4.0/components/esp_system/test/
Dtest_reset_reason.c339 …StackType_t *stack_for_task = (StackType_t *) heap_caps_calloc(1, size_stack, MALLOC_CAP_SPIRAM | … in init_restart_task()
348 …StackType_t *stack_for_task = (StackType_t *) heap_caps_calloc(1, size_stack, MALLOC_CAP_SPIRAM | … in init_task_do_exception()
/hal_espressif-3.4.0/components/esp_hw_support/test/
Dtest_async_memcpy.c56 dst_buf = heap_caps_calloc(1, buffer_size, MALLOC_CAP_SPIRAM); in async_memcpy_setup_testbench()
58 …dst_buf = heap_caps_calloc(1, buffer_size, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL); in async_memcpy_setup_testbench()
62 …dst_buf = heap_caps_calloc(1, buffer_size, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL); in async_memcpy_setup_testbench()
/hal_espressif-3.4.0/components/usb/
Dusb_private.c13 …urb_t *urb = heap_caps_calloc(1, sizeof(urb_t) + (sizeof(usb_isoc_packet_desc_t) * num_isoc_packet… in urb_alloc()
Dusb_host.c368 host_lib_t *host_lib_obj = heap_caps_calloc(1, sizeof(host_lib_t), MALLOC_CAP_DEFAULT); in usb_host_install()
625 client_t *client_obj = heap_caps_calloc(1, sizeof(client_t), MALLOC_CAP_DEFAULT); in usb_host_client_register()
920 endpoint_t *ep_obj = heap_caps_calloc(1, sizeof(endpoint_t), MALLOC_CAP_DEFAULT); in endpoint_alloc()
963 …interface_t *intf_obj = heap_caps_calloc(1, sizeof(interface_t) + (sizeof(endpoint_t *) * intf_des… in interface_alloc()
/hal_espressif-3.4.0/components/esp_eth/src/
Desp_eth_mac_esp.c468 emac = heap_caps_calloc(1, sizeof(emac_esp32_t), MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT); in esp_emac_alloc_driver_obj()
476 descriptors = heap_caps_calloc(1, desc_size, MALLOC_CAP_DMA); in esp_emac_alloc_driver_obj()
480 emac->rx_buf[i] = heap_caps_calloc(1, CONFIG_ETH_DMA_BUFFER_SIZE, MALLOC_CAP_DMA); in esp_emac_alloc_driver_obj()
484 emac->tx_buf[i] = heap_caps_calloc(1, CONFIG_ETH_DMA_BUFFER_SIZE, MALLOC_CAP_DMA); in esp_emac_alloc_driver_obj()
Desp_eth_mac_openeth.c362 emac->rx_buf[i] = heap_caps_calloc(1, DMA_BUF_SIZE, MALLOC_CAP_DMA); in esp_eth_mac_new_openeth()
372 emac->tx_buf[i] = heap_caps_calloc(1, DMA_BUF_SIZE, MALLOC_CAP_DMA); in esp_eth_mac_new_openeth()
/hal_espressif-3.4.0/components/esp_wifi/esp32/
Desp_adapter.c127 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
489 return heap_caps_calloc(n, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in calloc_internal_wrapper()
494 void *ptr = heap_caps_calloc(1, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in zalloc_internal_wrapper()
/hal_espressif-3.4.0/components/esp_wifi/esp32s2/
Desp_adapter.c109 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
479 return heap_caps_calloc(n, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in calloc_internal_wrapper()
484 void *ptr = heap_caps_calloc(1, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in zalloc_internal_wrapper()
/hal_espressif-3.4.0/components/esp_wifi/esp32s3/
Desp_adapter.c117 …queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INT… in wifi_create_queue()
504 return heap_caps_calloc(n, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in calloc_internal_wrapper()
509 void *ptr = heap_caps_calloc(1, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in zalloc_internal_wrapper()
/hal_espressif-3.4.0/components/heap/include/
Desp_heap_caps.h156 void *heap_caps_calloc(size_t n, size_t size, uint32_t caps);
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_common/
Dmesh_common.c32 return heap_caps_calloc(1, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_calloc()
/hal_espressif-3.4.0/components/driver/test/
Dtest_spi_slave.c294 uint8_t *master_recv_buf = heap_caps_calloc(BUF_SIZE, 1, MALLOC_CAP_DMA); in unaligned_test_master()
342 uint8_t *slave_recv_buf = heap_caps_calloc(BUF_SIZE, 1, MALLOC_CAP_DMA); in unaligned_test_slave()
/hal_espressif-3.4.0/components/heap/
Dheap_caps.c299 r = heap_caps_calloc( n, size, caps ); in heap_caps_calloc_prefer()
432 IRAM_ATTR void *heap_caps_calloc( size_t n, size_t size, uint32_t caps) in heap_caps_calloc() function
/hal_espressif-3.4.0/components/esp_wifi/esp32c3/
Desp_adapter.c450 return heap_caps_calloc(n, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in calloc_internal_wrapper()
455 void *ptr = heap_caps_calloc(1, size, MALLOC_CAP_8BIT|MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL); in zalloc_internal_wrapper()
/hal_espressif-3.4.0/examples/peripherals/spi_slave_hd/append_mode/slave/main/
Dapp_main.c74 data_buf[i] = heap_caps_calloc(1, TRANSACTION_LEN, MALLOC_CAP_DMA); in create_transaction_pool()

123