/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_dppi.h | 49 /** @brief Function for freeing all allocated channels and groups. */ 56 * @param[out] p_channel Pointer to the DPPI channel number that has been allocated. 58 * @retval NRFX_SUCCESS If the channel was successfully allocated. 70 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated. 80 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated. 90 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated. 98 * @param[out] p_group Pointer to the DPPI channel group that has been allocated. 100 * @retval NRFX_SUCCESS If the channel group was successfully allocated. 112 * @retval NRFX_ERROR_INVALID_PARAM If the specified group is not allocated. 123 * @retval NRFX_ERROR_INVALID_PARAM If the specified group or channel is not allocated. [all …]
|
H A D | nrfx_ppi.h | 78 * @param[out] p_channel Pointer to the PPI channel that has been allocated. 80 * @retval NRFX_SUCCESS If the channel was successfully allocated. 104 * @retval NRFX_ERROR_INVALID_STATE If the channel is not allocated for the user. 116 * @retval NRFX_ERROR_INVALID_STATE If the channel is not allocated for the user. 127 * @retval NRFX_ERROR_INVALID_STATE If the user-configurable channel is not allocated. 138 * @retval NRFX_ERROR_INVALID_STATE If the user-configurable channel is not allocated. 147 * @param[out] p_group Pointer to the PPI channel group that has been allocated. 149 * @retval NRFX_SUCCESS If the channel group was successfully allocated. 186 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. 200 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group. [all …]
|
H A D | nrfx_swi.h | 85 * If provided handler is not NULL, an allocated SWI has its interrupt enabled by default. 88 * @param[out] p_swi Points to a place where the allocated SWI instance 96 * @retval NRFX_SUCCESS If the SWI was successfully allocated. 104 * @brief Function for disabling an allocated SWI interrupt. 113 * @brief Function for enabling an allocated SWI interrupt. 120 * @brief Function for freeing a previously allocated SWI. 127 /** @brief Function for freeing all allocated SWIs. */ 140 * @brief Function for checking if the specified SWI is currently allocated. 144 * @retval true If the SWI instance is allocated.
|
H A D | nrfx_wdt.h | 106 … @note After calling this function the watchdog is started, so the user needs to feed all allocated 107 * watchdog channels to avoid reset. At least one watchdog channel has to be allocated. 114 * @details Function feeds all allocated watchdog channels.
|
/nrf52832-nimble/nordic/nrfx/drivers/src/ |
H A D | nrfx_ppi.c | 42 …ted; /**< Bitmap representing channels availability. 1 when a channel is allocated, 0 otherwise. */ 43 …ocated; /**< Bitmap representing groups availability. 1 when a group is allocated, 0 otherwise.*/ 118 * @brief Check whether a channel is allocated. 122 * @retval true The channel is allocated. 123 * @retval false The channel is not allocated. 132 * @brief Set channel allocated indication. 134 * @param[in] channel_num Specifies the channel to set the "allocated" indication. 143 * @brief Clear channel allocated indication. 145 * @param[in] channel_num Specifies the channel to clear the "allocated" indication. 154 * @brief Clear all allocated channels. [all …]
|
H A D | nrfx_dppi.c | 93 // Clear all allocated channels. in nrfx_dppi_free() 96 // Clear all allocated groups. in nrfx_dppi_free() 125 NRFX_LOG_INFO("Allocated channel: %d.", channel); in nrfx_dppi_channel_alloc() 141 // Clear channel allocated indication. in nrfx_dppi_channel_free() 206 NRFX_LOG_INFO("Allocated channel: %d.", group); in nrfx_dppi_group_alloc()
|
H A D | nrfx_swi.c | 224 bool allocated = false; in nrfx_swi_alloc() local 229 allocated = true; in nrfx_swi_alloc() 233 if (allocated) in nrfx_swi_alloc() 238 NRFX_LOG_INFO("SWI channel allocated: %d.", (*p_swi)); in nrfx_swi_alloc()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | pbuf.c | 178 * The actual memory allocated for the pbuf is determined by the 179 * layer at which the pbuf is allocated and the requested size 185 * should be allocated as follows: 187 * - PBUF_RAM: buffer memory for pbuf is allocated as one large 189 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for 196 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for 200 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from 201 * the pbuf pool that is allocated during pbuf_init(). 203 * @return the allocated pbuf. If multiple pbufs where allocated, this 240 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc: allocated pbuf %p\n", (void *)p)); in pbuf_alloc() [all …]
|
H A D | mem.c | 76 * @return a pointer to the allocated memory or NULL if the pool is empty 123 * Free memory previously allocated by mem_malloc. Loads the pool number 165 /** All allocated blocks will be MIN_SIZE bytes big, at least! 361 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked 377 /* Expand the size of the allocated memory region so that we can in mem_trim() 489 * @return pointer to allocated memory or NULL if no free memory was found. 507 /* Expand the size of the allocated memory region so that we can in mem_malloc() 614 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc() 616 LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", in mem_malloc() 638 * of memory each and returns a pointer to the allocated memory. [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | os_mbuf.h | 98 * The mbuf pool this mbuf was allocated out of 202 * for the additional space allocated to the packet header. 286 * a mbuf is allocated out of msys, it will try and find the best fit based 305 * @return A freshly allocated mbuf on success, NULL on failure. 321 * @return A freshly allocated mbuf on success, NULL on failure. 326 * Count the number of blocks in all the mbuf pools that are allocated. 328 * @return total number of blocks allocated in Msys 353 * Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized 370 * @return A freshly allocated mbuf on success, NULL on failure. 518 * is insufficient room in the leading mbuf, additional mbufs are allocated and [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | pbuf.c | 219 * The actual memory allocated for the pbuf is determined by the 220 * layer at which the pbuf is allocated and the requested size 226 * should be allocated as follows: 228 * - PBUF_RAM: buffer memory for pbuf is allocated as one large 230 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for 237 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for 241 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from 242 * the pbuf pool that is allocated during pbuf_init(). 244 * @return the allocated pbuf. If multiple pbufs where allocated, this 286 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc: allocated pbuf %p\n", (void *)p)); in pbuf_alloc() [all …]
|
H A D | mem.c | 117 * @return pointer to allocated memory or NULL if no free memory was found. 163 * @return a pointer to the allocated memory or NULL if the pool is empty 216 * Free memory previously allocated by mem_malloc. Loads the pool number 273 /** All allocated blocks will be MIN_SIZE bytes big, at least! 470 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked 486 /* Expand the size of the allocated memory region so that we can in mem_trim() 598 * @return pointer to allocated memory or NULL if no free memory was found. 616 /* Expand the size of the allocated memory region so that we can in mem_malloc() 723 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc() 725 LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", in mem_malloc() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | pbuf.c | 195 * The actual memory allocated for the pbuf is determined by the 196 * layer at which the pbuf is allocated and the requested size 202 * should be allocated as follows: 204 * - PBUF_RAM: buffer memory for pbuf is allocated as one large 206 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for 213 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for 217 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from 218 * the pbuf pool that is allocated during pbuf_init(). 220 * @return the allocated pbuf. If multiple pbufs where allocated, this 246 /* free chain so far allocated */ in pbuf_alloc() [all …]
|
H A D | mem.c | 92 * @param size allocated size of the element 202 * @return pointer to allocated memory or NULL if no free memory was found. 248 * @return a pointer to the allocated memory or NULL if the pool is empty 301 * Free memory previously allocated by mem_malloc. Loads the pool number 362 /** All allocated blocks will be MIN_SIZE bytes big, at least! 691 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked 707 /* Expand the size of the allocated memory region so that we can in mem_trim() 826 * @return pointer to allocated memory or NULL if no free memory was found. 844 /* Expand the size of the allocated memory region so that we can in mem_malloc() 953 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc() [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | slab.c | 78 * block is allocated from heap memory. 216 rt_uint32_t size: 30; /* pages allocated or offset from zone */ 474 * @param size the size of memory to be allocated 476 * @return the allocated memory 671 * This function will change the size of previously allocated memory block. 673 * @param ptr the previously allocated memory block 676 * @return the allocated memory 740 * that are size bytes of memory each and returns a pointer to the allocated 743 * The allocated memory is filled with bytes of value zero. 748 * @return pointer to allocated memory / NULL pointer if there is an error [all …]
|
H A D | mem.c | 71 * block is allocated from heap memory. 270 * @return pointer to allocated memory or NULL if no free memory was found. 414 * This function will change the previously allocated memory block. 416 * @param rmem pointer to memory allocated by rt_malloc 515 * that are size bytes of memory each and returns a pointer to the allocated 518 * The allocated memory is filled with bytes of value zero. 523 * @return pointer to allocated memory / NULL pointer if there is an error 541 * This function will release the previously allocated memory block by 632 rt_kprintf("maximum allocated memory: %d\n", max_mem); in list_mem()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/ |
H A D | netbuf.c | 82 * Deallocate a netbuf allocated by netbuf_new(). 84 * @param buf pointer to a netbuf allocated by netbuf_new() 103 * @return pointer to the allocated memory 104 * NULL if no memory could be allocated 111 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/ |
H A D | netbuf.c | 76 * Deallocate a netbuf allocated by netbuf_new(). 78 * @param buf pointer to a netbuf allocated by netbuf_new() 98 * @return pointer to the allocated memory 99 * NULL if no memory could be allocated 106 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/ |
H A D | netbuf.c | 76 * Deallocate a netbuf allocated by netbuf_new(). 78 * @param buf pointer to a netbuf allocated by netbuf_new() 98 * @return pointer to the allocated memory 99 * NULL if no memory could be allocated 106 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/ |
H A D | ble_hci_trans.h | 73 * allocated via ble_hci_trans_buf_alloc(). 94 * allocated via ble_hci_trans_buf_alloc(). 117 * @return The allocated buffer on success; 123 * Frees the specified flat buffer. The buffer must have been allocated via
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/ |
H A D | syscfg.yml | 132 # The number of slots that will be allocated to each connection 135 This is the number of "slots" allocated to a connection when scheduling 137 last longer than the number of slots allocated here and may also end earlier 165 The number of additional periods that will be allocated for strict 166 scheduling. The total # of periods allocated for strict scheduling
|
/nrf52832-nimble/rt-thread/examples/libc/ |
H A D | ex4.c | 33 /* "Once" variable ensuring that the key for str_alloc will be allocated 47 /* Make sure the key is allocated */ in str_accumulate() 70 printf("Thread %lx: allocated key %d\n", pthread_self(), str_key); in str_alloc_key()
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/src/ |
H A D | ble_hci_socket.c | 93 * The "skip" definitions are here so that when buffers cannot be allocated, 133 * The "skip" definitions are here so that when buffers cannot be allocated, 213 * @return The allocated buffer on success; 573 * allocated via ble_hci_trans_buf_alloc(). 602 * allocated via ble_hci_trans_buf_alloc(). 684 * @return The allocated buffer on success; 719 * Frees the specified flat buffer. The buffer must have been allocated via
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/uart/src/ |
H A D | ble_hci_uart.c | 50 * The "skip" definitions are here so that when buffers cannot be allocated, 65 * The "skip" definitions are here so that when buffers cannot be allocated, 187 * @return The allocated buffer on success; 440 * buffer *shall* be allocated from ble_hci_uart_evt_hi_pool in ble_hci_uart_rx_pkt_type() 441 * or "may* be allocated from ble_hci_uart_evt_lo_pool. in ble_hci_uart_rx_pkt_type() 870 * allocated via ble_hci_trans_buf_alloc(). 905 * allocated via ble_hci_trans_buf_alloc(). 987 * @return The allocated buffer on success; 1022 * Frees the specified flat buffer. The buffer must have been allocated via
|
/nrf52832-nimble/rt-thread/documentation/doxygen/ |
H A D | kernel.h | 67 * Kernel objects can be static objects, whose memory is allocated in compiling. 68 * It can be dynamic objects as well, whose memory is allocated from system heaps 107 * the memory pool is empty, the allocated thread can be blocked (or immediately return,
|