/sof-3.4.0/src/include/sof/trace/ |
D | trace.h | 95 #define trace_unused(class, ctx, id_1, id_2, format, ...) \ argument 108 #define _DECLARE_LOG_ENTRY(lvl, format, comp_class, n_params) \ argument 118 const char text[sizeof(format)]; \ 125 sizeof(format), \ 127 format \ 159 #define trace_event_with_ids(class, ctx, id_1, id_2, format, ...) \ argument 161 format, ##__VA_ARGS__) 163 #define trace_event_atomic_with_ids(class, ctx, id_1, id_2, format, ...) \ argument 165 format, ##__VA_ARGS__) 167 #define trace_warn_with_ids(class, ctx, id_1, id_2, format, ...) \ argument [all …]
|
/sof-3.4.0/src/audio/up_down_mixer/ |
D | up_down_mixer.c | 44 const struct ipc4_audio_format *format, in set_downmix_coefficients() argument 64 switch (format->ch_cfg) { in set_downmix_coefficients() 73 if (format->depth == IPC4_DEPTH_16BIT) in set_downmix_coefficients() 80 cd->downmix_coefficients = (format->depth == IPC4_DEPTH_16BIT) ? in set_downmix_coefficients() 84 cd->downmix_coefficients = (format->depth == IPC4_DEPTH_16BIT) ? in set_downmix_coefficients() 90 if (format->depth == IPC4_DEPTH_16BIT) { in set_downmix_coefficients() 113 const struct ipc4_audio_format *format) in select_mix_out_stereo() argument 115 if (format->depth == IPC4_DEPTH_16BIT) { in select_mix_out_stereo() 116 switch (format->ch_cfg) { in select_mix_out_stereo() 142 switch (format->ch_cfg) { in select_mix_out_stereo() [all …]
|
/sof-3.4.0/tools/sof_ri_info/ |
D | sof_ri_info.py | 490 return '\033[{}m'.format(color_code[color]) 512 out += '{:c}'.format(chararr[i]) 572 hdr.add_a(Astring('ver', '{}.{}'.format(reader.read_w(), reader.read_w()))) 598 hdr.add_a(Astring('ver', '{}.{}.{}'.format(major, minor, patch))) 645 reader.info('# of entries {}'.format(nb_entries)) 674 reader.info('... CSE Entry name {} file offset 0x{:x} length {}'.format(entry_name, 686 entry.name = '{} ({})'.format(entry_name, entry.name) 758 reader.info('Parsing CSS Manifest extensions, end at 0x{:x}'.format(size_limit)) 762 reader.info('Reading CSS extension type 0x{:x}:'.format(ext_type)) 987 out = '{:08x}'.format(self.read_dw()) [all …]
|
/sof-3.4.0/tools/logger/ |
D | misc.h | 11 char *log_vasprintf(const char *format, va_list args); 14 __attribute__((format(printf, 1, 2))) 16 char *log_asprintf(const char *format, ...); 19 __attribute__((format(printf, 1, 2)))
|
D | misc.c | 15 char *log_vasprintf(const char *format, va_list args) in log_vasprintf() argument 23 size = vsnprintf(localbuf, 1, format, args_copy); in log_vasprintf() 28 vsnprintf(result, size + 1, format, args); in log_vasprintf() 32 char *log_asprintf(const char *format, ...) in log_asprintf() argument 37 va_start(args, format); in log_asprintf() 38 result = log_vasprintf(format, args); in log_asprintf()
|
/sof-3.4.0/tools/coredumper/ |
D | sof-coredump-reader.py | 95 archs = ''.join("{0}, ".format(x) for x in VALID_ARCHS) 97 return "{0}.".format(archs) 106 "is_readable_file:{0} {1}".format( 126 "is_writeable_file:{0} {1}".format( 155 "architecture: {0} {1}".format( 170 "is invalid architecture. Valid architectures are: {0}".format(valid_archs_print()) 194 .format(valid_archs_print()), 259 .format(arch, valid_archs_print()) 265 .format(endianness, endiannesses) 278 return "{}:{:d}".format(self.filename.decode(), self.line_no) [all …]
|
/sof-3.4.0/tools/probes/ |
D | probes_demux.c | 84 bool is_audio_format(uint32_t format) in is_audio_format() argument 86 return (format & PROBE_MASK_FMT_TYPE) != 0 && (format & PROBE_MASK_AUDIO_FMT) == 0; in is_audio_format() 89 int init_wave(struct dma_frame_parser *p, uint32_t buffer_id, uint32_t format) in init_wave() argument 91 bool audio = is_audio_format(format); in init_wave() 117 p->files[i].fmt = format; in init_wave() 123 p->files[i].header.riff.format = HEADER_WAVE; in init_wave() 127 …p->files[i].header.fmt.num_channels = ((format & PROBE_MASK_NB_CHANNELS) >> PROBE_SHIFT_NB_CHANNEL… in init_wave() 128 …p->files[i].header.fmt.sample_rate = sample_rate[(format & PROBE_MASK_SAMPLE_RATE) >> PROBE_SHIFT_… in init_wave() 129 …p->files[i].header.fmt.bits_per_sample = (((format & PROBE_MASK_CONTAINER_SIZE) >> PROBE_SHIFT_CON… in init_wave() 155 offsetof(struct riff_chunk, format); in finalize_wave_files() [all …]
|
/sof-3.4.0/scripts/kconfig/ |
D | kconfiglib.py | 847 _re_match(r"# {}([^ ]+) is not set".format(self.config_prefix)) 1087 .format(filename)) 1097 "base".format(filename)) 1162 .format(val, TYPE_TO_STR[sym.orig_type], 1190 .format(_name_and_loc(sym)), 1205 .format(line), 1231 msg = '{} set more than once. Old value: "{}", new value: "{}".'.format( 1284 .format(self.config_prefix, sym.name, 1289 .format(self.config_prefix, sym.name, 1298 .format(self.config_prefix, sym.name, val)) [all …]
|
D | menuconfig.py | 546 .format(color_def, curses.COLORS - 1)) 874 .format(standard_config_filename()) 1480 s = _input_dialog("{} ({})".format( 1694 _msg("Success", "Loaded {}".format(filename)) 1709 .format(filename, e.strerror, errno.errorcode[e.errno])) 1730 filename = _input_dialog("Filename to save {} to".format(description), 1739 _msg("Success", "{} saved to {}".format(description, filename)) 1757 .format(description, e.filename, e.strerror, 2150 node_str += ' "{}"'.format(node.prompt[0]) 2152 node_str = 'menu "{}"'.format(node.prompt[0]) [all …]
|
/sof-3.4.0/tools/topology/topology1/platform/common/ |
D | acp-hs.m4 | 20 dnl ACP_CONFIG(format, mclk, bclk, fsync, tdm, hs_config_data) 22 ` format "'$1`"' 31 dnl ACPHS_VIRTUAL_CONFIG(format, mclk, bclk, fsync, tdm, hs_config_data) 33 ` format "'$1`"'
|
D | acp-sp.m4 | 20 dnl ACP_CONFIG(format, mclk, bclk, fsync, tdm, esai_config_data) 22 ` format "'$1`"' 31 dnl ACPSP_VIRTUAL_CONFIG(format, mclk, bclk, fsync, tdm, esai_config_data) 33 ` format "'$1`"'
|
/sof-3.4.0/src/drivers/mediatek/afe/ |
D | afe-dai.c | 56 unsigned int channel, rate, format; in afe_dai_drv_get_hw_params() local 58 ret = afe_dai_get_config(afe, dai->index, &channel, &rate, &format); in afe_dai_drv_get_hw_params() 64 params->buffer_fmt = format; in afe_dai_drv_get_hw_params() 65 params->frame_fmt = format; in afe_dai_drv_get_hw_params()
|
D | afe-drv.c | 26 #define printf(format, ...) argument 104 static int afe_memif_set_format(struct mtk_base_afe *afe, int id, unsigned int format) in afe_memif_set_format() argument 111 switch (format) { in afe_memif_set_format() 123 tr_err(&afedrv_tr, "not support format:%u\n", format); in afe_memif_set_format() 133 unsigned int format) in afe_memif_set_params() argument 143 ret = afe_memif_set_format(afe, id, format); in afe_memif_set_params() 244 unsigned int format) in afe_dai_set_config() argument 258 dai->format = format; in afe_dai_set_config() 261 tr_info(&afedrv_tr, "dai:%d set: format:%d, rate:%d, channel:%d\n", id, format, rate, in afe_dai_set_config() 268 unsigned int *format) in afe_dai_get_config() argument [all …]
|
/sof-3.4.0/tools/topology/topology2/platform/intel/ |
D | bt-ssp-config-lbm.conf | 18 format "DSP_A" 36 format "DSP_A" 53 format "DSP_A"
|
D | bt-ssp-config.conf | 17 format "DSP_A" 35 format "DSP_A" 52 format "DSP_A"
|
/sof-3.4.0/zephyr/include/sof/trace/ |
D | trace.h | 35 #define mtrace_printf(level, format, ...) \ argument 38 printk("%llu: " format "\n", sof_cycle_get_64(), \
|
/sof-3.4.0/tools/test/topology/ |
D | tplg-build.sh | 190 for format in ${APL_FORMAT_TESTS[@]} 194 …simple_test nocodec $mode "NoCodec-${ssp}" $format SSP $ssp s16le 16 16 1536000 24576000 $protocol… 195 …simple_test nocodec $mode "NoCodec-${ssp}" $format SSP $ssp s24le 32 24 3072000 24576000 $protocol… 196 …simple_test nocodec $mode "NoCodec-${ssp}" $format SSP $ssp s32le 32 32 3072000 24576000 $protocol… 198 …simple_test codec $mode "SSP${ssp}-Codec" $format SSP $ssp s16le 16 16 1536000 24576000 $protocol … 199 …simple_test codec $mode "SSP${ssp}-Codec" $format SSP $ssp s24le 32 24 3072000 24576000 $protocol … 200 …simple_test codec $mode "SSP${ssp}-Codec" $format SSP $ssp s32le 32 32 3072000 24576000 $protocol … 223 for format in ${APL_FORMAT_TESTS[@]} 225 …simple_test nocodec $mode "NoCodec-${ssp}" $format SSP $ssp s16le 20 16 1920000 19200000 $protocol… 226 …simple_test nocodec $mode "NoCodec-${ssp}" $format SSP $ssp s24le 25 24 2400000 19200000 $protocol… [all …]
|
/sof-3.4.0/src/include/sof/drivers/ |
D | afe-drv.h | 87 unsigned int format; member 151 unsigned int *format); 153 unsigned int format); 157 unsigned int format);
|
/sof-3.4.0/src/logging/ |
D | Kconfig | 22 Set output format of the SOF probe logging backend to 29 int "Set logging output format" 34 Set the logging format for SOF probe output.
|
/sof-3.4.0/tools/topology/topology1/ |
D | sof-ehl-rt5660.m4 | 39 dnl pipe id, pcm, max channels, format, 111 dnl buffer, periods, format, 115 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 122 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 129 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 136 # Buffers use s16le format, with 16 frame per 1000us on core 0 with priority 0 144 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 151 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 158 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 165 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0
|
D | sof-imx8-wm8960-cs42888.m4 | 30 dnl pipe id, pcm, max channels, format, 68 dnl buffer, periods, format, 72 # Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0 79 # Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0 86 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 93 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0
|
D | sof-mt8188-mt6359.m4 | 32 dnl pipe id, pcm, max channels, format, 71 dnl buffer, periods, format, 76 # Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0 83 # Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0 90 # Buffers use s16le format, with 48 frame per 2000us on core 0 with priority 0 97 # Buffers use s16le format, with 48 frame per 2000us on core 0 with priority 0
|
D | sof-cml-rt5682-kwd.m4 | 49 dnl pipe id, pcm, max channels, format, 108 dnl buffer, periods, format, 112 # Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0 119 # Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0 126 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 133 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 140 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 147 # Buffers use s32le format, with 48 frame per 1000us on core 0 with priority 0 165 # Buffers use s32le format, with 320 frame per 20000us on core 0 with priority 0 181 dnl pipe id, pcm, max channels, format,
|
/sof-3.4.0/test/cmocka/src/audio/mux/ |
D | demux_copy.c | 30 uint32_t format; member 130 td->sinks[i] = create_test_sink(td->dev, i, td->format, PLATFORM_MAX_CHANNELS, in prepare_sinks() 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() 147 else if (td->format == SOF_IPC_FRAME_S24_4LE) in prepare_source() 162 size_t sample_size = td->format == SOF_IPC_FRAME_S16_LE ? sizeof(int16_t) : sizeof(int32_t); in setup_test_case() 294 td->format = valid_formats[i]; in main() 299 switch (td->format) { in main()
|
D | mux_copy.c | 30 uint32_t format; member 146 td->sink = create_test_sink(td->dev, MUX_MAX_STREAMS + 1, td->format, PLATFORM_MAX_CHANNELS, in prepare_sink() 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() 165 else if (td->format == SOF_IPC_FRAME_S24_4LE) in prepare_sources() 184 size_t sample_size = td->format == SOF_IPC_FRAME_S16_LE ? sizeof(int16_t) : sizeof(int32_t); in setup_test_case() 312 td->format = valid_formats[i]; in main() 317 switch (td->format) { in main()
|