Searched refs:mem_size (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/util/ |
D | mem.c | 15 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, in mem_init() argument 28 (void)memset(((uint8_t *)mem_pool + (mem_size * (--mem_count))), 0, in mem_init() 34 (mem_size * (mem_count + 1))); in mem_init() 35 memcpy(((uint8_t *)mem_pool + (mem_size * mem_count)), in mem_init() 100 void *mem_get(const void *mem_pool, uint16_t mem_size, uint16_t index) in mem_get() argument 102 return ((void *)((uint8_t *)mem_pool + (mem_size * index))); in mem_get() 105 uint16_t mem_index_get(const void *mem, const void *mem_pool, uint16_t mem_size) in mem_index_get() argument 107 return ((uint8_t *)mem - (uint8_t *)mem_pool) / mem_size; in mem_index_get()
|
D | mem.h | 56 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, void **mem_head); 61 void *mem_get(const void *mem_pool, uint16_t mem_size, uint16_t index); 62 uint16_t mem_index_get(const void *mem, const void *mem_pool, uint16_t mem_size);
|
/Zephyr-Core-3.5.0/drivers/mm/ |
D | mm_drv_intel_adsp_regions.c | 23 static inline void append_region(void *address, uint32_t mem_size, in append_region() argument 27 virtual_memory_regions[position].size = mem_size; in append_region() 29 total_size += mem_size; in append_region()
|
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.h | 155 static inline unsigned int optimal_num_desc(size_t mem_size, unsigned int buf_size) in optimal_num_desc() argument 160 available = mem_size - VDEV_STATUS_SIZE; in optimal_num_desc()
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_w5500.c | 114 const uint16_t mem_size = W5500_RX_MEM_SIZE; in w5500_readbuf() local 116 offset %= mem_size; in w5500_readbuf() 119 if (offset + len > mem_size) { in w5500_readbuf() 120 remain = (offset + len) % mem_size; in w5500_readbuf() 121 len = mem_size - offset; in w5500_readbuf() 139 const uint32_t mem_size = W5500_TX_MEM_SIZE; in w5500_writebuf() local 141 offset %= mem_size; in w5500_writebuf() 144 if (offset + len > mem_size) { in w5500_writebuf() 145 remain = (offset + len) % mem_size; in w5500_writebuf() 146 len = mem_size - offset; in w5500_writebuf()
|
/Zephyr-Core-3.5.0/include/zephyr/llext/ |
D | llext.h | 54 size_t mem_size; member
|
/Zephyr-Core-3.5.0/subsys/llext/ |
D | shell.c | 90 shell_print(sh, "| %16s | %12d |\n", ext->name, ext->mem_size); in cmd_llext_list()
|
/Zephyr-Core-3.5.0/arch/x86/ |
D | gen_mmu.py | 457 mem_size = mem_end - mem_start 459 self.reserve(mem_start, mem_size, to_level)
|