Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 25 of 39) sorted by relevance

12

/sof-2.7.6/src/include/sof/lib/
Dalloc.h84 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/
Dalloc.c144 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/
Dalloc.c19 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
Dmemory.c137 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/
Ddma.c113 .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,
Dmemory.c142 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/
Dvolume-demux-playback.conf49 caps "host"
63 caps "comp"
75 caps "comp"
Deq-iir-volume-capture.conf49 caps "host"
66 caps "host"
76 caps "dai"
Dvolume-playback.conf53 caps "host"
66 caps "dai"
Dvolume-capture.conf53 caps "host"
71 caps "dai"
/sof-2.7.6/src/audio/
Dbuffer.c27 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/
Dmemory.c58 .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 |
Ddma.c93 .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/
Dmemory.c58 .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 |
Ddma.c129 .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/
Dmemory.c63 .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/
Dmemory.c62 .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/
Dmemory.c61 .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/
Dmemory.c61 .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,
Ddma.c43 .caps = DMA_CAP_DMIC,
56 .caps = DMA_CAP_SP,
70 .caps = DMA_CAP_BT,
/sof-2.7.6/src/include/sof/audio/
Dbuffer.h96 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/
Dcommon_mocks.c40 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/
Dkpb.h16 uint32_t caps; /**< SOF_MEM_CAPS_ */ member
/sof-2.7.6/zephyr/
Dwrapper.c171 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/
Dipc.c151 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()

12