/sof-3.4.0/tools/topology/topology1/platform/intel/ |
D | intel-generic-dmic.m4 | 19 ifdef(`CHANNELS',`',`fatal_error(note: Need to define channel number for intel-generic-dmic 44 # Handle possible different channels count for PCM and DAI 45 ifdef(`DMIC_DAI_CHANNELS', `', `define(DMIC_DAI_CHANNELS, CHANNELS)') 46 ifdef(`DMIC_PCM_CHANNELS', `', `define(DMIC_PCM_CHANNELS, CHANNELS)') 47 ifdef(`DMIC16K_DAI_CHANNELS', `', `define(DMIC16K_DAI_CHANNELS, CHANNELS)') 48 ifdef(`DMIC16K_PCM_CHANNELS', `', `define(DMIC16K_PCM_CHANNELS, CHANNELS)') 55 ifelse(CHANNELS, 1, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0)))') 56 ifelse(CHANNELS, 2, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0), 58 ifelse(CHANNELS, 3, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0), 61 ifelse(CHANNELS, 4, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FLW, 1, 0), [all …]
|
D | intel-generic-dmic-kwd.m4 | 14 ifdef(`CHANNELS',`',`fatal_error(note: Need to define channel number for intel-generic-dmic-kwd 64 dnl pipe id, pcm, max channels, format, 69 # Passthrough capture pipeline using max channels defined by CHANNELS. 77 DMIC_PIPELINE_48k_ID, DMIC_PCM_48k_ID, CHANNELS, s32le, 88 # Passthrough capture pipeline 7 on PCM 7 using max 2 channels. 126 dnl pipe id, pcm, max channels, format, 153 ifelse(CHANNELS, 4,
|
/sof-3.4.0/src/drivers/intel/hda/ |
D | hda.c | 41 dai_info(dai, "hda_set_config(): channels %u rate %u", params->channels, in hda_set_config() 44 if (params->channels) in hda_set_config() 45 hda->params.channels = params->channels; in hda_set_config() 58 dai_info(dai, "hda_get_hw_params(): channels %u rate %u", hda->params.channels, in hda_get_hw_params() 62 params->channels = hda->params.channels; in hda_get_hw_params()
|
/sof-3.4.0/tools/tune/tdfb/ |
D | example_pass_config.m | 15 % Setup for two channels 17 bf.input_channel_select = [0 1]; % Input two channels 20 bf.num_output_channels = 2; % Two channels 34 % Setup for four channels 35 bf.input_channel_select = [0 1 2 3]; % Input two channels 38 bf.num_output_channels = 4; % Four channels
|
D | example_two_beams.m | 8 % beams are output to stereo and left right channels. 10 % The four channels version is for 28 mm mic spacing. The 11 % first beam is copied to channels 1 and 3. The second 12 % beam is copied to channels 2 and 4. 132 bf1.input_channel_select = [0 1]; % Input two channels 144 bf2.input_channel_select = [0 1]; % Input two channels 181 bf1.input_channel_select = [0 1 2 3]; % Input four channels 193 bf2.input_channel_select = [0 1 2 3]; % Input two channels 222 bf1.num_output_channels = 2; % Two channels 224 bf1.input_channel_select = 0:(n-1); % Input all n channels to filters [all …]
|
/sof-3.4.0/test/cmocka/src/ |
D | util.h | 17 uint16_t channels, in create_test_sink() argument 38 buffer->stream.channels = channels; in create_test_sink() 52 uint16_t channels, in create_test_source() argument 73 buffer->stream.channels = channels; in create_test_source()
|
/sof-3.4.0/test/cmocka/src/audio/volume/ |
D | volume_process.c | 39 static void set_volume(int32_t *vol, int32_t value, uint32_t channels) in set_volume() argument 43 for (i = 0; i < channels; i++) in set_volume() 75 set_volume(cd->volume, vol_parameters->volume, vol_state->parameters.channels); in setup() 119 int channels = sink->stream.channels; in verify_s16_to_s16() local 125 for (i = 0; i < sink->stream.size / sizeof(uint16_t); i += channels) { in verify_s16_to_s16() 126 for (channel = 0; channel < channels; channel++) { in verify_s16_to_s16() 171 int channels = sink->stream.channels; in verify_s24_to_s24_s32() local 177 for (i = 0; i < sink->stream.size / sizeof(uint32_t); i += channels) { in verify_s24_to_s24_s32() 178 for (channel = 0; channel < channels; channel++) { in verify_s24_to_s24_s32() 228 int channels = sink->stream.channels; in verify_s32_to_s24_s32() local [all …]
|
/sof-3.4.0/tools/test/audio/test_utils/ |
D | chirp_test_analyze.m | 37 %% Quick check length, RMS, offset, and channels sum 45 % and maximum of sum of channels. The input is such that the channels should 46 % sum to zero. A phase difference in channels would cause non-zero output 47 % for channels sum. Dithered input causes a small non-zero sum value. 60 fprintf('Failed output chirp channels phase.\n');
|
/sof-3.4.0/src/audio/selector/ |
D | selector.c | 11 * \brief output. In case 2 or 4 channels are selected on output the component 72 /* check whether params->channels (received from driver) are equal to in selector_verify_params() 83 cd->config.in_channels_count != params->channels) { in selector_verify_params() 84 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params() 92 * (it can vary), we set params->channels to sink buffer in selector_verify_params() 93 * channels, which were previously set in in selector_verify_params() 97 cd->config.out_channels_count : buffer_c->stream.channels; in selector_verify_params() 98 params->channels = out_channels; in selector_verify_params() 104 cd->config.out_channels_count != params->channels) { in selector_verify_params() 105 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params() [all …]
|
D | selector_generic.c | 47 const unsigned int nch = source->channels; in sel_s16le_1ch() 69 * \brief Channel selection for 16 bit, at least 2 channels data format. 119 const unsigned int nch = source->channels; in sel_s32le_1ch() 141 * \brief Channel selection for 32 bit, at least 2 channels data format. 176 * \param[in] dst_channels Number of sink channels. 178 * \param[in] src_channels Number of source channels. 219 int n_chan_source = MIN(SEL_SOURCE_CHANNELS_MAX, source->channels); in sel_s16le() 220 int n_chan_sink = MIN(SEL_SINK_CHANNELS_MAX, sink->channels); in sel_s16le() 231 src += source->channels; in sel_s16le() 232 dest += sink->channels; in sel_s16le() [all …]
|
/sof-3.4.0/src/platform/amd/rembrandt/lib/ |
D | dma.c | 35 .channels = 8, 48 .channels = 8, 61 .channels = 8, 75 .channels = 8, 88 .channels = 8, 104 .channels = 8,
|
/sof-3.4.0/src/drivers/intel/ |
D | alh.c | 44 if (config->alh.channels || config->alh.rate) { in alh_set_config_tplg() 45 alh->params.channels = config->alh.channels; in alh_set_config_tplg() 47 dai_info(dai, "alh_set_config() channels %d rate %d", in alh_set_config_tplg() 48 config->alh.channels, config->alh.rate); in alh_set_config_tplg() 74 alh->params.channels = popcount(alh_cfg->mapping[i].channel_mask); in alh_set_config_blob() 98 params->channels = alh->params.channels; in alh_get_hw_params()
|
/sof-3.4.0/src/audio/tdfb/ |
D | tdfb_generic.c | 69 const int in_nch = source->channels; in tdfb_fir_s16() 70 const int out_nch = sink->channels; in tdfb_fir_s16() 80 /* Read two frames from all input channels */ in tdfb_fir_s16() 115 const int in_nch = source->channels; in tdfb_fir_s24() 116 const int out_nch = sink->channels; in tdfb_fir_s24() 126 /* Read two frames from all input channels */ in tdfb_fir_s24() 161 const int in_nch = source->channels; in tdfb_fir_s32() 162 const int out_nch = sink->channels; in tdfb_fir_s32() 175 /* Read two frames from all input channels */ in tdfb_fir_s32()
|
D | tdfb_hifiep.c | 69 const int in_nch = source->channels; in tdfb_fir_s16() 70 const int out_nch = sink->channels; in tdfb_fir_s16() 80 /* Read two frames from all input channels */ in tdfb_fir_s16() 115 const int in_nch = source->channels; in tdfb_fir_s24() 116 const int out_nch = sink->channels; in tdfb_fir_s24() 126 /* Read two frames from all input channels */ in tdfb_fir_s24() 161 const int in_nch = source->channels; in tdfb_fir_s32() 162 const int out_nch = sink->channels; in tdfb_fir_s32() 175 /* Read two frames from all input channels */ in tdfb_fir_s32()
|
/sof-3.4.0/zephyr/lib/ |
D | dma.c | 32 .channels = 8, 46 .channels = 8, 58 .channels = DT_PROP(DT_NODELABEL(hda_host_in), dma_channels), 70 .channels = DT_PROP(DT_NODELABEL(hda_host_out), dma_channels), 82 .channels = DT_PROP(DT_NODELABEL(hda_link_in), dma_channels), 94 .channels = DT_PROP(DT_NODELABEL(hda_link_out), dma_channels),
|
/sof-3.4.0/test/cmocka/src/audio/selector/ |
D | selector_test.c | 117 uint32_t channels; member 278 uint32_t channels = source->channels; local 283 for (i = 0; i < sink->size / sizeof(uint16_t); i += channels) { 284 for (channel = 0; channel < channels; channel++) { 303 uint32_t channels = source->channels; local 308 for (i = 0; i < sink->size / sizeof(uint16_t); i += channels) { 309 for (channel = 0; channel < channels; channel++) { 379 uint32_t channels = source->channels; local 384 for (i = 0; i < sink->size / sizeof(uint32_t); i += channels) { 385 for (channel = 0; channel < channels; channel++) { [all …]
|
/sof-3.4.0/tools/test/audio/ |
D | sof_test_perf_config.m | 16 play.nch = 2; % Number of playback channels 17 play.ch = [1 2]; % Playback channels to test 27 rec.nch = 8; % Number audio capture channels 28 rec.ch = [1 2]; % Capture channels to measure
|
/sof-3.4.0/src/audio/google/ |
D | Kconfig | 36 int "Number of channels to process for Google Real Time Communication Audio processing" 39 Sets the number of channels to process in the Google real-time 44 int "Number of AEC reference channels for Google Real Time Communication Audio processing" 47 Sets the number AEC reference channels in the Google real-time
|
/sof-3.4.0/src/lib/ |
D | dma.c | 47 /* find DMAC with free channels that matches request */ in dma_get() 88 tr_err(&dma_tr, " DMAC ID %d users %d busy channels %ld", in dma_get() 102 /* Shared DMA controllers with multiple channels in dma_get() 119 tr_info(&dma_tr, "dma_get() ID %d sref = %d busy channels %ld", in dma_get() 147 /* allocate dma channels */ in dma_init() 149 sizeof(struct dma_chan_data) * dma->plat_data.channels); in dma_init() 152 tr_err(&dma_tr, "dma_probe_sof(): dma %d allocaction of channels failed", in dma_init() 158 for (i = 0, chan = dma->chan; i < dma->plat_data.channels; in dma_init() 180 /* find DMAC with free channels that matches request */ in dma_get() 197 if (d->sref >= d->plat_data.channels) in dma_get() [all …]
|
/sof-3.4.0/src/include/user/ |
D | eq.h | 27 * This describes the number of channels in this EQ config data. It 34 * E.g. {0, 0, 0, 0, 1, 1, 1, 1} would apply to channels 0-3 the 35 * same first defined response and for to channels 4-7 the second. 73 * This describes the number of channels in this EQ config data. It 83 * E.g. {0, 0, 0, 0, -1, -1, -1, -1} would apply to channels 0-3 the 84 * same first defined response and leave channels 4-7 unequalized. 114 int32_t data[]; /* eq_assign[channels], eq 0, eq 1, ... */
|
/sof-3.4.0/test/cmocka/src/audio/eq_fir/ |
D | eq_fir_process.c | 46 uint32_t channels; member 100 size = parameters->frames * get_frame_bytes(parameters->sink_format, parameters->channels) * in prepare_sink() 104 parameters->channels); in prepare_sink() 107 parameters->channels, size); in prepare_sink() 120 parameters->channels); in prepare_source() 123 parameters->channels) * parameters->buffer_size_mult; in prepare_source() 126 parameters->channels, size); in prepare_source() 171 mod->stream_params->channels = params->channels; in setup() 172 mod->period_bytes = get_frame_bytes(params->source_format, params->channels) * 48000 / 1000; in setup() 217 samples = frames * ss->channels; in fill_source_s16() [all …]
|
/sof-3.4.0/test/cmocka/src/audio/eq_iir/ |
D | eq_iir_process.c | 45 uint32_t channels; member 99 size = parameters->frames * get_frame_bytes(parameters->sink_format, parameters->channels) * in prepare_sink() 103 parameters->channels); in prepare_sink() 106 parameters->channels, size); in prepare_sink() 119 parameters->channels); in prepare_source() 122 parameters->channels) * parameters->buffer_size_mult; in prepare_source() 125 parameters->channels, size); in prepare_source() 170 mod->stream_params->channels = params->channels; in setup() 171 mod->period_bytes = get_frame_bytes(params->source_format, params->channels) * 48000 / 1000; in setup() 216 samples = frames * ss->channels; in fill_source_s16() [all …]
|
/sof-3.4.0/tools/topology/topology1/ |
D | sof-tgl-sdw-max98373-rt5682.m4 | 22 define(DMIC_PDM_CONFIG, ifelse(CHANNELS, `4', ``FOUR_CH_PDM0_PDM1'', 23 `ifelse(CHANNELS, `2', ``STEREO_PDM0'', `')')) 93 dnl pipe id, pcm, max channels, format, 98 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le. 105 # Low Latency capture pipeline 2 on PCM 1 using max 2 channels of s32le. 115 define(CHANNELS, `4') macro 133 # Low Latency playback pipeline 6 on PCM 5 using max 2 channels of s32le. 140 # Low Latency playback pipeline 7 on PCM 6 using max 2 channels of s32le. 147 # Low Latency playback pipeline 8 on PCM 7 using max 2 channels of s32le. 154 # Low Latency playback pipeline 9 on PCM 8 using max 2 channels of s32le.
|
D | sof-cml-demux-rt5682.m4 | 27 dnl copied to corresponding output channels in all output streams. 67 dnl pipe id, pcm, max channels, format, 72 # Demux pipeline 1 on PCM 0 using max 2 channels of s24le. 79 # Low Latency capture pipeline 2 on PCM 0 using max 2 channels of s24le. 86 # Passthrough capture pipeline 3 on PCM 1 using max 4 channels. 93 # Low Latency playback pipeline 4 on PCM 2 using max 2 channels of s32le. 100 # Low Latency playback pipeline 5 on PCM 3 using max 2 channels of s32le. 107 # Low Latency playback pipeline 6 on PCM 4 using max 2 channels of s32le. 137 # Capture pipeline 5 on PCM 5 using max 2 channels of s32le.
|
/sof-3.4.0/tools/tune/eq/ |
D | export_c_int32t.m | 74 channels = sx(2); variable 76 y = zeros(samples * channels, 1); 77 for i = 1:channels 78 y(i:channels:end) = x(:, i);
|