/sof-2.7.6/src/include/sof/lib/ |
D | alloc.h | 84 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes); 92 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes); 102 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, 108 static inline void *rballoc(uint32_t flags, uint32_t caps, size_t bytes) in rballoc() argument 110 return rballoc_align(flags, caps, bytes, PLATFORM_DCACHE_ALIGN); in rballoc() 123 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes, 130 static inline void *rbrealloc(void *ptr, uint32_t flags, uint32_t caps, in rbrealloc() argument 133 return rbrealloc_align(ptr, flags, caps, bytes, old_bytes, in rbrealloc()
|
/sof-2.7.6/src/lib/ |
D | alloc.c | 144 static void *rmalloc_sys(struct mm_heap *heap, uint32_t flags, int caps, size_t bytes) in rmalloc_sys() argument 149 if ((heap->caps & caps) != caps) in rmalloc_sys() 228 uint32_t caps, uint32_t alignment) in alloc_block() argument 235 uint32_t caps, size_t bytes, uint32_t alignment) in alloc_cont_blocks() argument 389 uint32_t caps) in get_heap_from_caps() argument 396 mask = heap[i].caps & caps; in get_heap_from_caps() 397 if (mask == caps) in get_heap_from_caps() 405 uint32_t caps, size_t bytes, uint32_t alignment) in get_ptr_from_heap() argument 440 ptr = alloc_block(heap, i, caps, alignment); in get_ptr_from_heap() 559 heap->size, heap->blocks, heap->caps); in trace_heap_blocks() [all …]
|
/sof-2.7.6/src/platform/library/lib/ |
D | alloc.c | 19 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rmalloc() argument 24 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rzalloc() argument 34 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument 40 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes, in rbrealloc_align() argument
|
D | memory.c | 137 sof->memory_map->system[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 149 sof->memory_map->system_runtime[0].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 161 sof->memory_map->system[i].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 176 sof->memory_map->system_runtime[i].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 189 sof->memory_map->runtime_shared[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 197 sof->memory_map->system_shared[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 208 sof->memory_map->runtime[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 217 sof->memory_map->buffer[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_HP | in platform_init_memmap() 226 sof->memory_map->buffer[1].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_LP | in platform_init_memmap()
|
/sof-2.7.6/src/platform/intel/cavs/lib/ |
D | dma.c | 113 .caps = DMA_CAP_GP_LP, 128 .caps = DMA_CAP_GP_LP, 143 .caps = DMA_CAP_GP_LP, 162 .caps = DMA_CAP_GP_LP, 178 .caps = DMA_CAP_GP_LP, 193 .caps = DMA_CAP_HDA, 205 .caps = DMA_CAP_HDA, 217 .caps = DMA_CAP_HDA, 229 .caps = DMA_CAP_HDA,
|
D | memory.c | 142 sof->memory_map->system[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 154 sof->memory_map->system_runtime[0].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 166 sof->memory_map->system[i].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 181 sof->memory_map->system_runtime[i].caps = SOF_MEM_CAPS_RAM | in platform_init_memmap() 194 sof->memory_map->runtime_shared[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 201 sof->memory_map->system_shared[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 212 sof->memory_map->runtime[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_EXT | in platform_init_memmap() 221 sof->memory_map->buffer[0].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_HP | in platform_init_memmap() 230 sof->memory_map->buffer[1].caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_LP | in platform_init_memmap()
|
/sof-2.7.6/tools/topology/topology2/include/pipelines/ |
D | volume-demux-playback.conf | 49 caps "host" 63 caps "comp" 75 caps "comp"
|
D | eq-iir-volume-capture.conf | 49 caps "host" 66 caps "host" 76 caps "dai"
|
D | volume-playback.conf | 53 caps "host" 66 caps "dai"
|
D | volume-capture.conf | 53 caps "host" 71 caps "dai"
|
/sof-2.7.6/src/audio/ |
D | buffer.c | 27 struct comp_buffer *buffer_alloc(uint32_t size, uint32_t caps, uint32_t align) in buffer_alloc() argument 56 buffer->stream.addr = rballoc_align(0, caps, size, align); in buffer_alloc() 60 size, caps); in buffer_alloc() 64 buffer_init(buffer, size, caps); in buffer_alloc() 78 if (buffer->caps & SOF_MEM_CAPS_DMA) in buffer_zero() 97 buffer->caps, size, buffer->stream.size); in buffer_set_size() 102 buffer->stream.size, buffer->caps); in buffer_set_size() 110 buffer_init(buffer, size, buffer->caps); in buffer_set_size()
|
/sof-2.7.6/src/platform/haswell/lib/ |
D | memory.c | 58 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 67 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 76 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 85 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE |
|
D | dma.c | 93 .caps = DMA_CAP_GP_HP | DMA_CAP_GP_LP, 108 .caps = DMA_CAP_GP_HP | DMA_CAP_GP_LP,
|
/sof-2.7.6/src/platform/baytrail/lib/ |
D | memory.c | 58 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 67 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 76 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 85 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE |
|
D | dma.c | 129 .caps = DMA_CAP_GP_HP, 144 .caps = DMA_CAP_GP_HP, 160 .caps = DMA_CAP_GP_HP,
|
/sof-2.7.6/src/platform/imx8m/lib/ |
D | memory.c | 63 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 72 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 81 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 90 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE |
|
/sof-2.7.6/src/platform/imx8ulp/lib/ |
D | memory.c | 62 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 71 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 80 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 89 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE |
|
/sof-2.7.6/src/platform/imx8/lib/ |
D | memory.c | 61 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 70 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 79 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE | 88 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_CACHE |
|
/sof-2.7.6/src/platform/amd/renoir/lib/ |
D | memory.c | 61 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_DMA, 69 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_DMA, 77 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_DMA, 85 .caps = SOF_MEM_CAPS_RAM | SOF_MEM_CAPS_DMA | SOF_MEM_CAPS_CACHE | SOF_MEM_CAPS_HP,
|
D | dma.c | 43 .caps = DMA_CAP_DMIC, 56 .caps = DMA_CAP_SP, 70 .caps = DMA_CAP_BT,
|
/sof-2.7.6/src/include/sof/audio/ |
D | buffer.h | 96 uint32_t caps; member 156 struct comp_buffer *buffer_alloc(uint32_t size, uint32_t caps, uint32_t align); 252 uint32_t caps) in buffer_init() argument 254 buffer->caps = caps; in buffer_init()
|
/sof-2.7.6/test/cmocka/src/ |
D | common_mocks.c | 40 void WEAK *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument 44 (void)caps; in rballoc_align() 49 void WEAK *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, in rzalloc() argument 54 (void)caps; in rzalloc() 59 void WEAK *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, in rbrealloc_align() argument 63 (void)caps; in rbrealloc_align()
|
/sof-2.7.6/src/include/user/ |
D | kpb.h | 16 uint32_t caps; /**< SOF_MEM_CAPS_ */ member
|
/sof-2.7.6/zephyr/ |
D | wrapper.c | 171 void *rmalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rmalloc() argument 184 void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes, in rbrealloc_align() argument 191 return rballoc_align(flags, caps, bytes, alignment); in rbrealloc_align() 201 new_ptr = rballoc_align(flags, caps, bytes, alignment); in rbrealloc_align() 223 void *rzalloc(enum mem_zone zone, uint32_t flags, uint32_t caps, size_t bytes) in rzalloc() argument 225 void *ptr = rmalloc(zone, flags, caps, bytes); in rzalloc() 240 void *rballoc_align(uint32_t flags, uint32_t caps, size_t bytes, in rballoc_align() argument
|
/sof-2.7.6/src/drivers/intel/haswell/ |
D | ipc.c | 151 uint32_t imrd, dir, caps, dev; in platform_ipc_init() local 172 caps = 0; in platform_ipc_init() 175 iipc->dh_buffer.dmac = dma_get(dir, caps, dev, DMA_ACCESS_SHARED); in platform_ipc_init()
|