Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 41) sorted by relevance

12

/sof-3.4.0/src/audio/
Dbuffer.c32 struct comp_buffer *buffer; in buffer_alloc() local
85 void buffer_zero(struct comp_buffer __sparse_cache *buffer) in buffer_zero()
95 int buffer_set_size(struct comp_buffer __sparse_cache *buffer, uint32_t size) in buffer_set_size()
127 int buffer_set_params(struct comp_buffer __sparse_cache *buffer, in buffer_set_params()
156 bool buffer_params_match(struct comp_buffer __sparse_cache *buffer, in buffer_params_match()
177 void buffer_free(struct comp_buffer *buffer) in buffer_free()
210 void comp_update_buffer_produce(struct comp_buffer __sparse_cache *buffer, uint32_t bytes) in comp_update_buffer_produce()
243 void comp_update_buffer_consume(struct comp_buffer __sparse_cache *buffer, uint32_t bytes) in comp_update_buffer_consume()
274 void buffer_attach(struct comp_buffer *buffer, struct list_item *head, int dir) in buffer_attach()
295 void buffer_detach(struct comp_buffer *buffer, struct list_item *head, int dir) in buffer_detach()
Dhost-zephyr.c115 struct comp_buffer *buffer = hd->local_buffer; in host_get_copy_bytes_one_shot() local
181 struct comp_buffer *buffer = hd->local_buffer; in host_get_copy_bytes_one_shot() local
392 struct comp_buffer *buffer = hd->local_buffer; in host_get_copy_bytes_normal() local
/sof-3.4.0/test/cmocka/src/
Dutil.h26 struct comp_buffer *buffer = buffer_new(&desc); in create_test_sink() local
43 static inline void free_test_sink(struct comp_buffer *buffer) in free_test_sink()
61 struct comp_buffer *buffer = buffer_new(&desc); in create_test_source() local
78 static inline void free_test_source(struct comp_buffer *buffer) in free_test_source()
/sof-3.4.0/src/include/sof/audio/
Daudio_stream.h98 #define audio_stream_read_frag(buffer, idx, size) \ argument
109 #define audio_stream_read_frag_s16(buffer, idx) \ argument
120 #define audio_stream_read_frag_s32(buffer, idx) \ argument
141 #define audio_stream_write_frag(buffer, idx, size) \ argument
152 #define audio_stream_write_frag_s16(buffer, idx) \ argument
163 #define audio_stream_write_frag_s32(buffer, idx) \ argument
176 #define audio_stream_get_frag(buffer, ptr, idx, sample_size) \ argument
185 static inline int audio_stream_set_params(struct audio_stream __sparse_cache *buffer, in audio_stream_set_params()
280 static inline void *audio_stream_wrap(const struct audio_stream __sparse_cache *buffer, in audio_stream_wrap()
299 static inline void *audio_stream_rewind_wrap(const struct audio_stream __sparse_cache *buffer, in audio_stream_rewind_wrap()
[all …]
Dbuffer.h166 struct comp_buffer __sparse_cache *buffer; member
172 struct comp_buffer *buffer; member
175 #define buffer_comp_list(buffer, dir) \ argument
184 #define buffer_set_cb(buffer, func, data, type) \ argument
210 static inline void buffer_stream_invalidate(struct comp_buffer __sparse_cache *buffer, in buffer_stream_invalidate()
219 static inline void buffer_stream_writeback(struct comp_buffer __sparse_cache *buffer, in buffer_stream_writeback()
229 struct comp_buffer *buffer) in buffer_acquire()
236 static inline void buffer_release(struct comp_buffer __sparse_cache *buffer) in buffer_release()
257 static inline struct comp_dev *buffer_get_comp(struct comp_buffer *buffer, int dir) in buffer_get_comp()
266 static inline void buffer_reset_pos(struct comp_buffer __sparse_cache *buffer, void *data) in buffer_reset_pos()
[all …]
/sof-3.4.0/tools/tplg_parser/
Dbuffer.c48 struct sof_ipc_buffer *buffer = _buffer; in buffer_ipc3_build() local
71 static int buffer_ipc4_build(struct tplg_context *ctx, void *buffer) in buffer_ipc4_build()
83 int tplg_new_buffer(struct tplg_context *ctx, void *buffer, size_t buffer_size, in tplg_new_buffer()
/sof-3.4.0/src/ipc/
Dipc-helper.c41 struct comp_buffer *buffer; in buffer_new() local
87 struct comp_buffer __sparse_cache *buffer) in comp_update_params()
178 struct comp_buffer *buffer, uint32_t dir) in comp_buffer_connect()
295 struct comp_buffer *buffer = container_of(clist, struct comp_buffer, sink_list); in ipc_comp_free() local
308 struct comp_buffer *buffer = container_of(clist, struct comp_buffer, source_list); in ipc_comp_free() local
Dipc-common.c107 struct comp_buffer *buffer; in ipc_get_ppl_comp() local
/sof-3.4.0/src/trace/
Ddma-trace.c61 struct dma_trace_buf *buffer = &d->dmatb; in trace_work() local
239 struct dma_trace_buf *buffer = &d->dmatb; in dma_trace_buffer_free() local
257 struct dma_trace_buf *buffer = &d->dmatb; in dma_trace_buffer_init() local
428 struct dma_trace_buf *buffer, in dma_trace_get_avail_data()
436 struct dma_trace_buf *buffer, in dma_trace_get_avail_data()
532 struct dma_trace_buf *buffer = NULL; in dma_trace_flush() local
613 static int dtrace_calc_buf_overflow(struct dma_trace_buf *buffer, in dtrace_calc_buf_overflow()
640 struct dma_trace_buf *buffer = &trace_data->dmatb; in dtrace_add_event() local
715 struct dma_trace_buf *buffer = NULL; in dtrace_event() local
/sof-3.4.0/smex/
Dldc.c21 void *buffer = NULL; in fw_version_copy() local
79 void *buffer = NULL; in write_logs_dictionary() local
129 void *buffer = NULL; in write_uids_dictionary() local
/sof-3.4.0/src/audio/pipeline/
Dpipeline-graph.c168 static void buffer_set_comp(struct comp_buffer *buffer, struct comp_dev *comp, in buffer_set_comp()
185 int pipeline_connect(struct comp_dev *comp, struct comp_buffer *buffer, in pipeline_connect()
207 void pipeline_disconnect(struct comp_dev *comp, struct comp_buffer *buffer, int dir) in pipeline_disconnect()
405 struct comp_buffer *buffer = buffer_from_list(clist, dir); in pipeline_for_each_comp() local
467 struct comp_buffer *buffer; in pipeline_get_dai_comp() local
515 struct comp_buffer *buffer; in pipeline_get_dai_comp_latency() local
/sof-3.4.0/test/cmocka/src/audio/pipeline/
Dpipeline_connection_mocks.c71 struct comp_buffer *buffer = calloc(sizeof(struct comp_buffer), 1); in get_standard_connect_objects() local
/sof-3.4.0/src/debug/gdb/
Dgdb.c48 unsigned char *buffer = &remcom_in_buffer[0]; in get_packet() local
404 static void put_packet(unsigned char *buffer) in put_packet()
/sof-3.4.0/src/arch/xtensa/hal/
Ddisass.c86 char *buffer, /* where the result goes */ in xthal_disassemble()
/sof-3.4.0/src/include/sof/math/
Dfir_hifi3.h51 static inline void fir_comp_setup_circular(const struct audio_stream *buffer) in fir_comp_setup_circular()
/sof-3.4.0/src/ipc/ipc3/
Dhelper.c448 struct comp_buffer *buffer; in ipc_buffer_new() local
580 struct ipc_comp_dev *buffer) in ipc_comp_to_buffer_connect()
589 static int ipc_buffer_to_comp_connect(struct ipc_comp_dev *buffer, in ipc_buffer_to_comp_connect()
/sof-3.4.0/src/include/ipc/
Dtrace.h34 struct sof_ipc_host_buffer buffer; member
41 struct sof_ipc_host_buffer buffer; member
Dpm.h41 struct sof_ipc_host_buffer buffer; member
/sof-3.4.0/src/audio/module_adapter/
Dmodule_adapter.c350 struct comp_buffer *buffer = buffer_alloc(buff_size, SOF_MEM_CAPS_RAM, in module_adapter_prepare() local
367 struct comp_buffer *buffer = container_of(blist, struct comp_buffer, in module_adapter_prepare() local
391 struct comp_buffer *buffer = container_of(blist, struct comp_buffer, in module_adapter_prepare() local
577 struct comp_buffer *buffer; in module_adapter_process_output() local
1129 struct comp_buffer *buffer = container_of(blist, struct comp_buffer, in module_adapter_reset() local
1158 struct comp_buffer *buffer = container_of(blist, struct comp_buffer, in module_adapter_free() local
/sof-3.4.0/src/ipc/ipc4/
Dhelper.c228 struct comp_buffer *buffer; in ipc_pipeline_module_free() local
333 struct comp_buffer *buffer; in ipc_comp_connect() local
429 struct comp_buffer *buffer = NULL; in ipc_comp_disconnect() local
/sof-3.4.0/src/library_manager/
Dlib_manager.c389 static void lib_manager_dma_buffer_update(struct lib_manager_dma_buf *buffer, in lib_manager_dma_buffer_update()
399 static int lib_manager_dma_buffer_init(struct lib_manager_dma_buf *buffer, uint32_t size, in lib_manager_dma_buffer_init()
419 void lib_manager_dma_buffer_free(struct lib_manager_dma_buf *buffer) in lib_manager_dma_buffer_free()
/sof-3.4.0/src/include/sof/trace/
Ddma-trace.h77 static inline uint32_t dtrace_calc_buf_margin(struct dma_trace_buf *buffer) in dtrace_calc_buf_margin()
/sof-3.4.0/src/include/sof/audio/mfcc/
Dmfcc_comp.h125 static inline int mfcc_buffer_samples_without_wrap(struct mfcc_buffer *buffer, int16_t *ptr) in mfcc_buffer_samples_without_wrap()
130 static inline int16_t *mfcc_buffer_wrap(struct mfcc_buffer *buffer, int16_t *ptr) in mfcc_buffer_wrap()
/sof-3.4.0/tools/logger/
Dlogger.c96 char pinname[64], poutname[64], buffer[128]; in snapshot() local
/sof-3.4.0/src/probe/
Dprobe.c99 static int probe_dma_buffer_init(struct probe_dma_buf *buffer, uint32_t size, in probe_dma_buffer_init()
769 static void probe_logging_hook(uint8_t *buffer, size_t length) in probe_logging_hook()
807 struct comp_buffer __sparse_cache *buffer = cb_data->buffer; in probe_cb_produce() local

12