/sof-3.4.0/test/cmocka/src/audio/mux/ |
D | demux_copy.c | 92 static struct sof_ipc_comp_process *create_demux_comp_ipc(struct test_data *td) in create_demux_comp_ipc() argument 118 mux->streams[i].mask[j] = td->mask[i][j]; in create_demux_comp_ipc() 124 static void prepare_sinks(struct test_data *td, size_t sample_size) in prepare_sinks() argument 130 td->sinks[i] = create_test_sink(td->dev, i, td->format, PLATFORM_MAX_CHANNELS, in prepare_sinks() 133 td->outputs[i] = td->sinks[i]->stream.addr; in prepare_sinks() 134 assert_int_equal(audio_stream_get_free_bytes(&td->sinks[i]->stream), buffer_size); in prepare_sinks() 138 static void prepare_source(struct test_data *td, size_t sample_size) in prepare_source() argument 142 td->source = create_test_source(td->dev, MUX_MAX_STREAMS + 1, td->format, in prepare_source() 145 if (td->format == SOF_IPC_FRAME_S16_LE) in prepare_source() 146 memcpy_s(td->source->stream.addr, buffer_size, input_16b, buffer_size); in prepare_source() [all …]
|
D | mux_copy.c | 110 static struct sof_ipc_comp_process *create_mux_comp_ipc(struct test_data *td) in create_mux_comp_ipc() argument 136 mux->streams[i].mask[j] = td->mask[i][j]; in create_mux_comp_ipc() 142 static void prepare_sink(struct test_data *td, size_t sample_size) in prepare_sink() argument 146 td->sink = create_test_sink(td->dev, MUX_MAX_STREAMS + 1, td->format, PLATFORM_MAX_CHANNELS, in prepare_sink() 148 td->output = td->sink->stream.addr; in prepare_sink() 150 assert_int_equal(audio_stream_get_free_bytes(&td->sink->stream), buffer_size); in prepare_sink() 153 static void prepare_sources(struct test_data *td, size_t sample_size) in prepare_sources() argument 159 td->sources[i] = create_test_source(td->dev, i, td->format, PLATFORM_MAX_CHANNELS, in prepare_sources() 162 if (td->format == SOF_IPC_FRAME_S16_LE) in prepare_sources() 163 memcpy_s(td->sources[i]->stream.addr, buffer_size, &input_16b[i], in prepare_sources() [all …]
|
D | mux_get_processing_function.c | 36 static struct sof_ipc_comp_process *create_mux_comp_ipc(struct test_data *td) in create_mux_comp_ipc() argument 71 struct test_data *td; in setup_test_case() local 76 td = test_malloc(sizeof(*td)); in setup_test_case() 77 if (!td) in setup_test_case() 80 ipc = create_mux_comp_ipc(td); in setup_test_case() 87 td->dev = dev; in setup_test_case() 88 td->mod = mod; in setup_test_case() 89 td->cd = module_get_private_data(mod); in setup_test_case() 90 td->sink = create_test_sink(dev, 0, 0, 0, 4); in setup_test_case() 92 *state = td; in setup_test_case() [all …]
|
/sof-3.4.0/test/cmocka/src/audio/eq_fir/ |
D | eq_fir_process.c | 69 static struct sof_ipc_comp_process *create_eq_fir_comp_ipc(struct test_data *td) in create_eq_fir_comp_ipc() argument 92 static void prepare_sink(struct test_data *td, struct processing_module *mod) in prepare_sink() argument 94 struct test_parameters *parameters = td->params; in prepare_sink() 106 td->sink = create_test_sink(td->dev, 0, parameters->sink_format, in prepare_sink() 108 free = audio_stream_get_free_bytes(&td->sink->stream); in prepare_sink() 112 static void prepare_source(struct test_data *td, struct processing_module *mod) in prepare_source() argument 114 struct test_parameters *parameters = td->params; in prepare_source() 125 td->source = create_test_source(td->dev, 0, parameters->source_format, in prepare_source() 127 free = audio_stream_get_free_bytes(&td->source->stream); in prepare_source() 135 struct test_data *td; in setup() local [all …]
|
/sof-3.4.0/test/cmocka/src/audio/eq_iir/ |
D | eq_iir_process.c | 68 static struct sof_ipc_comp_process *create_eq_iir_comp_ipc(struct test_data *td) in create_eq_iir_comp_ipc() argument 91 static void prepare_sink(struct test_data *td, struct processing_module *mod) in prepare_sink() argument 93 struct test_parameters *parameters = td->params; in prepare_sink() 105 td->sink = create_test_sink(td->dev, 0, parameters->sink_format, in prepare_sink() 107 free = audio_stream_get_free_bytes(&td->sink->stream); in prepare_sink() 111 static void prepare_source(struct test_data *td, struct processing_module *mod) in prepare_source() argument 113 struct test_parameters *parameters = td->params; in prepare_source() 124 td->source = create_test_source(td->dev, 0, parameters->source_format, in prepare_source() 126 free = audio_stream_get_free_bytes(&td->source->stream); in prepare_source() 134 struct test_data *td; in setup() local [all …]
|
/sof-3.4.0/src/arch/xtensa/schedule/ |
D | task.c | 56 return ctx->td.xtos_active_task; in task_context_get() 63 ctx->td.xtos_active_task = task_ctx; in task_context_set()
|
/sof-3.4.0/src/arch/xtensa/xtos/ |
D | xtos-structs.h | 53 struct thread_data td; member
|
/sof-3.4.0/src/arch/xtensa/ |
D | init.c | 67 primary_core_data.thread_data_ptr = &primary_core_ctx.td; in initialize_pointers_per_core()
|
/sof-3.4.0/src/arch/xtensa/lib/ |
D | cpu.c | 148 core_data_ptr[core]->thread_data_ptr = &core_ctx->td; in cpu_alloc_core_context()
|
/sof-3.4.0/src/audio/ |
D | tone.c | 417 struct tone_data *td = comp_get_drvdata(dev); in tone_free() local 421 rfree(td); in tone_free()
|
/sof-3.4.0/tools/tune/tdfb/ |
D | bf_design.m | 491 td = zeros(test_n * nt, bf.mic_n); variable 503 td(i1:i2, j) = m; 506 myaudiowrite(fn, td, bf.fs);
|